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.\n"<< endl;IOdictionary initialConditions(IOobject("initialConditions", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE));scalar p0=initialConditions.get< scalar > ("p")
 
Info<< "Reading thermophysical properties\n"<< endl;autoPtr< psiReactionThermo > pThermo (psiReactionThermo::New(mesh))
 
thermo validate (args.executable(), "h")
 
autoPtr< BasicChemistryModel< psiReactionThermo > > pChemistry (BasicChemistryModel< psiReactionThermo >::New(thermo))
 
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(dimEnergy/dimMass/dimTemperature, Zero))
 
volVectorField U (IOobject("U", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedVector(dimVelocity, Zero))
 
OFstream post (args.path()/"chemFoam.out")
 

Variables

scalar T0 = initialConditions.get<scalar>("T")
 
psiReactionThermo & thermo = pThermo()
 

Function Documentation

◆ if()

if ( mesh.nCells() !  = 1)

Definition at line 1 of file createFields.H.

References FatalErrorInFunction.

◆ Info<< "Reading initial conditions.\n"<< endl;IOdictionary initialConditions(IOobject("initialConditions", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE));scalar p0=initialConditions.get< scalar >()

Info<< "Reading initial conditions.\n"<< endl;IOdictionary initialConditions(IOobject("initialConditions", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE));scalar p0=initialConditions.get< scalar > ( "p"  )

◆ pThermo()

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

◆ validate()

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

Referenced by surfMesh::addZones(), surfMesh::copySurface(), and surfMesh::transfer().

Here is the caller graph for this function:

◆ pChemistry()

autoPtr< BasicChemistryModel< psiReactionThermo > > pChemistry ( BasicChemistryModel< psiReactionThermo >  ::Newthermo)

◆ 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(dimEnergy/dimMass/dimTemperature, Zero)   
)

◆ U()

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

◆ post()

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

Variable Documentation

◆ T0

◆ thermo

psiReactionThermo& thermo = pThermo()

Definition at line 28 of file createFields.H.