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-6/applications/solvers/combustion/chemFoam/createFields.H" 2 Info<< "Reading thermophysical properties\"<< endl;autoPtr< rhoReactionThermo > pThermo (rhoReactionThermo::New(mesh))
 
thermo validate (args.executable(), "h")
 
autoPtr< BasicChemistryModel< rhoReactionThermo > > pChemistry (BasicChemistryModel< rhoReactionThermo >::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("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

rhoReactionThermo & thermo = pThermo()
 

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(), pThermo(), readScalar, and runTime.

Here is the call graph for this function:

◆ pThermo()

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-6/applications/solvers/combustion/chemFoam/createFields.H" 2 Info<< "Reading thermophysical properties\n" << endl; autoPtr<rhoReactionThermo> pThermo ( rhoReactionThermo::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:

◆ pChemistry()

autoPtr<BasicChemistryModel<rhoReactionThermo> > pChemistry ( BasicChemistryModel< rhoReactionThermo >  ::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("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

◆ thermo

rhoReactionThermo& thermo = pThermo()

Definition at line 28 of file createFields.H.

Referenced by TDACChemistryModel< CompType, ThermoType >::active(), radiation::addSup(), interRegionHeatTransferModel::addSup(), effectivenessHeatExchangerSource::addSup(), LiquidEvaporationBoil< CloudType >::calculate(), COxidationDiffusionLimitedRate< CloudType >::calculate(), COxidationKineticDiffusionLimitedRate< CloudType >::calculate(), COxidationHurtMitchell< CloudType >::calculate(), COxidationIntrinsicRate< CloudType >::calculate(), COxidationMurphyShaddix< CloudType >::calculate(), StandardChemistryModel< CompType, ThermoType >::calculate(), StandardChemistryModel< CompType, ThermoType >::calculateRR(), LiquidEvaporation< CloudType >::calcXc(), LiquidEvaporationBoil< CloudType >::calcXc(), fixedTemperatureConstraint::constrain(), infinitelyFastChemistry< ReactionThermo, ThermoType >::correct(), diffusion< ReactionThermo, ThermoType >::correct(), limitTemperature::correct(), standardPhaseChange::correctModel(), waxSolventEvaporation::correctModel(), ReactingParcel< ParcelType >::correctSurfaceValues(), forces::devRhoReff(), effectivenessHeatExchangerSource::effectivenessHeatExchangerSource(), wallHeatFlux::execute(), fixedTemperatureConstraint::fixedTemperatureConstraint(), forAll(), forAllConstIter(), h0(), if(), liquidFilmThermo::initLiquid(), temperatureCoupledBase::kappa(), limitTemperature::limitTemperature(), forces::mu(), NamedEnum< directionType, 3 >::names(), combustionModel::New(), basicChemistryModel::New(), BasicChemistryModel< CompType >::New(), CombustionModel< ReactionThermo >::New(), basicSolidChemistryModel::New(), constIsoSolidTransport< Thermo >::operator+=(), noCombustion< ReactionThermo >::Qdot(), singleStepCombustion< ReactionThermo, ThermoType >::Qdot(), PaSR< ReactionThermo >::Qdot(), laminar< ReactionThermo >::Qdot(), EDC< ReactionThermo >::Qdot(), singleStepCombustion< ReactionThermo, ThermoType >::R(), laminar< ReactionThermo >::R(), radiation::radiation(), ReactingCloud< Foam::DSMCCloud >::ReactingCloud(), TDACChemistryModel< CompType, ThermoType >::setActive(), singleStepCombustion< ReactionThermo, ThermoType >::singleStepCombustion(), solidificationMeltingSource::solidificationMeltingSource(), StandardChemistryModel< CompType, ThermoType >::solve(), TDACChemistryModel< CompType, ThermoType >::solve(), StandardChemistryModel< CompType, ThermoType >::tc(), TDACChemistryModel< CompType, ThermoType >::TDACChemistryModel(), externalCoupledTemperatureMixedFvPatchScalarField::transferData(), gradientUnburntEnthalpyFvPatchScalarField::updateCoeffs(), fixedUnburntEnthalpyFvPatchScalarField::updateCoeffs(), mixedUnburntEnthalpyFvPatchScalarField::updateCoeffs(), energyJumpFvPatchScalarField::updateCoeffs(), energyJumpAMIFvPatchScalarField::updateCoeffs(), mixedEnergyFvPatchScalarField::updateCoeffs(), fixedEnergyFvPatchScalarField::updateCoeffs(), gradientEnergyFvPatchScalarField::updateCoeffs(), W(), while(), and FSD< ReactionThermo, ThermoType >::~FSD().