Permalink
Browse files

fanPressureFvPatchScalarField: Corrected restart construction

  • Loading branch information...
1 parent e945557 commit fea8ad42a057eda513631ab32ece8873aa387824 Henry committed Aug 6, 2011
View
5 src/finiteVolume/fields/fvPatchFields/derived/fanPressure/fanPressureFvPatchScalarField.C
@@ -89,10 +89,7 @@ Foam::fanPressureFvPatchScalarField::fanPressureFvPatchScalarField
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

0 comments on commit fea8ad4

Please sign in to comment.