fanPressureFvPatchScalarField: Corrected dictionary constructor
This commit is contained in:
parent
a6330ebb4c
commit
d44d22841e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user