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 Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ 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"   
)

◆ 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)   
)

Referenced by forAll(), and if().

Here is the caller graph for this function:

◆ post()

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

Variable Documentation

◆ T0

◆ thermo

psiReactionThermo& thermo = pThermo()

Definition at line 28 of file createFields.H.

Referenced by TDACChemistryModel< CompType, ThermoType >::active(), phaseModel::alpha(), StationaryPhaseModel< BasePhaseModel >::alphaEff(), phaseModel::alphaEff(), phaseModel::alphahe(), LiquidEvaporationBoil< CloudType >::calculate(), StandardChemistryModel< ReactionThermo, ThermoType >::calculate(), tabulatedNTUHeatTransfer::calculateHtc(), MultiComponentPhaseModel< BasePhaseModel, phaseThermo >::calculateMassFractions(), StandardChemistryModel< ReactionThermo, ThermoType >::calculateRR(), MultiComponentPhaseModel< BasePhaseModel, phaseThermo >::calculateVolumeFractions(), LiquidEvaporation< CloudType >::calcXc(), LiquidEvaporationBoil< CloudType >::calcXc(), LiquidEvapFuchsKnudsen< CloudType >::calcXc(), infinitelyFastChemistry< ReactionThermo, ThermoType >::correct(), diffusion< ReactionThermo, ThermoType >::correct(), MultiComponentPhaseModel< BasePhaseModel, phaseThermo >::correct(), diffusionMulticomponent< ReactionThermo, ThermoType >::correct(), phaseSystem::correctKinematics(), IsothermalPhaseModel< BasePhaseModel >::correctThermo(), phaseModel::Cp(), phaseModel::CpByCpv(), phaseModel::Cpv(), phaseModel::Cv(), phaseModel::gamma(), phaseModel::hc(), AnisothermalPhaseModel< BasePhaseModel >::heEqn(), if(), phaseSystem::incompressible(), phaseSystem::isochoric(), phaseModel::kappa(), StationaryPhaseModel< BasePhaseModel >::kappaEff(), basicThermo::lookupThermo(), phaseModel::mu(), StationaryPhaseModel< BasePhaseModel >::muEff(), combustionModel::New(), CombustionModel< ReactionThermo >::New(), BasicChemistryModel< ReactionThermo >::New(), phaseModel::nu(), StationaryPhaseModel< BasePhaseModel >::nuEff(), noCombustion< ReactionThermo >::Qdot(), singleStepCombustion< ReactionThermo, ThermoType >::Qdot(), PaSR< ReactionThermo >::Qdot(), laminar< ReactionThermo >::Qdot(), EDC< ReactionThermo >::Qdot(), singleStepCombustion< ReactionThermo, ThermoType >::R(), laminar< ReactionThermo >::R(), diffusionMulticomponent< ReactionThermo, ThermoType >::R(), ReactingCloud< Foam::DSMCCloud >::ReactingCloud(), phaseModel::rho(), CompositionModel< Foam::ReactingCloud< Foam::DSMCCloud > >::rho(), TDACChemistryModel< CompType, ThermoType >::setActive(), singleStepCombustion< ReactionThermo, ThermoType >::singleStepCombustion(), TDACChemistryModel< CompType, ThermoType >::solve(), StandardChemistryModel< ReactionThermo, ThermoType >::solve(), StandardChemistryModel< ReactionThermo, ThermoType >::tc(), TDACChemistryModel< CompType, ThermoType >::TDACChemistryModel(), MovingPhaseModel< BasePhaseModel >::UEqn(), MovingPhaseModel< BasePhaseModel >::UfEqn(), while(), and MultiComponentPhaseModel< BasePhaseModel, phaseThermo >::YiEqn().