Skip to content
Snippets Groups Projects
Commit f5e88d6e authored by Henry Weller's avatar Henry Weller
Browse files

LES::dynamicLagrangian: Corrected access to the volumetric flux for compressible flow

Resolves bug-report https://bugs.openfoam.org/view.php?id=2489
parent 14da5d4e
Branches
Tags
No related merge requests found
......@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
......@@ -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_));
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment