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);Info<< "Calculating face flux field phi\n"<< endl;surfaceScalarField phi(IOobject("phi", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), linearInterpolate(rho) *linearInterpolate(U) &mesh.Sf());Info<< "Calculating face flux field phiByRho\n"<< endl;surfaceScalarField phiByRho(IOobject("phiByRho", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), phi/linearInterpolate(rho));Info<< "Creating turbulence model\n"<< endl;autoPtr< compressible::turbulenceModel > turbulence (compressible::turbulenceModel::New(rho, U, phi, thermo))
 
mesh setFluxRequired (p.name())
 

Variables

fluidThermo & thermo = pThermo()
 
volScalarField & p = thermo.p()
 
volScalarField & T = thermo.T()
 

Function Documentation

◆ pThermo()

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

◆ validate()

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

◆ rho()

volScalarField rho ( IOobject("rho", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE)  ,
thermo.  rho() 
)

◆ turbulence()

Info<< "Reading field U\n"<< endl;volVectorField U( IOobject( "U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Calculating face flux field phi\n"<< endl;surfaceScalarField phi( IOobject( "phi", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), linearInterpolate(rho) *linearInterpolate(U) &mesh.Sf());Info<< "Calculating face flux field phiByRho\n"<< endl;surfaceScalarField phiByRho( IOobject( "phiByRho", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), phi/linearInterpolate(rho));Info<< "Creating turbulence model\n"<< endl;autoPtr< compressible::turbulenceModel > turbulence ( compressible::turbulenceModel::New(rho, U, phi, thermo )

◆ setFluxRequired()

mesh setFluxRequired ( p.  name())

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.

◆ T

volScalarField& T = thermo.T()

Definition at line 11 of file createFields.H.