openfoam/applications/solvers/compressible/rhoCentralFoam/createFieldRefs.H
2016-05-09 15:16:22 +01:00

11 lines
236 B
C

volScalarField& p = thermo.p();
const volScalarField& T = thermo.T();
const volScalarField& psi = thermo.psi();
const volScalarField& mu = thermo.mu();
bool inviscid(true);
if (max(mu.primitiveField()) > 0.0)
{
inviscid = false;
}