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:
parent
f5c0684463
commit
16c7318aee
1 changed files with 2 additions and 2 deletions
|
|
@ -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_
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue