fixedShearStressFvPatchVectorField: Corrected patch nuEff access

Resolves bug-report http://openfoam.org/mantisbt/view.php?id=2020
This commit is contained in:
Henry Weller
2016-03-08 14:14:39 +00:00
parent e5045949f6
commit 21f5499da9

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -109,7 +109,7 @@ void Foam::fixedShearStressFvPatchVectorField::updateCoeffs()
)
);
scalarField nuEff(turbModel.nuEff()()[patch().index()]);
scalarField nuEff(turbModel.nuEff(patch().index()));
const vectorField Uc(patchInternalField());