Go to the source code of this file.
Functions | |
word | constProp (initialConditions.lookup("constantProperty")) |
if ((constProp !="pressure") &&(constProp !="volume")) | |
word | fractionBasis (initialConditions.lookup("fractionBasis")) |
if ((fractionBasis !="mass") &&(fractionBasis !="mole")) | |
PtrList< gasHThermoPhysics > | specieData (Y.size()) |
forAll (specieData, i) | |
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 | |
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 |
word constProp | ( | initialConditions. | lookup"constantProperty" | ) |
Referenced by moleculeCloud::buildConstProps(), and if().
if | ( | (constProp !="pressure") &&(constProp !="volume") | ) |
Definition at line 2 of file readInitialConditions.H.
References Foam::abort(), constProp(), Foam::FatalError, and Foam::nl.
word fractionBasis | ( | initialConditions. | lookup"fractionBasis" | ) |
if | ( | (fractionBasis !="mass") &&(fractionBasis !="mole") | ) |
Definition at line 10 of file readInitialConditions.H.
References Foam::abort(), Foam::FatalError, fractionBasis(), and Foam::nl.
PtrList<gasHThermoPhysics> specieData | ( | Y. | size() | ) |
forAll | ( | specieData | , |
i | |||
) |
Definition at line 19 of file readInitialConditions.H.
References specieData().
Referenced by if().
scalarList Y0 | ( | nSpecie | , |
0. | 0 | ||
) |
Referenced by forAll(), if(), and phaseProperties::reorder().
scalarList X0 | ( | nSpecie | , |
0. | 0 | ||
) |
dictionary fractions | ( | initialConditions. | subDict"fractions" | ) |
if | ( | fractionBasis | = = "mole" | ) |
Definition at line 36 of file readInitialConditions.H.
References forAll(), fractions(), mTot, mw, Foam::name(), readScalar, specieData(), Foam::sum(), X0(), Y, and Y0().
forAll | ( | Y | , |
i | |||
) |
Definition at line 73 of file readInitialConditions.H.
References mTot, specieData(), and Y0().
thermo he | ( | ) |
Definition at line 56 of file YEEqn.H.
Referenced by interRegionHeatTransferModel::addSup(), heRhoThermo< BasicPsiThermo, MixtureType >::calculate(), boundaryLayerOptimisation::calculateHairVectorsAtTheBoundary(), boundaryLayerOptimisation::calculateNormalVectorsSmother(), boundaryLayerOptimisation::calculateThickness(), boundaryLayerOptimisation::calculateThicknessOverCell(), limitTemperature::correct(), detectBoundaryLayers::generateHairEdges(), heThermo< BasicSolidThermo, MixtureType >::he(), thermo< Thermo, Type >::he(), heThermo< BasicSolidThermo, MixtureType >::init(), boundaryLayerOptimisation::optimiseHairNormalsAtTheBoundary(), boundaryLayerOptimisation::optimiseHairNormalsInside(), boundaryLayerOptimisation::optimiseThicknessVariation(), radiationModel::Sh(), thermo< Thermo, Type >::THE(), basicThermo::validate(), and boundaryLayerOptimisation::writeHairEdges().
thermo correct | ( | ) |
label nSpecie = Y.size() |
Definition at line 17 of file readInitialConditions.H.
Referenced by chemistryModel< CompType, ThermoType >::jacobian(), ode< ChemistryModel >::solve(), and EulerImplicit< ChemistryModel >::solve().
else |
const scalar mTot = sum(Y0) |
Definition at line 72 of file readInitialConditions.H.
Referenced by ORourkeCollision< CloudType >::collideSorted(), forAll(), and if().
const scalar mw = 1.0/invW |
Definition at line 78 of file readInitialConditions.H.
Referenced by if().
scalar h0 = 0.0 |
Definition at line 86 of file readInitialConditions.H.
rho = thermo.rho() |
Definition at line 96 of file readInitialConditions.H.
scalar rho0 = rho[0] |
Definition at line 97 of file readInitialConditions.H.
Referenced by SprayParcel::calc(), wallHeatFluxFvPatchScalarField::updateCoeffs(), and turbulentTemperatureRadFixedGradientFvPatchScalarField::updateCoeffs().
Definition at line 98 of file readInitialConditions.H.
Referenced by if(), triangleFuncs::intersectAxesBundle(), Foam::help::pointInTetrahedron(), and Foam::help::triLineIntersection().
scalar R0 = p0/(rho0*T0) |
Definition at line 99 of file readInitialConditions.H.
Rspecific[0] = R0 |
Definition at line 100 of file readInitialConditions.H.
Referenced by if().
scalar integratedHeat = 0.0 |
Definition at line 102 of file readInitialConditions.H.
Referenced by if().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.