fanPressureFvPatchScalarField: Corrected dictionary constructor

This commit is contained in:
Henry 2011-08-06 21:33:03 +01:00
parent a6330ebb4c
commit d44d22841e

View File

@ -86,13 +86,10 @@ Foam::fanPressureFvPatchScalarField::fanPressureFvPatchScalarField
const dictionary& dict const dictionary& dict
) )
: :
totalPressureFvPatchScalarField(p, iF), totalPressureFvPatchScalarField(p, iF, dict),
fanCurve_(dict), fanCurve_(dict),
direction_(fanFlowDirectionNames_.read(dict.lookup("direction"))) direction_(fanFlowDirectionNames_.read(dict.lookup("direction")))
{ {}
// Assign initial pressure by "value"
fvPatchField<scalar>::operator==(scalarField("value", dict, p.size()));
}
Foam::fanPressureFvPatchScalarField::fanPressureFvPatchScalarField Foam::fanPressureFvPatchScalarField::fanPressureFvPatchScalarField