createFields.H File Reference
Include dependency graph for createFields.H:
This graph shows which files directly or indirectly include this file:

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.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), thermo.renameRho())
 
Info<< "Reading field U\n"<< endl;volVectorField U(IOobject("U", runTime.name(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);pressureReference pressureReference(p, simple.dict(), thermo.incompressible());mesh.schemes().setFluxRequired(p.name());Info<< "Creating turbulence model\n"<< endl;autoPtr< compressible::momentumTransportModel > turbulence (compressible::momentumTransportModel::New(rho, U, phi, thermo))
 
Info<< "Creating thermophysical transport model\n"<< endl;autoPtr< fluidThermoThermophysicalTransportModel > thermophysicalTransport (fluidThermoThermophysicalTransportModel::New(turbulence(), thermo))
 

Variables

fluidThermo & thermo = pThermo()
 
volScalarField & p = thermo.p()
 
dimensionedScalar initialMass = fvc::domainIntegrate(rho)
 

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.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE)  ,
thermo.  renameRho() 
)

◆ turbulence()

Info<< "Reading field U\n" << endl;volVectorField U( IOobject ( "U", runTime.name(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh);pressureReference pressureReference( p, simple.dict(), thermo.incompressible());mesh.schemes().setFluxRequired(p.name());Info<< "Creating turbulence model\n" << endl;autoPtr<compressible::momentumTransportModel> turbulence ( compressible::momentumTransportModel::New(rho, U, phi, thermo )

◆ thermophysicalTransport()

Info<< "Creating thermophysical transport model\n" << endl;autoPtr<fluidThermoThermophysicalTransportModel> thermophysicalTransport ( fluidThermoThermophysicalTransportModel::New(turbulence(), thermo )

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.

◆ initialMass

dimensionedScalar initialMass = fvc::domainIntegrate(rho)

Definition at line 68 of file createFields.H.

Referenced by if().