outletInletFvPatchField: store Field<scalar> rather than fvsPatchField<scalar> for phip

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1539
This commit is contained in:
Henry
2015-02-17 23:59:21 +00:00
parent 76195712b4
commit ba4c8ba8f7

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -120,7 +120,7 @@ void Foam::outletInletFvPatchField<Type>::updateCoeffs()
return; return;
} }
const fvsPatchField<scalar>& phip = const Field<scalar>& phip =
this->patch().template lookupPatchField<surfaceScalarField, scalar> this->patch().template lookupPatchField<surfaceScalarField, scalar>
( (
phiName_ phiName_