Info<< "Reading thermophysical properties\n" << endl;
autoPtr<basicPsiThermo> pThermo
(
basicPsiThermo::New(mesh)
);
basicPsiThermo& thermo = pThermo();
volScalarField& p = thermo.p();
volScalarField& e = thermo.e();
const volScalarField& T = thermo.T();
const volScalarField& psi = thermo.psi();
const volScalarField& mu = thermo.mu();
bool inviscid(true);
if (max(mu.internalField()) > 0.0)
{
inviscid = false;
}
Info<< "Reading field U\n" << endl;
volVectorField U
IOobject
"U",
runTime.timeName(),
mesh,
IOobject::MUST_READ,
IOobject::AUTO_WRITE
),
mesh
#include "rhoBoundaryTypes.H"
volScalarField rho
"rho",
IOobject::NO_READ,
thermo.rho(),
rhoBoundaryTypes
volVectorField rhoU
"rhoU",
IOobject::NO_WRITE
rho*U
volScalarField rhoE
"rhoE",
rho*(e + 0.5*magSqr(U))
surfaceScalarField pos
"pos",
dimensionedScalar("pos", dimless, 1.0)
surfaceScalarField neg
"neg",
dimensionedScalar("neg", dimless, -1.0)