readInitialConditions.H File Reference

Go to the source code of this file.

Functions

const word constProp (initialConditions.lookup("constantProperty"))
 
 if ((constProp !="pressure") &&(constProp !="volume") &&(constProp !="temperature"))
 
const word fractionBasis (initialConditions.lookup("fractionBasis"))
 
 if ((fractionBasis !="mass") &&(fractionBasis !="mole"))
 
const scalarList W (::W(thermo))
 
scalarList Y0 (nSpecie, 0.0)
 
scalarList X0 (nSpecie, 0.0)
 
dictionary fractions (initialConditions.subDict("fractions"))
 
 if (fractionBasis=="mole")
 
 forAll (Y, i)
 
thermo he ()
 
thermo correct ()
 

Variables

const label nSpecie = Y.size()
 
 else
 
const scalar mTot = sum(Y0)
 
const scalar mw = 1.0/invW
 
const scalar h0 = ::h0(thermo, Y0, p[0], T0)
 
 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()

const word constProp ( initialConditions.  lookup"constantProperty")

Referenced by if().

Here is the caller graph for this function:

◆ if() [1/3]

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

Definition at line 3 of file readInitialConditions.H.

References constProp(), Foam::exit(), Foam::FatalError, fractionBasis(), and Foam::nl.

Here is the call graph for this function:

◆ fractionBasis()

const word fractionBasis ( initialConditions.  lookup"fractionBasis")

Referenced by if().

Here is the caller graph for this function:

◆ if() [2/3]

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

Definition at line 17 of file readInitialConditions.H.

References Foam::exit(), Foam::FatalError, fractionBasis(), and Foam::nl.

Here is the call graph for this function:

◆ W()

const scalarList W ( ::W(thermo )

◆ Y0()

scalarList Y0 ( nSpecie  ,
0.  0 
)

◆ X0()

scalarList X0 ( nSpecie  ,
0.  0 
)

Referenced by SprayParcel< ParcelType >::calc(), and if().

Here is the caller graph for this function:

◆ 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 31 of file readInitialConditions.H.

References forAll(), fractions(), mTot, mw, Foam::name(), Foam::sum(), W(), X0(), Y, and Y0().

Here is the call graph for this function:

◆ forAll()

forAll ( Y  ,
 
)

Definition at line 68 of file readInitialConditions.H.

References mTot, W(), and Y0().

Referenced by if().

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

◆ he()

◆ correct()

thermo correct ( )

Variable Documentation

◆ nSpecie

◆ else

else
Initial value:
{
forAll(Y, i)
{
const word& name = Y[i].name();
if (fractions.found(name))
{
Y0[i] = fractions.lookup<scalar>(name);
}
}
scalar invW = 0.0
forAll(Y, i)
scalarList Y0(nSpecie, 0.0)
word name(const complex &)
Return a string representation of a complex.
Definition: complex.C:47
PtrList< volScalarField > & Y
dictionary fractions(initialConditions.subDict("fractions"))

Definition at line 56 of file readInitialConditions.H.

◆ mTot

const scalar mTot = sum(Y0)

◆ mw

const scalar mw = 1.0/invW

Definition at line 73 of file readInitialConditions.H.

Referenced by if().

◆ h0

const scalar h0 = ::h0(thermo, Y0, p[0], T0)

Definition at line 81 of file readInitialConditions.H.

Referenced by if(), and waveAtmBoundaryLayerSuperposition::UGas().

◆ rho

rho = thermo.rho()

Definition at line 91 of file readInitialConditions.H.

Referenced by sixDoFAccelerationSource::addSup(), solidEquilibriumEnergySource::addSup(), isotropicDamping::addSup(), radialActuationDiskSource::addSup(), actuationDiskSource::addSup(), CoBlended< Type >::blendingFactor(), cellCoBlended< Type >::blendingFactor(), Implicit< CloudType >::cacheFields(), SprayParcel< ParcelType >::calc(), SprayParcel< ParcelType >::calcAtomisation(), SprayParcel< ParcelType >::calcBreakup(), forces::calcForcesMoment(), ThermoParcel< ParcelType >::calcHeatTransfer(), standardChemistryModel< ThermoType >::calculate(), standardChemistryModel< ThermoType >::calculateRR(), NoAtomisation< CloudType >::clone(), NoBreakup< CloudType >::clone(), ReitzKHRT< CloudType >::clone(), BlobsSheetAtomisation< CloudType >::clone(), exponential::clone(), ReitzDiwakar< CloudType >::clone(), ETAB< CloudType >::clone(), PilchErdman< CloudType >::clone(), Lun::clone(), LISAAtomisation< CloudType >::clone(), TAB< CloudType >::clone(), HarrisCrighton::clone(), SHF< CloudType >::clone(), ReactingCloud< Foam::DSMCCloud >::cloneBare(), infinitelyFastChemistry::correct(), patchEjection::correct(), PaSR::correct(), relaxation::correct(), drippingEjection::correct(), BrunDrippingEjection::correct(), curvatureSeparation::correct(), fixedCoeff::correct(), kOmega< BasicMomentumTransportModel >::correct(), kEpsilon< compressible::momentumTransportModel >::correct(), RNGkEpsilon< BasicMomentumTransportModel >::correct(), realizableKE< BasicMomentumTransportModel >::correct(), SpalartAllmaras< BasicMomentumTransportModel >::correct(), EDC::correct(), kOmega2006< BasicMomentumTransportModel >::correct(), SpalartAllmarasDES< BasicMomentumTransportModel >::correct(), MaxwellStefan< unityLewisFourier< laminarThermophysicalTransportModel > >::correct(), kEpsilonLopesdaCosta< BasicMomentumTransportModel >::correct(), kOmegaSST< eddyViscosity< RASModel< BasicMomentumTransportModel > >, BasicMomentumTransportModel >::correct(), standardPhaseChange::correctModel(), waxSolventEvaporation::correctModel(), kOmegaSSTLM< BasicMomentumTransportModel >::correctReThetatGammaInt(), Foam::correctUphiBCs(), perfectFluid< Specie >::Cp(), perfectFluid< Specie >::CpMCv(), Foam::fvc::ddt(), Fickian< unityLewisFourier< laminarThermophysicalTransportModel > >::DEff(), MaxwellStefan< unityLewisFourier< laminarThermophysicalTransportModel > >::DEff(), forces::devTau(), ThermoSurfaceFilm< CloudType >::drySplashInteraction(), linear< Type >::E(), Ea(), hTabulatedThermo< EquationOfState >::Ea(), Es(), hTabulatedThermo< EquationOfState >::Es(), EulerDdtScheme< Type >::EulerDdtScheme(), scalarTransport::execute(), age::execute(), phaseScalarTransport::execute(), PatchFlowRateInjection< CloudType >::flowRate(), flowRateInletVelocityFvPatchVectorField::flowRateInletVelocityFvPatchVectorField(), flowRateOutletVelocityFvPatchVectorField::flowRateOutletVelocityFvPatchVectorField(), for(), forAll(), EulerD2dt2Scheme< Type >::fvcD2dt2(), EulerDdtScheme< Type >::fvcDdt(), CoEulerDdtScheme< Type >::fvcDdt(), SLTSDdtScheme< Type >::fvcDdt(), backwardDdtScheme< Type >::fvcDdt(), CrankNicolsonDdtScheme< Type >::fvcDdt(), fvModels::global(), eConstThermo< EquationOfState >::Gstd(), ePowerThermo< EquationOfState >::Gstd(), ePolynomialThermo< EquationOfState, PolySize >::Gstd(), incompressiblePerfectGas< Specie >::H(), linear< Type >::H(), icoTabulated< Specie >::H(), perfectFluid< Specie >::H(), Boussinesq< Specie >::H(), icoPolynomial< Specie, PolySize >::H(), Ha(), eTabulatedThermo< EquationOfState >::Ha(), Hs(), eTabulatedThermo< EquationOfState >::Hs(), if(), PhiScheme< Type, PhiLimiter >::limiter(), localEulerDdtScheme< Type >::localEulerDdtScheme(), steadyStateDdtScheme< Type >::mesh(), boundedDdtScheme< Type >::mesh(), CoEulerDdtScheme< Type >::mesh(), SLTSDdtScheme< Type >::mesh(), backwardDdtScheme< Type >::mesh(), ddtScheme< Type >::mesh(), explicitPorositySource::model(), MomentumTransportModel< volScalarField, geometricOneField, incompressibleMomentumTransportModel, TransportModel >::MomentumTransportModel(), layeredEngineMesh::move(), fvMotionSolverEngineMesh::move(), solidParticleCloud::move(), forces::mu(), NamedEnum< compressibleField, 8 >::names(), parcelCloud::New(), laminarModel< BasicMomentumTransportModel >::New(), RASModel< phaseCompressible::momentumTransportModel >::New(), LESModel< BasicMomentumTransportModel >::New(), IncompressibleMomentumTransportModel< TransportModel >::nu(), fluidThermo::nu(), ReynoldsStress< LESModel< BasicMomentumTransportModel > >::nut(), CrankNicolsonDdtScheme< Type >::ocCoeff(), rhoMagSqr< Type >::operator()(), porosityModel::iNew::operator()(), cavitationModel::pSat(), rPolynomial< Specie >::psi(), MomentumParcel< ParcelType >::readFields(), NullMRF::relative(), valueMultiComponentMixture< ThermoType >::thermoMixture::rho(), SpecieMixture< MixtureType >::rho(), twoPhaseChangeModel::rho2(), SchnerrSauer::SchnerrSauer(), InjectionModel< CloudType >::setNumberOfParticles(), ConeInjection< CloudType >::setProperties(), TDACChemistryModel< ThermoType >::solve(), standardChemistryModel< ThermoType >::solve(), SprayParcel< ParcelType >::solveTABEq(), laminar::Su(), BreakupModel< Foam::SprayCloud< Foam::DSMCCloud > >::TABtwoWeCrit(), wallHeatTransferCoeffModel::tau(), standardChemistryModel< ThermoType >::tc(), chemistryTabulationMethod< ThermoType >::tolerance(), porosityModel::transformModelData(), LISAAtomisation< CloudType >::update(), inclinedFilmNusseltHeightFvPatchScalarField::updateCoeffs(), inclinedFilmNusseltInletVelocityFvPatchVectorField::updateCoeffs(), dynamicPressureFvPatchScalarField::updateCoeffs(), alphaFixedPressureFvPatchScalarField::updateCoeffs(), matchedFlowRateOutletVelocityFvPatchVectorField::updateCoeffs(), uniformTotalPressureFvPatchScalarField::updateCoeffs(), ThermoSurfaceFilm< CloudType >::wetSplashInteraction(), while(), MomentumParcel< ParcelType >::writeFields(), rhoConst< Specie >::Z(), incompressiblePerfectGas< Specie >::Z(), linear< Type >::Z(), icoTabulated< Specie >::Z(), perfectFluid< Specie >::Z(), adiabaticPerfectFluid< Specie >::Z(), Boussinesq< Specie >::Z(), icoPolynomial< Specie, PolySize >::Z(), rPolynomial< Specie >::Z(), rhoTabulated< Specie >::Z(), actuationDiskSource::~actuationDiskSource(), effectivenessHeatExchangerSource::~effectivenessHeatExchangerSource(), interRegionExplicitPorositySource::~interRegionExplicitPorositySource(), isotropicDamping::~isotropicDamping(), linearViscousStress< LESModel< BasicMomentumTransportModel > >::~linearViscousStress(), Maxwell< BasicMomentumTransportModel >::~Maxwell(), nonlinearEddyViscosity< incompressible::RASModel >::~nonlinearEddyViscosity(), noPhaseChange::~noPhaseChange(), twoPhaseChangeModel::~twoPhaseChangeModel(), and verticalDamping::~verticalDamping().

◆ rho0

◆ u0

scalar u0 = h0 - p0/rho0

Definition at line 93 of file readInitialConditions.H.

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

◆ R0

scalar R0 = p0/(rho0*T0)

Definition at line 94 of file readInitialConditions.H.

◆ Rspecific

Rspecific[0] = R0

Definition at line 95 of file readInitialConditions.H.

Referenced by if().

◆ integratedHeat

scalar integratedHeat = 0.0

Definition at line 97 of file readInitialConditions.H.

Referenced by if().