From ba4c8ba8f794a683afc23fac115b0f332e9357ef Mon Sep 17 00:00:00 2001 From: Henry Date: Tue, 17 Feb 2015 23:59:21 +0000 Subject: [PATCH] outletInletFvPatchField: store Field rather than fvsPatchField for phip Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1539 --- .../derived/outletInlet/outletInletFvPatchField.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/finiteVolume/fields/fvPatchFields/derived/outletInlet/outletInletFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/derived/outletInlet/outletInletFvPatchField.C index 3ebe9f8ebd..d6f69f823a 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/outletInlet/outletInletFvPatchField.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/outletInlet/outletInletFvPatchField.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -120,7 +120,7 @@ void Foam::outletInletFvPatchField::updateCoeffs() return; } - const fvsPatchField& phip = + const Field& phip = this->patch().template lookupPatchField ( phiName_