Loading...
Searching...
No Matches
createFields.H File Reference
Include dependency graph for createFields.H:

Go to the source code of this file.

Functions

Info<< "Reading thermophysical properties\n"<< endl;autoPtr< fluidThermo > pThermo (fluidThermo::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);pressureControl pressureControl(p, rho, pimple.dict(), false);const dimensionedScalar rhoMax("rhoMax", dimDensity, GREAT, pimple.dict());const dimensionedScalar rhoMin("rhoMin", dimDensity, Zero, pimple.dict());mesh.setFluxRequired(p.name());{ wordHashSet &nonInt=const_cast< wordHashSet & > (Stencil::New(mesh).nonInterpolatedFields())
nonInt insert ("HbyA")
nonInt insert ("grad(p)")
nonInt insert ("surfaceIntegrate(phi)")
nonInt insert ("surfaceIntegrate(phiHbyA)")
nonInt insert ("cellMask")
nonInt insert ("cellDisplacement")
nonInt insert ("interpolatedCells")
nonInt insert ("cellInterpolationWeight")
Info<< "Creating turbulence model\n"<< endl;autoPtr< compressible::turbulenceModel > turbulence (compressible::turbulenceModel::New(rho, U, phi, thermo))

Variables

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

Function Documentation

◆ pThermo()

Info<< "Reading thermophysical properties\n"<< endl;autoPtr< fluidThermo > pThermo ( fluidThermo::New(mesh) )

References mesh.

◆ validate()

thermo validate ( args. executable(),
"h" ,
"e"  )

References args.

◆ rho()

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);pressureControl pressureControl(p, rho, pimple.dict(), false);const dimensionedScalar rhoMax("rhoMax", dimDensity, GREAT, pimple.dict());const dimensionedScalar rhoMin("rhoMin", dimDensity, Zero, pimple.dict());mesh.setFluxRequired(p.name());{ wordHashSet &nonInt=const_cast< wordHashSet & >()

Info<< "Reading field U\n"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);pressureControl pressureControl(p, rho, pimple.dict(), false);const dimensionedScalar rhoMax("rhoMax", dimDensity, GREAT, pimple.dict());const dimensionedScalar rhoMin("rhoMin", dimDensity, Zero, pimple.dict());mesh.setFluxRequired(p.name());{ wordHashSet &nonInt=const_cast< wordHashSet & > ( Stencil::New(mesh).nonInterpolatedFields() )

References mesh, p, pimple, pressureControl, rho, and runTime.

◆ insert() [1/8]

nonInt insert ( "HbyA" )

◆ insert() [2/8]

nonInt insert ( "grad(p)" )

◆ insert() [3/8]

nonInt insert ( "surfaceIntegrate(phi)" )

◆ insert() [4/8]

nonInt insert ( "surfaceIntegrate(phiHbyA)" )

◆ insert() [5/8]

nonInt insert ( "cellMask" )

◆ insert() [6/8]

nonInt insert ( "cellDisplacement" )

◆ insert() [7/8]

nonInt insert ( "interpolatedCells" )

◆ insert() [8/8]

nonInt insert ( "cellInterpolationWeight" )

◆ turbulence()

Info<< "Creating turbulence model\n"<< endl;autoPtr< compressible::turbulenceModel > turbulence ( compressible::turbulenceModel::New(rho, U, phi, thermo) )

References phi, rho, and U.

Variable Documentation

◆ thermo

fluidThermo& thermo = pThermo()

Definition at line 7 of file createFields.H.

◆ p

volScalarField& p = thermo.p()

Definition at line 10 of file createFields.H.

◆ psi

const volScalarField& psi = thermo.psi()

Definition at line 11 of file createFields.H.