Loading...
Searching...
No Matches
readInitialConditions.H File Reference

Go to the source code of this file.

Functions

word constProp (initialConditions.get< word >("constantProperty"))
 if (constProp !="pressure" &&constProp !="volume")
word fractionBasis (initialConditions.get< word >("fractionBasis"))
 if (fractionBasis !="mass" &&fractionBasis !="mole")
PtrList< gasHThermoPhysics > specieData (Y.size())
 forAll (specieData, i)
scalarList Y0 (nSpecie, Zero)
scalarList X0 (nSpecie, Zero)
dictionary fractions (initialConditions.subDict("fractions"))
 if (fractionBasis=="mole")
 forAll (Y, i)
thermo he ()
thermo correct ()

Variables

label nSpecie = Y.size()
 else
const scalar mTot = sum(Y0)
const scalar mw = 1.0/invW
scalar h0 = 0.0
 rho = thermo.rho()
scalar rho0 = rho[0]
scalar u0 = h0 - p0/rho0
scalar R0 = p0/(rho0*T0)
 Rspecific [0] = R0
scalar integratedHeat = 0.0

Function Documentation

◆ constProp()

word constProp ( initialConditions.get< word > "constantProperty")

Referenced by if(), and if().

Here is the caller graph for this function:

◆ if() [1/3]

if ( constProp ! = "pressure" && constProp != "volume")

Definition at line 2 of file readInitialConditions.H.

References constProp().

Here is the call graph for this function:

◆ fractionBasis()

word fractionBasis ( initialConditions.get< word > "fractionBasis")

Referenced by if(), and if().

Here is the caller graph for this function:

◆ if() [2/3]

if ( fractionBasis ! = "mass" && fractionBasis != "mole")

Definition at line 10 of file readInitialConditions.H.

References fractionBasis().

Here is the call graph for this function:

◆ specieData()

PtrList< gasHThermoPhysics > specieData ( Y. size())

References Y.

Referenced by forAll(), forAll(), if(), and if().

Here is the caller graph for this function:

◆ forAll() [1/2]

forAll ( specieData ,
i  )

Definition at line 19 of file readInitialConditions.H.

References specieData().

Here is the call graph for this function:

◆ Y0()

◆ X0()

◆ fractions()

dictionary fractions ( initialConditions. subDict"fractions")

Referenced by if().

Here is the caller graph for this function:

◆ if() [3/3]

if ( fractionBasis = = "mole")

Definition at line 36 of file readInitialConditions.H.

References forAll, fractionBasis(), fractions(), mTot, mw, name, specieData(), X0(), Y, and Y0().

Here is the call graph for this function:

◆ forAll() [2/2]

forAll ( Y ,
i  )

Definition at line 65 of file readInitialConditions.H.

References mTot, specieData(), Y, and Y0().

Here is the call graph for this function:

◆ he()

◆ correct()

thermo correct ( )

Variable Documentation

◆ nSpecie

◆ else

else
Initial value:
{
forAll(Y, i)
{
fractions.readIfPresent(Y[i].name(), Y0[i]);
}
scalar invW = 0.0
PtrList< volScalarField > & Y
auto & name
dictionary fractions(initialConditions.subDict("fractions"))
scalarList Y0(nSpecie, Zero)
#define forAll(list, i)
Loop across all elements in list.
Definition stdFoam.H:299

Definition at line 56 of file readInitialConditions.H.

◆ mTot

const scalar mTot = sum(Y0)

◆ mw

const scalar mw = 1.0/invW

Definition at line 70 of file readInitialConditions.H.

Referenced by if().

◆ h0

scalar h0 = 0.0

Definition at line 78 of file readInitialConditions.H.

Referenced by filmTurbulenceModel::Cw().

◆ rho

thermo rho = thermo.rho()

Definition at line 88 of file readInitialConditions.H.

Referenced by Foam::fvc::absolute(), chemistryTabulationMethod< psiReactionThermo, constGasHThermoPhysics >::add(), ISAT< CompType, ThermoType >::add(), none< CompType, ThermoType >::add(), MRFZoneList::addAcceleration(), MRFZone::addCoriolis(), porosityModel::addResistance(), porosityModelList::addResistance(), externalHeatFluxSource::addSup(), jouleHeatingSource::addSup(), option::addSup(), option::addSup(), option::addSup(), option::addSup(), option::addSup(), acousticDampingSource::addSup(), acousticDampingSource::addSup(), actuationDiskSource::addSup(), actuationDiskSource::addSup(), atmAmbientTurbSource::addSup(), atmAmbientTurbSource::addSup(), atmBuoyancyTurbSource::addSup(), atmBuoyancyTurbSource::addSup(), atmCoriolisUSource::addSup(), atmCoriolisUSource::addSup(), atmLengthScaleTurbSource::addSup(), atmLengthScaleTurbSource::addSup(), atmPlantCanopyTSource::addSup(), atmPlantCanopyTSource::addSup(), atmPlantCanopyTurbSource::addSup(), atmPlantCanopyTurbSource::addSup(), atmPlantCanopyUSource::addSup(), atmPlantCanopyUSource::addSup(), buoyancyEnergy::addSup(), buoyancyForce::addSup(), buoyancyTurbSource::addSup(), buoyancyTurbSource::addSup(), CodedSource< Type >::addSup(), directionalPressureGradientExplicitSource::addSup(), explicitPorositySource::addSup(), explicitPorositySource::addSup(), fanMomentumSource::addSup(), heatExchangerSource::addSup(), interRegionExplicitPorositySource::addSup(), interRegionHeatTransferModel::addSup(), jouleHeatingSource::addSup(), meanVelocityForce::addSup(), multiphaseMangrovesSource::addSup(), multiphaseMangrovesTurbulenceModel::addSup(), multiphaseStabilizedTurbulence::addSup(), multiphaseStabilizedTurbulence::addSup(), option::addSup(), option::addSup(), option::addSup(), option::addSup(), option::addSup(), option::addSup(), option::addSup(), option::addSup(), option::addSup(), option::addSup(), patchCellsSource::addSup(), PhaseLimitStabilization< Type >::addSup(), radialActuationDiskSource::addSup(), radiation::addSup(), rotorDiskSource::addSup(), SemiImplicitSource< Type >::addSup(), solidificationMeltingSource::addSup(), solidificationMeltingSource::addSup(), tabulatedAccelerationSource::addSup(), topOSource::addSup(), topOSource::addSup(), VoFSolidificationMeltingSource::addSup(), VoFSolidificationMeltingSource::addSup(), constantDrift::addToDriftRate(), densityChangeDrift::addToDriftRate(), constantNucleation::addToNucleationRate(), wallBoiling::addToNucleationRate(), algebraic::algebraic(), basic::basic(), cellCoBlended< Type >::blendingFactor(), CoBlended< Type >::blendingFactor(), buoyantKEpsilon< BasicTurbulenceModel >::buoyantKEpsilon(), buoyantKEpsilon< Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel > >::buoyantKEpsilon(), Implicit< CloudType >::cacheFields(), SprayParcel< ParcelType >::calc(), Foam::calc_pTotal(), Foam::calc_rhoU(), SprayParcel< ParcelType >::calcAtomization(), targetCoeffTrim::calcCoeffs(), targetCoeffTrim::calcCoeffs(), porosityModel::calcForce(), DarcyForchheimer::calcForce(), fixedCoeff::calcForce(), powerLaw::calcForce(), powerLawLopesdaCosta::calcForce(), solidification::calcForce(), forces::calcForcesMoments(), ThermoParcel< KinematicParcel< particle > >::calcHeatTransfer(), ObukhovLength::calcOL(), ReactingParcel< ParcelType >::calcPhaseChange(), rotorDiskSource::calculate(), LiquidEvapFuchsKnudsen< CloudType >::calculate(), LiquidEvaporation< CloudType >::calculate(), LiquidEvaporationBoil< CloudType >::calculate(), NoPhaseChange< CloudType >::calculate(), PhaseChangeModel< CloudType >::calculate(), pyrolysisChemistryModel< CompType, SolidThermo, GasThermo >::calculate(), StandardChemistryModel< ReactionThermo, ThermoType >::calculate(), hydrostaticPressure::calculateAndWrite(), tabulatedNTUHeatTransfer::calculateHtc(), StandardChemistryModel< ReactionThermo, ThermoType >::calculateRR(), clamp_range(), clamp_range(), coalCloudList::coalCloudList(), multiphaseInterSystem::coeffs(), CollidingCloud< CloudType >::CollidingCloud(), Foam::compressibleCourantNo(), compressibleInterPhaseTransportModel::compressibleInterPhaseTransportModel(), ReactingCloud< Foam::DSMCCloud< dsmcParcel > >::constProps(), constrain(), constrainPressure(), constrainPressure(), constrainPressure(), Foam::constrainPressure(), Foam::constrainPressure(), contErr(), continuousGasKEpsilon< BasicTurbulenceModel >::continuousGasKEpsilon(), continuousGasKEqn< BasicTurbulenceModel >::continuousGasKEqn(), correct(), EDC< ReactionThermo >::correct(), eddyDissipationModelBase< ReactionThermo, ThermoType >::correct(), infinitelyFastChemistry< ReactionThermo, ThermoType >::correct(), PaSR< ReactionThermo >::correct(), fixedTrim::correct(), directionalPressureGradientExplicitSource::correct(), kOmegaSSTBase< BasicEddyViscosityModel >::correct(), Maxwell< BasicTurbulenceModel >::correct(), DeardorffDiffStress< BasicTurbulenceModel >::correct(), dynamicKEqn< BasicTurbulenceModel >::correct(), dynamicLagrangian< BasicTurbulenceModel >::correct(), kEqn< BasicTurbulenceModel >::correct(), linearViscousStress< RASModel< EddyDiffusivity< phaseCompressibleTurbulenceModel > > >::correct(), Foam::MULES::correct(), Foam::MULES::correct(), Foam::MULES::correct(), Foam::MULES::correct(), Foam::MULES::correct(), porosityModel::correct(), DarcyForchheimer::correct(), DarcyForchheimer::correct(), DarcyForchheimer::correct(), fixedCoeff::correct(), fixedCoeff::correct(), fixedCoeff::correct(), powerLaw::correct(), powerLaw::correct(), powerLaw::correct(), powerLawLopesdaCosta::correct(), powerLawLopesdaCosta::correct(), powerLawLopesdaCosta::correct(), solidification::correct(), solidification::correct(), solidification::correct(), EBRSM< BasicTurbulenceModel >::correct(), kEpsilon< BasicTurbulenceModel >::correct(), kEpsilonLopesdaCosta< BasicTurbulenceModel >::correct(), kEpsilonPhitF< BasicTurbulenceModel >::correct(), kineticTheoryModel::correct(), kL< BasicTurbulenceModel >::correct(), kOmega< BasicTurbulenceModel >::correct(), LaunderSharmaKE< BasicTurbulenceModel >::correct(), LRR< BasicTurbulenceModel >::correct(), realizableKE< BasicTurbulenceModel >::correct(), RNGkEpsilon< BasicTurbulenceModel >::correct(), SSG< BasicTurbulenceModel >::correct(), relaxation::correct(), BrunDrippingInjection::correct(), curvatureSeparation::correct(), drippingInjection::correct(), patchInjection::correct(), SpalartAllmarasBase< BasicEddyViscosityModel >::correct(), targetCoeffTrim::correct(), trimModel::correct(), standardPhaseChange::correctModel(), waxSolventEvaporation::correctModel(), SpalartAllmarasBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::correctNut(), CorrectPhi(), CorrectPhi(), CorrectPhi(), CorrectPhi(), Foam::CorrectPhi(), kOmegaSSTLM< BasicTurbulenceModel >::correctReThetatGammaInt(), Foam::fvc::correctRhoUf(), targetCoeffTrim::correctTrim(), Foam::correctUphiBCs(), perfectFluid< Specie >::CpMCv(), Foam::fac::d2dt2(), Foam::fac::d2dt2(), Foam::fam::d2dt2(), Foam::fam::d2dt2(), Foam::fvc::d2dt2(), Foam::fvm::d2dt2(), Foam::fvm::d2dt2(), MRFZoneList::DDt(), Foam::fac::ddt(), Foam::fac::ddt(), Foam::fam::ddt(), Foam::fam::ddt(), Foam::fvc::ddt(), Foam::fvc::ddt(), Foam::fvc::ddt(), Foam::fvm::ddt(), Foam::fvm::ddt(), Foam::fvm::ddt(), Foam::fvm::ddt(), Foam::fvc::ddtCorr(), Foam::fvc::ddtCorr(), Foam::fvc::ddtCorr(), DeardorffDiffStress< BasicTurbulenceModel >::DeardorffDiffStress(), DeardorffDiffStress< Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel > >::DeardorffDiffStress(), laminarModel< fluidThermoCompressibleTurbulenceModel >::declareRunTimeSelectionTable(), LESModel< EddyDiffusivity< fluidThermoCompressibleTurbulenceModel > >::declareRunTimeSelectionTable(), PDRDragModel::declareRunTimeSelectionTable(), RASModel< EddyDiffusivity< fluidThermoCompressibleTurbulenceModel > >::declareRunTimeSelectionTable(), XiModel::declareRunTimeSelectionTable(), DESModel< BasicTurbulenceModel >::DESModel(), forces::devRhoReff(), ReynoldsStress< LESModel< BasicTurbulenceModel > >::devRhoReff(), ReynoldsStress< BasicTurbulenceModel >::DivDevRhoReff(), ReynoldsStress< LESModel< BasicTurbulenceModel > >::DivDevRhoReff(), incompressibleInterPhaseTransportModel< Mixture >::divDevRhoReff(), incompressibleInterPhaseTransportModel< immiscibleIncompressibleTwoPhaseMixture >::divDevRhoReff(), IncompressibleTurbulenceModel< TransportModel >::divDevRhoReff(), IncompressibleTurbulenceModel< transportModel >::divDevRhoReff(), Maxwell< BasicTurbulenceModel >::divDevRhoReff(), Maxwell< Foam::fluidThermoCompressibleTurbulenceModel >::divDevRhoReff(), linearViscousStress< BasicTurbulenceModel >::divDevRhoReff(), nonlinearEddyViscosity< incompressible::RASModel >::divDevRhoReff(), ReynoldsStress< BasicTurbulenceModel >::divDevRhoReff(), DPMIncompressibleTurbulenceModel< TransportModel >::DPMIncompressibleTurbulenceModel(), KinematicSurfaceFilm< CloudType >::drySplashInteraction(), ParticleStressModel::dTaudTheta(), exponential::dTaudTheta(), HarrisCrighton::dTaudTheta(), Lun::dTaudTheta(), dynamicKEqn< BasicTurbulenceModel >::dynamicKEqn(), dynamicKEqn< Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel > >::dynamicKEqn(), dynamicLagrangian< BasicTurbulenceModel >::dynamicLagrangian(), dynamicLagrangian< Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel > >::dynamicLagrangian(), Ea(), EaEqn(), EaEqn(), EBRSM< BasicTurbulenceModel >::EBRSM(), EBRSM< Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel > >::EBRSM(), EddyDiffusivity< BasicTurbulenceModel >::EddyDiffusivity(), eddyViscosity< BasicTurbulenceModel >::eddyViscosity(), EEqn(), EEqn(), EEqn(), EEqn(), EEqn(), EEqn(), EEqn(), EEqn(), EEqn(), EEqn(), EEqn(), EEqn(), EEqn(), EEqn(), energyTransport::energyTransport(), LaheyKEpsilon< BasicTurbulenceModel >::epsilonSource(), Es(), age::execute(), energyTransport::execute(), scalarTransport::execute(), Foam::MULES::explicitSolve(), Foam::MULES::explicitSolve(), Foam::MULES::explicitSolve(), Foam::MULES::explicitSolve(), Foam::MULES::explicitSolve(), EulerFaD2dt2Scheme< Type >::facD2dt2(), EulerFaD2dt2Scheme< Type >::facD2dt2(), backwardFaDdtScheme< Type >::facDdt(), backwardFaDdtScheme< Type >::facDdt(), boundedBackwardFaDdtScheme::facDdt(), boundedBackwardFaDdtScheme::facDdt(), EulerFaDdtScheme< Type >::facDdt(), EulerFaDdtScheme< Type >::facDdt(), steadyStateFaDdtScheme< Type >::facDdt(), steadyStateFaDdtScheme< Type >::facDdt(), backwardFaDdtScheme< Type >::facDdt0(), backwardFaDdtScheme< Type >::facDdt0(), boundedBackwardFaDdtScheme::facDdt0(), boundedBackwardFaDdtScheme::facDdt0(), EulerFaDdtScheme< Type >::facDdt0(), EulerFaDdtScheme< Type >::facDdt0(), steadyStateFaDdtScheme< Type >::facDdt0(), steadyStateFaDdtScheme< Type >::facDdt0(), EulerFaD2dt2Scheme< Type >::famD2dt2(), EulerFaD2dt2Scheme< Type >::famD2dt2(), backwardFaDdtScheme< Type >::famDdt(), backwardFaDdtScheme< Type >::famDdt(), boundedBackwardFaDdtScheme::famDdt(), boundedBackwardFaDdtScheme::famDdt(), EulerFaDdtScheme< Type >::famDdt(), EulerFaDdtScheme< Type >::famDdt(), steadyStateFaDdtScheme< Type >::famDdt(), steadyStateFaDdtScheme< Type >::famDdt(), field(), fixed::fixed(), PatchFlowRateInjection< CloudType >::flowRate(), for(), forAll(), forAll(), forAll(), forAll(), forAll(), forAll(), forAllConstIters(), porosityModel::force(), MMA::fTilda(), EulerD2dt2Scheme< Type >::fvcD2dt2(), steadyStateD2dt2Scheme< Type >::fvcD2dt2(), backwardDdtScheme< Type >::fvcDdt(), backwardDdtScheme< Type >::fvcDdt(), backwardDdtScheme< Type >::fvcDdt(), boundedDdtScheme< Type >::fvcDdt(), boundedDdtScheme< Type >::fvcDdt(), boundedDdtScheme< Type >::fvcDdt(), CoEulerDdtScheme< Type >::fvcDdt(), CoEulerDdtScheme< Type >::fvcDdt(), CoEulerDdtScheme< Type >::fvcDdt(), CrankNicolsonDdtScheme< Type >::fvcDdt(), CrankNicolsonDdtScheme< Type >::fvcDdt(), CrankNicolsonDdtScheme< Type >::fvcDdt(), ddtScheme< Type >::fvcDdt(), EulerDdtScheme< Type >::fvcDdt(), EulerDdtScheme< Type >::fvcDdt(), EulerDdtScheme< Type >::fvcDdt(), fluxFieldType< Type >::fvcDdt(), localEulerDdtScheme< Type >::fvcDdt(), localEulerDdtScheme< Type >::fvcDdt(), localEulerDdtScheme< Type >::fvcDdt(), SLTSDdtScheme< Type >::fvcDdt(), SLTSDdtScheme< Type >::fvcDdt(), SLTSDdtScheme< Type >::fvcDdt(), steadyStateDdtScheme< Type >::fvcDdt(), steadyStateDdtScheme< Type >::fvcDdt(), steadyStateDdtScheme< Type >::fvcDdt(), ddtScheme< Type >::fvcDdtPhiCoeff(), ddtScheme< Type >::fvcDdtPhiCoeff(), fluxFieldType< Type >::fvcDdtPhiCoeff(), fluxFieldType< Type >::fvcDdtPhiCoeff(), backwardDdtScheme< Type >::fvcDdtPhiCorr(), backwardDdtScheme< Type >::fvcDdtPhiCorr(), boundedDdtScheme< Type >::fvcDdtPhiCorr(), boundedDdtScheme< Type >::fvcDdtPhiCorr(), CoEulerDdtScheme< Type >::fvcDdtPhiCorr(), CoEulerDdtScheme< Type >::fvcDdtPhiCorr(), CrankNicolsonDdtScheme< Type >::fvcDdtPhiCorr(), CrankNicolsonDdtScheme< Type >::fvcDdtPhiCorr(), EulerDdtScheme< Type >::fvcDdtPhiCorr(), EulerDdtScheme< Type >::fvcDdtPhiCorr(), fluxFieldType< Type >::fvcDdtPhiCorr(), localEulerDdtScheme< Type >::fvcDdtPhiCorr(), localEulerDdtScheme< Type >::fvcDdtPhiCorr(), SLTSDdtScheme< Type >::fvcDdtPhiCorr(), SLTSDdtScheme< Type >::fvcDdtPhiCorr(), steadyStateDdtScheme< Type >::fvcDdtPhiCorr(), steadyStateDdtScheme< Type >::fvcDdtPhiCorr(), backwardDdtScheme< Type >::fvcDdtUfCorr(), backwardDdtScheme< Type >::fvcDdtUfCorr(), boundedDdtScheme< Type >::fvcDdtUfCorr(), boundedDdtScheme< Type >::fvcDdtUfCorr(), CoEulerDdtScheme< Type >::fvcDdtUfCorr(), CoEulerDdtScheme< Type >::fvcDdtUfCorr(), CrankNicolsonDdtScheme< Type >::fvcDdtUfCorr(), CrankNicolsonDdtScheme< Type >::fvcDdtUfCorr(), EulerDdtScheme< Type >::fvcDdtUfCorr(), EulerDdtScheme< Type >::fvcDdtUfCorr(), fluxFieldType< Type >::fvcDdtUfCorr(), localEulerDdtScheme< Type >::fvcDdtUfCorr(), localEulerDdtScheme< Type >::fvcDdtUfCorr(), SLTSDdtScheme< Type >::fvcDdtUfCorr(), SLTSDdtScheme< Type >::fvcDdtUfCorr(), steadyStateDdtScheme< Type >::fvcDdtUfCorr(), steadyStateDdtScheme< Type >::fvcDdtUfCorr(), EulerD2dt2Scheme< Type >::fvmD2dt2(), EulerD2dt2Scheme< Type >::fvmD2dt2(), steadyStateD2dt2Scheme< Type >::fvmD2dt2(), steadyStateD2dt2Scheme< Type >::fvmD2dt2(), backwardDdtScheme< Type >::fvmDdt(), backwardDdtScheme< Type >::fvmDdt(), backwardDdtScheme< Type >::fvmDdt(), boundedDdtScheme< Type >::fvmDdt(), boundedDdtScheme< Type >::fvmDdt(), boundedDdtScheme< Type >::fvmDdt(), CoEulerDdtScheme< Type >::fvmDdt(), CoEulerDdtScheme< Type >::fvmDdt(), CoEulerDdtScheme< Type >::fvmDdt(), CrankNicolsonDdtScheme< Type >::fvmDdt(), CrankNicolsonDdtScheme< Type >::fvmDdt(), CrankNicolsonDdtScheme< Type >::fvmDdt(), ddtScheme< Type >::fvmDdt(), EulerDdtScheme< Type >::fvmDdt(), EulerDdtScheme< Type >::fvmDdt(), EulerDdtScheme< Type >::fvmDdt(), fluxFieldType< Type >::fvmDdt(), localEulerDdtScheme< Type >::fvmDdt(), localEulerDdtScheme< Type >::fvmDdt(), localEulerDdtScheme< Type >::fvmDdt(), SLTSDdtScheme< Type >::fvmDdt(), SLTSDdtScheme< Type >::fvmDdt(), SLTSDdtScheme< Type >::fvmDdt(), steadyStateDdtScheme< Type >::fvmDdt(), steadyStateDdtScheme< Type >::fvmDdt(), steadyStateDdtScheme< Type >::fvmDdt(), generalizedNewtonian< BasicMomentumTransportModel >::generalizedNewtonian(), generalizedNewtonian< Foam::fluidThermoCompressibleTurbulenceModel >::generalizedNewtonian(), ghSnGradRho(), icoTabulated< Specie >::H(), Ha(), AnisothermalPhaseModel< BasePhaseModel >::heEqn(), Hs(), ReynoldsAnalogy::htc(), if(), if(), if(), if(), if(), if(), if(), if(), if(), if(), if(), if(), if(), if(), if(), if(), if(), if(), if(), if(), if(), if(), if(), if(), if(), incompressibleInterPhaseTransportModel< Mixture >::incompressibleInterPhaseTransportModel(), incompressibleInterPhaseTransportModel< immiscibleIncompressibleTwoPhaseMixture >::incompressibleInterPhaseTransportModel(), incompressibleRhoTurbulenceModel::incompressibleRhoTurbulenceModel(), IncompressibleTurbulenceModel< TransportModel >::IncompressibleTurbulenceModel(), IncompressibleTurbulenceModel< transportModel >::IncompressibleTurbulenceModel(), Info<< "Reading field p_rgh\n"<< endl;volScalarField p_rgh(IOobject("p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Reading field U\n"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Constructing twoPhaseMixtureThermo\n"<< endl;twoPhaseMixtureThermo mixture(U, phi);volScalarField &alpha1(mixture.alpha1());volScalarField &alpha2(mixture.alpha2());Info<< "Reading thermophysical properties\n"<< endl;const volScalarField &rho1=mixture.thermo1().rho();const volScalarField &rho2=mixture.thermo2().rho();volScalarField rho(IOobject("rho", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), alpha1 *rho1+alpha2 *rho2);dimensionedScalar pMin("pMin", dimPressure, mixture);mesh.setFluxRequired(p_rgh.name());mesh.setFluxRequired(alpha1.name());surfaceScalarField rhoPhi(IOobject("rhoPhi", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), fvc::interpolate(rho) *phi);volScalarField dgdt(alpha1 *fvc::div(phi));compressibleInterPhaseTransportModel turbulence(rho, U, phi, rhoPhi, alphaPhi10, mixture);{ wordHashSet &nonInt=const_cast< wordHashSet & >(), Info<< "Reading field p_rgh\n"<< endl;volScalarField p_rgh(IOobject("p_rgh", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);p_rgh=p - rho *gh;mesh.setFluxRequired(p_rgh.name());label pRefCell=0;scalar pRefValue=0.0;if(p_rgh.needReference()){ setRefCell(p, p_rgh, pimple.dict(), pRefCell, pRefValue);p+=dimensionedScalar("p", p.dimensions(), pRefValue - getRefCellValue(p, pRefCell));}dimensionedScalar initialMass("initialMass", fvc::domainIntegrate(rho));{ wordHashSet &nonInt=const_cast< wordHashSet & >(), Info<< "Reading field U\n"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);pressureControl pressureControl(p, rho, pimple.dict(), false);const dimensionedScalar rhoMax("rhoMax", dimDensity, GREAT, pimple.dict());const dimensionedScalar rhoMin("rhoMin", dimDensity, Zero, pimple.dict());mesh.setFluxRequired(p.name());{ wordHashSet &nonInt=const_cast< wordHashSet & >(), kEpsilon< BasicTurbulenceModel >::kEpsilon(), kEpsilon< Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel > >::kEpsilon(), kEpsilonLopesdaCosta< BasicTurbulenceModel >::kEpsilonLopesdaCosta(), kEpsilonLopesdaCosta< Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel > >::kEpsilonLopesdaCosta(), kEpsilonPhitF< BasicTurbulenceModel >::kEpsilonPhitF(), kEpsilonPhitF< Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel > >::kEpsilonPhitF(), kEqn< BasicTurbulenceModel >::kEqn(), kEqn< Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel > >::kEqn(), Lee< Thermo, OtherThermo >::Kexp(), kinematicCloudName(), kineticTheoryModel::kineticTheoryModel(), kkLOmega::kkLOmega(), kL< BasicTurbulenceModel >::kL(), kL< Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel > >::kL(), kOmega< BasicTurbulenceModel >::kOmega(), kOmega< Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel > >::kOmega(), kOmegaSST< BasicTurbulenceModel >::kOmegaSST(), kOmegaSST< Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel > >::kOmegaSST(), kOmegaSSTBase< BasicEddyViscosityModel >::kOmegaSSTBase(), kOmegaSSTDDES< BasicTurbulenceModel >::kOmegaSSTDDES(), kOmegaSSTDDES< Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel > >::kOmegaSSTDDES(), kOmegaSSTDES< BasicTurbulenceModel >::kOmegaSSTDES(), kOmegaSSTDES< Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel > >::kOmegaSSTDES(), kOmegaSSTIDDES< BasicTurbulenceModel >::kOmegaSSTIDDES(), kOmegaSSTIDDES< Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel > >::kOmegaSSTIDDES(), kOmegaSSTLM< BasicTurbulenceModel >::kOmegaSSTLM(), kOmegaSSTLM< Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel > >::kOmegaSSTLM(), kOmegaSSTSAS< BasicTurbulenceModel >::kOmegaSSTSAS(), kOmegaSSTSAS< Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel > >::kOmegaSSTSAS(), kOmegaSSTSato< BasicTurbulenceModel >::kOmegaSSTSato(), NicenoKEqn< BasicTurbulenceModel >::kSource(), kEpsilon< BasicTurbulenceModel >::kSource(), LaheyKEpsilon< BasicTurbulenceModel >::kSource(), Lee< Thermo, OtherThermo >::KSp(), Lee< Thermo, OtherThermo >::KSu(), LaheyKEpsilon< BasicTurbulenceModel >::LaheyKEpsilon(), LamBremhorstKE::LamBremhorstKE(), laminarModel< BasicTurbulenceModel >::laminarModel(), laminarModel< fluidThermoCompressibleTurbulenceModel >::laminarModel(), LaunderSharmaKE< BasicTurbulenceModel >::LaunderSharmaKE(), LaunderSharmaKE< Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel > >::LaunderSharmaKE(), LESeddyViscosity< BasicTurbulenceModel >::LESeddyViscosity(), LESModel< BasicTurbulenceModel >::LESModel(), LESModel< EddyDiffusivity< fluidThermoCompressibleTurbulenceModel > >::LESModel(), LienCubicKE::LienCubicKE(), LienLeschziner::LienLeschziner(), Foam::MULES::limit(), Foam::MULES::limit(), Foam::MULES::limitCorr(), Foam::MULES::limiter(), PhiScheme< Type, PhiLimiter >::limiter(), Foam::MULES::limiterCorr(), linearViscousStress< BasicTurbulenceModel >::linearViscousStress(), LRR< BasicTurbulenceModel >::LRR(), LRR< Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel > >::LRR(), Foam::fvc::makeAbsolute(), Foam::fvc::makeAbsolute(), MRFZone::makeAbsolute(), MRFZoneList::makeAbsolute(), Foam::fvc::makeRelative(), Foam::fvc::makeRelative(), MRFZone::makeRelative(), MRFZoneList::makeRelative(), makeRelative(), Maxwell< BasicTurbulenceModel >::Maxwell(), Maxwell< Foam::fluidThermoCompressibleTurbulenceModel >::Maxwell(), Foam::fvc::meshPhi(), Foam::fvc::meshPhi(), mixtureKEpsilon< BasicTurbulenceModel >::mixtureKEpsilon(), IATEsource::Mo(), phasePair::Mo(), fvMotionSolverEngineMesh::move(), layeredEngineMesh::move(), solidParticleCloud::move(), MovingPhaseModel< BasePhaseModel >::MovingPhaseModel(), MPPICCloud< CloudType >::MPPICCloud(), forces::mu(), Foam::compressible::New(), Foam::incompressible::New(), laminarModel< BasicTurbulenceModel >::New(), laminarModel< BasicMomentumTransportModel >::New(), laminarModel< fluidThermoCompressibleTurbulenceModel >::New(), generalizedNewtonian< Foam::fluidThermoCompressibleTurbulenceModel >::New(), Stokes< Foam::fluidThermoCompressibleTurbulenceModel >::New(), LESModel< BasicTurbulenceModel >::New(), LESModel< EddyDiffusivity< fluidThermoCompressibleTurbulenceModel > >::New(), PDRDragModel::New(), PhaseIncompressibleTurbulenceModel< TransportModel >::New(), PhaseIncompressibleTurbulenceModel< transportModel >::New(), RASModel< BasicTurbulenceModel >::New(), RASModel< EddyDiffusivity< fluidThermoCompressibleTurbulenceModel > >::New(), ThermalDiffusivity< BasicTurbulenceModel >::New(), ThermalDiffusivity< BasicTurbulenceModel >::New(), TurbulenceModel< Alpha, Rho, BasicTurbulenceModel, TransportModel >::New(), XiModel::New(), NicenoKEqn< BasicTurbulenceModel >::NicenoKEqn(), nonlinearEddyViscosity< BasicTurbulenceModel >::nonlinearEddyViscosity(), fluidThermo::nu(), fluidThermo::nu(), multiphaseSystem::nu(), multiphaseSystem::nu(), continuousGasKEpsilon< BasicTurbulenceModel >::nuEff(), oldTime(), optionList::operator()(), optionList::operator()(), optionList::operator()(), optionList::operator()(), optionList::operator()(), optionList::operator()(), optionList::operator()(), optionList::operator()(), optionList::operator()(), optionList::operator()(), rhoMagSqr< Type >::operator()(), rhoMagSqr< Type >::operator()(), atmAmbientTurbSource::operator=(), atmBuoyancyTurbSource::operator=(), atmLengthScaleTurbSource::operator=(), atmPlantCanopyTSource::operator=(), atmPlantCanopyTurbSource::operator=(), atmPlantCanopyUSource::operator=(), kOmegaSSTBase< BasicEddyViscosityModel >::operator=(), p(), p_rghDDtEqn(), p_rghDDtEqn(), pDDtEqn(), PDRDragModel::PDRDragModel(), PDRkEpsilon::PDRkEpsilon(), cloudInfo::performAction(), ReactingCloud< Foam::DSMCCloud< dsmcParcel > >::phaseChange(), PhaseIncompressibleTurbulenceModel< TransportModel >::PhaseIncompressibleTurbulenceModel(), PhaseIncompressibleTurbulenceModel< transportModel >::PhaseIncompressibleTurbulenceModel(), phasePressureModel::phasePressureModel(), continuousGasKEqn< BasicTurbulenceModel >::phaseTransferCoeff(), NicenoKEqn< BasicTurbulenceModel >::phaseTransferCoeff(), continuousGasKEpsilon< BasicTurbulenceModel >::phaseTransferCoeff(), LaheyKEpsilon< BasicTurbulenceModel >::phaseTransferCoeff(), phid(), phid(), phig(), phig(), phig(), phig(), phig(), phig(), phig(), phig(), phig(), phig(), phig(), phiHbyA(), phiHbyA(), phiHbyA(), phiHbyA(), phiHbyA(), phiHbyA(), phiHbyA(), phiHbyA(), phiHbyA(), phiHbyA(), phiHbyA(), phiHbyA(), phiHbyA(), phiHbyA(), extractEulerianParticles::phiU(), kineticTheoryModel::pPrime(), InjectionModel< Foam::KinematicCloud< Foam::DSMCCloud< dsmcParcel > > >::prepareForNextTimeStep(), pressureControl::pressureControl(), pressureControl(), rPolynomial< Specie >::psi(), qZeta::qZeta(), phaseChange::R(), wallBoiling::R(), ReynoldsStress< LESModel< BasicTurbulenceModel > >::R(), RASModel< BasicTurbulenceModel >::RASModel(), RASModel< EddyDiffusivity< fluidThermoCompressibleTurbulenceModel > >::RASModel(), rAUf(), ReactingCloud< CloudType >::ReactingCloud(), ReactingCloud< ThermoCloud< KinematicCloud< Cloud< basicReactingParcel > > > >::ReactingCloud(), ReactingHeterogeneousCloud< CloudType >::ReactingHeterogeneousCloud(), ReactingHeterogeneousCloud< ReactingCloud< ThermoCloud< KinematicCloud< Cloud< basicHeterogeneousReactingParcel > > > > >::ReactingHeterogeneousCloud(), ReactingMultiphaseCloud< CloudType >::ReactingMultiphaseCloud(), ReactingMultiphaseCloud< ReactingCloud< ThermoCloud< KinematicCloud< Cloud< coalParcel > > > > >::ReactingMultiphaseCloud(), reaction(), KinematicParcel< particle >::readFields(), realizableKE< BasicTurbulenceModel >::realizableKE(), realizableKE< Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel > >::realizableKE(), ref(), Foam::fvc::relative(), relax(), multiphaseInterSystem::rho(), multiphaseInterSystem::rho(), phaseSystem::rho(), rho(), rho(), rho0(), rhoCp(), heThermo< BasicThermo, MixtureType >::rhoEoS(), rhof(), rhoPhi(), rhorAtU(), rhorAUf(), rhorAUf(), rhorAUf(), rhoUfint(), RNGkEpsilon< BasicTurbulenceModel >::RNGkEpsilon(), RNGkEpsilon< Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel > >::RNGkEpsilon(), setFluxRequired(), InjectionModel< CloudType >::setNumberOfParticles(), ConeNozzleInjection< CloudType >::setProperties(), ShihQuadraticKE::ShihQuadraticKE(), sigma< BasicTurbulenceModel >::sigma(), sigma< Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel > >::sigma(), Smagorinsky< BasicTurbulenceModel >::Smagorinsky(), Smagorinsky< Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel > >::Smagorinsky(), SmagorinskyZhang< BasicTurbulenceModel >::SmagorinskyZhang(), populationBalanceModel::solve(), pyrolysisChemistryModel< CompType, SolidThermo, GasThermo >::solve(), StandardChemistryModel< psiReactionThermo, constGasHThermoPhysics >::solve(), TDACChemistryModel< psiReactionThermo, constGasHThermoPhysics >::solve(), SprayParcel< ParcelType >::solveTABEq(), SpalartAllmaras< BasicTurbulenceModel >::SpalartAllmaras(), SpalartAllmaras< Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel > >::SpalartAllmaras(), SpalartAllmarasDDES< BasicTurbulenceModel >::SpalartAllmarasDDES(), SpalartAllmarasDDES< Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel > >::SpalartAllmarasDDES(), SpalartAllmarasDES< BasicTurbulenceModel >::SpalartAllmarasDES(), SpalartAllmarasDES< Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel > >::SpalartAllmarasDES(), SpalartAllmarasIDDES< BasicTurbulenceModel >::SpalartAllmarasIDDES(), SpalartAllmarasIDDES< Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel > >::SpalartAllmarasIDDES(), SprayCloud< CloudType >::SprayCloud(), SprayCloud< ReactingCloud< ThermoCloud< KinematicCloud< Cloud< basicSprayParcel > > > > >::SprayCloud(), coalCloudList::Srho(), ReactingCloud< CloudType >::Srho(), ReactingCloud< ThermoCloud< KinematicCloud< Cloud< basicReactingParcel > > > >::Srho(), SSG< BasicTurbulenceModel >::SSG(), SSG< Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel > >::SSG(), Stokes< BasicTurbulenceModel >::Stokes(), Stokes< Foam::fluidThermoCompressibleTurbulenceModel >::Stokes(), ParticleStressModel::tau(), ParticleStressModel::tau(), exponential::tau(), HarrisCrighton::tau(), Lun::tau(), StandardChemistryModel< ReactionThermo, ThermoType >::tc(), ThermalDiffusivity< BasicTurbulenceModel >::ThermalDiffusivity(), ThermoCloud< CloudType >::ThermoCloud(), transport::transport(), tUEqn(), tUEqn(), tUEqn(), tUEqn(), turbulence(), turbulence(), turbulence(), turbulence(), turbulence(), turbulence(), turbulence(), TurbulenceModel< Alpha, Rho, BasicTurbulenceModel, TransportModel >::TurbulenceModel(), CodedSource< Type >::TypeName(), radiation::TypeName(), kkLOmega::TypeName(), LamBremhorstKE::TypeName(), LienCubicKE::TypeName(), LienLeschziner::TypeName(), qZeta::TypeName(), ShihQuadraticKE::TypeName(), incompressibleRhoTurbulenceModel::TypeName(), incompressibleTurbulenceModel::TypeName(), continuousGasKEqn< BasicTurbulenceModel >::TypeName(), NicenoKEqn< BasicTurbulenceModel >::TypeName(), SmagorinskyZhang< BasicTurbulenceModel >::TypeName(), powerLawLopesdaCosta::TypeName(), continuousGasKEpsilon< BasicTurbulenceModel >::TypeName(), kOmegaSSTSato< BasicTurbulenceModel >::TypeName(), LaheyKEpsilon< BasicTurbulenceModel >::TypeName(), mixtureKEpsilon< BasicTurbulenceModel >::TypeName(), MovingPhaseModel< BasePhaseModel >::UEqn(), UEqn(), UEqn(), UEqn(), UEqn(), UEqn(), UEqn(), UEqn(), UEqn(), UEqn(), UEqn(), UEqn(), UEqn(), UEqn(), UEqn(), UEqn(), MovingPhaseModel< BasePhaseModel >::UfEqn(), AtomizationModel< CloudType >::update(), BlobsSheetAtomization< CloudType >::update(), BreakupModel< CloudType >::update(), ETAB< CloudType >::update(), LISAAtomization< CloudType >::update(), NoAtomization< CloudType >::update(), NoBreakup< CloudType >::update(), PilchErdman< CloudType >::update(), ReitzDiwakar< CloudType >::update(), ReitzKHRT< CloudType >::update(), SHF< CloudType >::update(), TAB< CloudType >::update(), alphaFixedPressureFvPatchScalarField::updateCoeffs(), inclinedFilmNusseltHeightFvPatchScalarField::updateCoeffs(), inclinedFilmNusseltInletVelocityFvPatchVectorField::updateCoeffs(), matchedFlowRateOutletVelocityFvPatchVectorField::updateCoeffs(), outletMachNumberPressureFvPatchScalarField::updateCoeffs(), pressurePIDControlInletVelocityFvPatchVectorField::updateCoeffs(), totalPressureFvPatchScalarField::updateCoeffs(), uniformTotalPressureFvPatchScalarField::updateCoeffs(), vibrationShellFvPatchScalarField::updateCoeffs(), IATEsource::Ur(), InjectionModel< CloudType >::validInjection(), WALE< BasicTurbulenceModel >::WALE(), WALE< Foam::EddyDiffusivity< Foam::fluidThermoCompressibleTurbulenceModel > >::WALE(), KinematicSurfaceFilm< CloudType >::wetSplashInteraction(), while(), while(), while(), KinematicParcel< particle >::writeFields(), writeMinMax(), XiModel::XiModel(), MultiComponentPhaseModel< BasePhaseModel, phaseThermo >::YiEqn(), acousticDampingSource::~acousticDampingSource(), atmCoriolisUSource::~atmCoriolisUSource(), buoyancyEnergy::~buoyancyEnergy(), buoyancyForce::~buoyancyForce(), buoyancyTurbSource::~buoyancyTurbSource(), contactHeatFluxSource::~contactHeatFluxSource(), DarcyForchheimer::~DarcyForchheimer(), directionalPressureGradientExplicitSource::~directionalPressureGradientExplicitSource(), externalFileSource::~externalFileSource(), externalHeatFluxSource::~externalHeatFluxSource(), fanMomentumSource::~fanMomentumSource(), fixedCoeff::~fixedCoeff(), fixedTrim::~fixedTrim(), interRegionExplicitPorositySource::~interRegionExplicitPorositySource(), interRegionHeatTransferModel::~interRegionHeatTransferModel(), linearViscousStress< BasicTurbulenceModel >::~linearViscousStress(), LiquidEvapFuchsKnudsen< CloudType >::~LiquidEvapFuchsKnudsen(), meanVelocityForce::~meanVelocityForce(), MRFZoneList::~MRFZoneList(), multiphaseMangrovesSource::~multiphaseMangrovesSource(), multiphaseMangrovesTurbulenceModel::~multiphaseMangrovesTurbulenceModel(), multiphaseStabilizedTurbulence::~multiphaseStabilizedTurbulence(), nonlinearEddyViscosity< BasicTurbulenceModel >::~nonlinearEddyViscosity(), option::~option(), patchCellsSource::~patchCellsSource(), PhaseLimitStabilization< Type >::~PhaseLimitStabilization(), PilchErdman< CloudType >::~PilchErdman(), porosityModelList::~porosityModelList(), powerLaw::~powerLaw(), radialActuationDiskSource::~radialActuationDiskSource(), rotorDiskSource::~rotorDiskSource(), solidification::~solidification(), solidificationMeltingSource::~solidificationMeltingSource(), tabulatedAccelerationSource::~tabulatedAccelerationSource(), targetCoeffTrim::~targetCoeffTrim(), and topOSource::~topOSource().

◆ rho0

◆ u0

scalar u0 = h0 - p0/rho0

Definition at line 90 of file readInitialConditions.H.

Referenced by if(), and triangleFuncs::intersectAxesBundle().

◆ R0

scalar R0 = p0/(rho0*T0)

Definition at line 91 of file readInitialConditions.H.

◆ Rspecific

Rspecific[0] = R0

Definition at line 92 of file readInitialConditions.H.

Referenced by if().

◆ integratedHeat

scalar integratedHeat = 0.0

Definition at line 94 of file readInitialConditions.H.

Referenced by if().