Loading...
Searching...
No Matches
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, and mesh.

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

References 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() )

References mesh, and runTime.

◆ Rspecific()

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

References mesh, and runTime.

◆ U()

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

References mesh, and runTime.

◆ post()

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

References args, and post().

Referenced by post(), and write().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ T0

scalar T0 = initialConditions.get<scalar>("T")

Definition at line 22 of file createFields.H.

Referenced by Boussinesq< Specie >::Boussinesq(), ReactingHeterogeneousParcel< ParcelType >::calc(), ReactingMultiphaseParcel< ParcelType >::calc(), ReactingParcel< ParcelType >::calc(), SprayParcel< ParcelType >::calc(), ThermoParcel< ParcelType >::calc(), SprayParcel< ReactingParcel< ThermoParcel< KinematicParcel< particle > > > >::chi(), ReactingHeterogeneousCloud< Foam::DSMCCloud< dsmcParcel > >::cloudReset(), ReactingMultiphaseCloud< Foam::DSMCCloud< dsmcParcel > >::cloudReset(), SprayParcel< ParcelType >::constantProperties::constantProperties(), SprayParcel< ReactingParcel< ThermoParcel< KinematicParcel< particle > > > >::constantProperties::constantProperties(), if(), interfaceHeatResistance< Thermo, OtherThermo >::Kexp(), kineticGasEvaporation< Thermo, OtherThermo >::Kexp(), noiseFFT::setData(), thermo< Thermo, Type >::TEa(), thermo< Thermo, Type >::TEs(), thermo< Thermo, Type >::THa(), absoluteEnthalpy< Thermo >::THE(), absoluteInternalEnergy< Thermo >::THE(), basicThermo::THE(), basicThermo::THE(), heThermo< BasicThermo, MixtureType >::THE(), heThermo< BasicThermo, MixtureType >::THE(), heThermo< solidReactionThermo, SpecieMixturereactingMixtureconstIsoSolidTransportsensibleEnthalpyhConstThermorhoConstspecie >::THE(), heThermo< solidReactionThermo, SpecieMixturereactingMixtureconstIsoSolidTransportsensibleEnthalpyhConstThermorhoConstspecie >::THE(), multiphaseInterSystem::THE(), multiphaseInterSystem::THE(), multiphaseMixtureThermo::THE(), multiphaseMixtureThermo::THE(), sensibleEnthalpy< Thermo >::THE(), sensibleInternalEnergy< Thermo >::THE(), thermo< Thermo, Type >::THE(), twoPhaseMixtureEThermo::THE(), twoPhaseMixtureEThermo::THE(), twoPhaseMixtureThermo::THE(), twoPhaseMixtureThermo::THE(), and thermo< Thermo, Type >::THs().

◆ thermo

psiReactionThermo& thermo = pThermo()

Definition at line 28 of file createFields.H.

Referenced by TDACChemistryModel< ReactionThermo, ThermoType >::active(), phaseModel::alpha(), phaseModel::alpha(), phaseModel::alphaEff(), phaseModel::alphaEff(), StationaryPhaseModel< BasePhaseModel >::alphaEff(), StationaryPhaseModel< BasePhaseModel >::alphaEff(), phaseModel::alphahe(), phaseModel::alphahe(), LiquidEvaporationBoil< CloudType >::calculate(), StandardChemistryModel< ReactionThermo, ThermoType >::calculate(), tabulatedNTUHeatTransfer::calculateHtc(), MultiComponentPhaseModel< BasePhaseModel, phaseThermo >::calculateMassFractions(), StandardChemistryModel< ReactionThermo, ThermoType >::calculateRR(), MultiComponentPhaseModel< BasePhaseModel, phaseThermo >::calculateVolumeFractions(), LiquidEvapFuchsKnudsen< CloudType >::calcXc(), LiquidEvaporation< CloudType >::calcXc(), LiquidEvaporationBoil< CloudType >::calcXc(), diffusion< ReactionThermo, ThermoType >::correct(), diffusionMulticomponent< ReactionThermo, ThermoType >::correct(), infinitelyFastChemistry< ReactionThermo, ThermoType >::correct(), MultiComponentPhaseModel< BasePhaseModel, phaseThermo >::correct(), phaseModel::correct(), InterfaceCompositionPhaseChangePhaseSystem< BasePhaseSystem >::correctInterfaceThermo(), IsothermalPhaseModel< BasePhaseModel >::correctThermo(), phaseModel::Cp(), phaseModel::Cp(), phaseModel::CpByCpv(), phaseModel::CpByCpv(), phaseModel::Cpv(), phaseModel::Cpv(), phaseModel::Cv(), phaseModel::Cv(), phaseModel::gamma(), phaseModel::gamma(), phaseModel::hc(), AnisothermalPhaseModel< BasePhaseModel >::heEqn(), multiphaseInterSystem::incompressible(), multiphaseInterSystem::isochoric(), phaseModel::kappa(), phaseModel::kappa(), StationaryPhaseModel< BasePhaseModel >::kappaEff(), StationaryPhaseModel< BasePhaseModel >::kappaEff(), phaseModel::mu(), phaseModel::mu(), StationaryPhaseModel< BasePhaseModel >::muEff(), phaseModel::nu(), phaseModel::nu(), StationaryPhaseModel< BasePhaseModel >::nuEff(), EDC< ReactionThermo >::Qdot(), laminar< ReactionThermo >::Qdot(), noCombustion< ReactionThermo >::Qdot(), PaSR< ReactionThermo >::Qdot(), singleStepCombustion< ReactionThermo, ThermoType >::Qdot(), diffusionMulticomponent< ReactionThermo, ThermoType >::R(), laminar< ReactionThermo >::R(), singleStepCombustion< ReactionThermo, ThermoType >::R(), CompositionModel< CloudType >::rho(), phaseModel::rho(), phaseModel::rho(), TDACChemistryModel< ReactionThermo, ThermoType >::setActive(), StandardChemistryModel< psiReactionThermo, constGasHThermoPhysics >::solve(), TDACChemistryModel< psiReactionThermo, constGasHThermoPhysics >::solve(), StandardChemistryModel< ReactionThermo, ThermoType >::tc(), MovingPhaseModel< BasePhaseModel >::UEqn(), MovingPhaseModel< BasePhaseModel >::UfEqn(), while(), and MultiComponentPhaseModel< BasePhaseModel, phaseThermo >::YiEqn().