LES::dynamicLagrangian: Corrected access to the volumetric flux for compressible flow
Resolves bug-report https://bugs.openfoam.org/view.php?id=2489
This commit is contained in:
parent
ca7db4558d
commit
fc009a4fa2
1 changed files with 4 additions and 3 deletions
|
|
@ -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-2017 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
|
|
@ -33,7 +33,7 @@ namespace Foam
|
|||
namespace LESModels
|
||||
{
|
||||
|
||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
||||
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||
|
||||
template<class BasicTurbulenceModel>
|
||||
void dynamicLagrangian<BasicTurbulenceModel>::correctNut
|
||||
|
|
@ -159,7 +159,8 @@ void dynamicLagrangian<BasicTurbulenceModel>::correct()
|
|||
}
|
||||
|
||||
// Local references
|
||||
const surfaceScalarField& phi = this->phi_;
|
||||
tmp<surfaceScalarField> tphi = this->phi();
|
||||
const surfaceScalarField& phi = tphi();
|
||||
const volVectorField& U = this->U_;
|
||||
fv::options& fvOptions(fv::options::New(this->mesh_));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue