Commit d44d2284 authored by Henry's avatar Henry
Browse files

fanPressureFvPatchScalarField: Corrected dictionary constructor

parent a6330ebb
......@@ -86,13 +86,10 @@ Foam::fanPressureFvPatchScalarField::fanPressureFvPatchScalarField
const dictionary& dict
)
:
totalPressureFvPatchScalarField(p, iF),
totalPressureFvPatchScalarField(p, iF, dict),
fanCurve_(dict),
direction_(fanFlowDirectionNames_.read(dict.lookup("direction")))
{
// Assign initial pressure by "value"
fvPatchField<scalar>::operator==(scalarField("value", dict, p.size()));
}
{}
Foam::fanPressureFvPatchScalarField::fanPressureFvPatchScalarField
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment