createFields.H File Reference
Include dependency graph for createFields.H:

Go to the source code of this file.

Functions

Info<< "Reading thermophysical properties\"<< endl;autoPtr< rhoReactionThermo > pThermo (rhoReactionThermo::New(mesh))
 
thermo validate (args.executable(), "h", "e")
 
SLGThermo slgThermo (mesh, thermo)
 
const word inertSpecie (thermo.lookup("inertSpecie"))
 
 if (!composition.species().found(inertSpecie))
 
volScalarField rho (IOobject("rho", runTime.timeName(), mesh), thermo.rho())
 
Info<< "\Reading field U\"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);mesh.setFluxRequired(p.name());dimensionedScalar rhoMax(dimensionedScalar::lookupOrDefault("rhoMax", simple.dict(), dimDensity, great));dimensionedScalar rhoMin(dimensionedScalar::lookupOrDefault("rhoMin", simple.dict(), dimDensity, 0));Info<< "Creating turbulence model\"<< endl;autoPtr< compressible::momentumTransportModel > turbulence (compressible::momentumTransportModel::New(rho, U, phi, thermo))
 
Info<< "Creating thermophysical transport model\"<< endl;autoPtr< rhoReactionThermophysicalTransportModel > thermophysicalTransport (rhoReactionThermophysicalTransportModel::New(turbulence(), thermo))
 
Info<< "Creating combustion model\"<< endl;autoPtr< CombustionModel< rhoReactionThermo > > combustion (CombustionModel< rhoReactionThermo >::New(thermo, turbulence()))
 
 forAll (Y, i)
 
fields add (thermo.he())
 

Variables

rhoReactionThermo & thermo = pThermo()
 
basicSpecieMixture & composition = thermo.composition()
 
PtrList< volScalarField > & Y = composition.Y()
 
volScalarField & p = thermo.p()
 
Info<< "Creating multi-variate interpolation scheme\"<< endl;multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
 

Function Documentation

◆ pThermo()

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

◆ validate()

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

◆ slgThermo()

SLGThermo slgThermo ( mesh  ,
thermo   
)

◆ inertSpecie()

const word inertSpecie ( thermo.  lookup"inertSpecie")

◆ if()

if ( !composition.  species).found(inertSpecie)

Definition at line 14 of file createFields.H.

References args, argList::executable(), Foam::exit(), Foam::FatalIOError, FatalIOErrorIn, inertSpecie(), and thermo.

Here is the call graph for this function:

◆ rho()

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

◆ turbulence()

Info<< "\nReading field U\n" << endl;volVectorField U( IOobject ( "U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh);mesh.setFluxRequired(p.name());dimensionedScalar rhoMax( dimensionedScalar::lookupOrDefault ( "rhoMax", simple.dict(), dimDensity, great ));dimensionedScalar rhoMin( dimensionedScalar::lookupOrDefault ( "rhoMin", simple.dict(), dimDensity, 0 ));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<rhoReactionThermophysicalTransportModel> thermophysicalTransport ( rhoReactionThermophysicalTransportModel::New(turbulence(), thermo )

◆ combustion()

Info<< "Creating combustion model\n" << endl;autoPtr<CombustionModel<rhoReactionThermo> > combustion ( CombustionModel< rhoReactionThermo >  ::Newthermo, turbulence())

◆ forAll()

forAll ( Y  ,
 
)

Definition at line 107 of file createFields.H.

◆ add()

fields add ( thermo.  he())

Variable Documentation

◆ thermo

rhoReactionThermo& thermo = pThermo()

Definition at line 5 of file createFields.H.

◆ composition

basicSpecieMixture& composition = thermo.composition()

Definition at line 10 of file createFields.H.

◆ Y

PtrList<volScalarField>& Y = composition.Y()

Definition at line 11 of file createFields.H.

◆ p

volScalarField& p = thermo.p()

Definition at line 22 of file createFields.H.

◆ fields

Info<< "Creating multi-variate interpolation scheme\n" << endl;multivariateSurfaceInterpolationScheme<scalar>::fieldTable fields

Definition at line 105 of file createFields.H.