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

Go to the source code of this file.

Functions

 if (mesh.nCells() !=1)
 
Info<< "Reading initial conditions.\"<< endl;IOdictionary initialConditions(IOobject("initialConditions", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE));scalar p0=readScalar(initialConditions.lookup("p"));scalar T0=readScalar(initialConditions.lookup("T"));# 24 "/home/ubuntu/OpenFOAM-5.0/applications/solvers/combustion/chemFoam/createFields.H" 2 Info<< nl<< "Reading thermophysicalProperties"<< endl;autoPtr< psiChemistryModel > pChemistry (psiChemistryModel::New(mesh))
 
thermo validate (args.executable(), "h")
 
volScalarField rho (IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.rho())
 
volScalarField Rspecific (IOobject("Rspecific", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), mesh, dimensionedScalar("zero", dimensionSet(dimEnergy/dimMass/dimTemperature), 0.0))
 
volVectorField U (IOobject("U", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedVector("zero", dimVelocity, Zero))
 
OFstream post (args.path()/"chemFoam.out")
 

Variables

psiChemistryModel & chemistry = pChemistry()
 
psiReactionThermo & thermo = chemistry.thermo()
 

Function Documentation

◆ if()

if ( mesh.nCells() !  = 1)

Definition at line 1 of file createFields.H.

References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, mesh, Foam::New(), Foam::nl, pChemistry(), and readScalar.

Here is the call graph for this function:

◆ pChemistry()

Info<< "Reading initial conditions.\n" << endl; IOdictionary initialConditions ( IOobject ( "initialConditions", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE ) ); scalar p0 = readScalar(initialConditions.lookup("p")); scalar T0 = readScalar(initialConditions.lookup("T"));# 24 "/home/ubuntu/OpenFOAM-5.0/applications/solvers/combustion/chemFoam/createFields.H" 2 Info<< nl << "Reading thermophysicalProperties" << endl; autoPtr<psiChemistryModel> pChemistry ( psiChemistryModel::New(mesh )

Referenced by if().

Here is the caller graph for this function:

◆ validate()

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

Referenced by surfMesh::surfZones().

Here is the caller graph for this function:

◆ rho()

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

◆ Rspecific()

volScalarField Rspecific ( IOobject("Rspecific", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE)  ,
mesh  ,
dimensionedScalar("zero", dimensionSet(dimEnergy/dimMass/dimTemperature), 0.0)   
)

◆ U()

volVectorField U ( IOobject("U", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE)  ,
mesh  ,
dimensionedVector("zero", dimVelocity, Zero)   
)

Referenced by forAll(), and if().

Here is the caller graph for this function:

◆ post()

OFstream post ( args.path()/"chemFoam.out"  )

Variable Documentation

◆ chemistry

psiChemistryModel& chemistry = pChemistry()

◆ thermo

psiReactionThermo& thermo = chemistry.thermo()