Functions | Variables
createFields.H File Reference
Include dependency graph for createFields.H:

Go to the source code of this file.


Info<< "Reading thermophysical properties\n"<< endl;autoPtr< psiThermo > pThermo (psiThermo::New(mesh))
thermo validate (args.executable(),"h","e")
volScalarField rho (IOobject( "rho", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE ), thermo.rho())
Info<< "Reading field U\n"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);dimensionedScalar rhoMax(dimensionedScalar::lookupOrDefault("rhoMax", pimple.dict(), dimDensity, GREAT));dimensionedScalar rhoMin(dimensionedScalar::lookupOrDefault("rhoMin", pimple.dict(), dimDensity, 0));Info<< "Creating turbulence model\n"<< endl;autoPtr< compressible::turbulenceModel > turbulence (compressible::turbulenceModel::New( rho, U, phi, thermo ))
mesh setFluxRequired (


psiThermo & thermo = pThermo()
volScalarField & p = thermo.p()
const volScalarField & psi = thermo.psi()

Function Documentation

Info<< "Reading thermophysical properties\n" << endl;autoPtr<psiThermo> pThermo ( psiThermo::New(mesh )
thermo validate ( args.  executable(),
"h"  ,
volScalarField rho ( IOobject( "rho", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE )  ,
thermo.  rho() 
Info<< "Reading field U\n" << endl;volVectorField U( IOobject ( "U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh);dimensionedScalar rhoMax( dimensionedScalar::lookupOrDefault ( "rhoMax", pimple.dict(), dimDensity, GREAT ));dimensionedScalar rhoMin( dimensionedScalar::lookupOrDefault ( "rhoMin", pimple.dict(), dimDensity, 0 ));Info<< "Creating turbulence model\n" << endl;autoPtr<compressible::turbulenceModel> turbulence ( compressible::turbulenceModel::New( rho, U, phi, thermo )
mesh setFluxRequired ( p.  name())

Variable Documentation

psiThermo& thermo = pThermo()

Definition at line 7 of file createFields.H.

volScalarField& p = thermo.p()

Definition at line 10 of file createFields.H.

const volScalarField& psi = thermo.psi()

Definition at line 11 of file createFields.H.