EEqn.H File Reference

Go to the source code of this file.

Functions

 if (mag(gamma - min(Cp/Cv).value()) > VSMALL)
 
 if (!local)
 
thermo correct ()
 
rho relax ()
 
rho writeMinMax (Info)
 

Variables

const tmp< volScalarField > & tCp = thermo.Cp()
 
const tmp< volScalarField > & tCv = thermo.Cv()
 
const volScalarField & Cp = tCp()
 
const volScalarField & Cv = tCv()
 
const scalar gamma = max(Cp/Cv).value()
 
const dictionary & thermoDict = thermo.subDict("mixture")
 
const dictionary & eosDict = thermoDict.subDict("equationOfState")
 
 bool = eosDict.getOrDefault("local", false)
 
 else
 
const volScalarField & p0 = p.oldTime()
 
 he = thermo.he(p, pow(p/p0, (gamma - scalar(1))/gamma)*T0)
 
 psi = 1.0/((Cp - Cv)*T)
 
 rho = thermo.rho()
 

Function Documentation

◆ if() [1/2]

if ( mag(gamma - min(Cp/Cv).value())  ,
VSMALL   
)

Definition at line 11 of file EEqn.H.

References notImplemented.

◆ if() [2/2]

if ( local)

Definition at line 26 of file EEqn.H.

References eosDict, gamma, he, p, p0, and T0.

◆ correct()

thermo correct ( )

◆ relax()

rho relax ( )

◆ writeMinMax()

rho writeMinMax ( Info  )

Variable Documentation

◆ tCp

◆ tCv

const tmp<volScalarField>& tCv = thermo.Cv()

Definition at line 5 of file EEqn.H.

Referenced by heThermo< BasicThermo, MixtureType >::Cv().

◆ Cp

const volScalarField& Cp = tCp()

Definition at line 7 of file EEqn.H.

Referenced by solidificationMeltingSource::addSup(), constAnIsoSolidTransport< Thermo >::alphah(), constIsoSolidTransport< Thermo >::alphah(), exponentialSolidTransport< Thermo >::alphah(), polynomialSolidTransport< Thermo, PolySize >::alphah(), tabulatedAnIsoSolidTransport< Thermo >::alphah(), tabulatedSolidTransport< Thermo >::alphah(), logPolynomialTransport< Thermo, PolySize >::alphah(), polynomialTransport< Thermo, PolySize >::alphah(), sutherlandTransport< Thermo >::alphah(), tabulatedTransport< Thermo >::alphah(), liquidProperties::alphah(), SprayParcel< ParcelType >::calc(), ReactingMultiphaseParcel< ParcelType >::calcDevolatilisation(), ReactingParcel< ParcelType >::calcPhaseChange(), tabulatedNTUHeatTransfer::calculateHtc(), HuaXu::CHFSubCool(), Tatsumoto::CHFSubCool(), standardPhaseChange::correctModel(), multiphaseInterSystem::Cp(), thermo< Thermo, Type >::cp(), liquidMixtureProperties::Cp(), phaseModel::Cp(), heThermo< BasicThermo, MixtureType >::Cp(), solidMixtureProperties::Cp(), Cv(), setFlow::execute(), energyTransport::execute(), multiphaseInterSystem::gamma(), thermo< Thermo, Type >::gamma(), ReynoldsAnalogy::htc(), waveMakerPointPatchVectorField::initialiseGeometry(), waveModel::initialiseGeometry(), heThermo< BasicThermo, MixtureType >::kappa(), constTransport< Thermo >::kappa(), WLFTransport< Thermo >::kappa(), multiphaseInterSystem::kappaEff(), heThermo< BasicThermo, MixtureType >::kappaEff(), ThermoParcel< ParcelType >::readFields(), ThermoParcel< ParcelType >::readObjects(), eConstThermo< EquationOfState >::S(), ThermoCloud< Foam::DSMCCloud >::T(), alphatWallBoilingWallFunctionFvPatchScalarField::updateCoeffs(), energySpectrum::write(), ThermoParcel< ParcelType >::writeFields(), and ThermoParcel< ParcelType >::writeObjects().

◆ Cv

◆ gamma

const scalar gamma = max(Cp/Cv).value()

Definition at line 9 of file EEqn.H.

Referenced by P1::calculate(), LiquidEvapFuchsKnudsen< CloudType >::calculate(), ORourkeCollision< CloudType >::collideSorted(), kOmegaSSTBase< BasicEddyViscosityModel >::correct(), absoluteInternalEnergy< Thermo >::CpByCpv(), sensibleInternalEnergy< Thermo >::CpByCpv(), laplacianScheme< Type >::facLaplacian(), gaussLaplacianScheme< Type >::facLaplacian(), laplacianScheme< Type >::famLaplacian(), gaussLaplacianScheme< Type >::famLaplacian(), laplacianScheme< Type, GType >::fvcLaplacian(), gaussLaplacianScheme< Type, GType >::fvcLaplacian(), relaxedNonOrthoGaussLaplacianScheme< Type, GType >::fvcLaplacian(), laplacianScheme< Type, GType >::fvmLaplacian(), gaussLaplacianScheme< Type, GType >::fvmLaplacian(), relaxedNonOrthoGaussLaplacianScheme< Type, GType >::fvmLaplacian(), multiphaseInterSystem::gamma(), heThermo< BasicThermo, MixtureType >::gamma(), chemPointISAT< CompType, ThermoType >::grow(), if(), Foam::fvc::laplacian(), Foam::fvm::laplacian(), Foam::fam::laplacian(), Foam::fac::laplacian(), LBFGS::LBFGSUpdate(), barotropicCompressibilityModel::New(), kOmegaSSTSAS< BasicTurbulenceModel >::Qsas(), PPCG::scalarSolveCG(), rodas23::solve(), rodas34::solve(), Rosenbrock12::solve(), Rosenbrock23::solve(), Rosenbrock34::solve(), MarshakRadiationFvPatchScalarField::updateCoeffs(), MarshakRadiationFixedTemperatureFvPatchScalarField::updateCoeffs(), outletMachNumberPressureFvPatchScalarField::updateCoeffs(), and adjointkOmegaSST::updatePrimalRelatedFields().

◆ thermoDict

◆ eosDict

const dictionary& eosDict = thermoDict.subDict("equationOfState")

Definition at line 18 of file EEqn.H.

Referenced by if().

◆ bool

bool = eosDict.getOrDefault("local", false)

Definition at line 20 of file EEqn.H.

Referenced by profilingPstream::active(), rotorDiskSource::calculate(), wordRe::compile(), ILList< LListBase, T >::eraseHead(), LList< LListBase, T >::eraseHead(), LPtrList< LListBase, T >::eraseHead(), autoPtr< T >::good(), refPtr< T >::good(), tmp< T >::good(), objective::hasBoundarydJdb(), objectiveIncompressible::hasBoundarydJdGradU(), objectiveIncompressible::hasBoundarydJdnut(), objectiveIncompressible::hasBoundarydJdp(), objectiveIncompressible::hasBoundarydJdT(), objectiveIncompressible::hasBoundarydJdTMVar1(), objectiveIncompressible::hasBoundarydJdTMVar2(), objectiveIncompressible::hasBoundarydJdv(), objectiveIncompressible::hasBoundarydJdvn(), objectiveIncompressible::hasBoundarydJdvt(), objective::hasBoundaryEdgeContribution(), PrimitivePatch< FaceList, PointField >::hasBoundaryPoints(), primitiveMesh::hasCellCells(), primitiveMesh::hasCellCentres(), primitiveMesh::hasCellEdges(), primitiveMesh::hasCellPoints(), primitiveMesh::hasCells(), primitiveMesh::hasCellShapes(), primitiveMesh::hasCellVolumes(), RASModelVariables::hasDist(), objective::hasDivDxDbMult(), objective::hasdJdb(), objectiveIncompressible::hasdJdp(), objectiveIncompressible::hasdJdT(), objectiveIncompressible::hasdJdTMVar1(), objectiveIncompressible::hasdJdTMVar2(), objectiveIncompressible::hasdJdv(), objective::hasdndbMult(), objective::hasdSdbMult(), objective::hasdxdbDirectMult(), objective::hasdxdbMult(), primitiveMesh::hasEdgeCells(), PrimitivePatch< FaceList, PointField >::hasEdgeFaces(), primitiveMesh::hasEdgeFaces(), PrimitivePatch< FaceList, PointField >::hasEdges(), primitiveMesh::hasEdges(), ZoneMesh< ZoneType, MeshType >::hasFaceAreas(), PrimitivePatch< FaceList, PointField >::hasFaceAreas(), primitiveMesh::hasFaceAreas(), PrimitivePatch< FaceList, PointField >::hasFaceCentres(), primitiveMesh::hasFaceCentres(), PrimitivePatch< FaceList, PointField >::hasFaceEdges(), primitiveMesh::hasFaceEdges(), PrimitivePatch< FaceList, PointField >::hasFaceFaces(), faMatrix< Type >::hasFaceFluxCorrection(), fvMatrix< Type >::hasFaceFluxCorrection(), PrimitivePatch< FaceList, PointField >::hasFaceNormals(), objective::hasGradDxDbMult(), objective::hasIntegrationEndTime(), objective::hasIntegrationStartTime(), sampledIsoSurface::hasIsoSurface(), sampledCuttingPlane::hasIsoSurface(), distanceSurface::hasIsoSurface(), SLGThermo::hasLiquids(), PrimitivePatch< FaceList, PointField >::hasMeshPointMap(), RASModelVariables::hasNut(), mapPolyMesh::hasOldCellVolumes(), primitiveMesh::hasPointCells(), PrimitivePatch< FaceList, PointField >::hasPointEdges(), primitiveMesh::hasPointEdges(), PrimitivePatch< FaceList, PointField >::hasPointFaces(), primitiveMesh::hasPointFaces(), PrimitivePatch< FaceList, PointField >::hasPointNormals(), primitiveMesh::hasPointPoints(), blockMesh::hasPointTransforms(), SLGThermo::hasSolids(), faMeshSubset::hasSubMesh(), fvMeshSubset::hasSubMesh(), polyMesh::hasTetBasePtIs(), RASModelVariables::hasTMVar1(), RASModelVariables::hasTMVar2(), edgeInterpolation::hasWeights(), surfaceInterpolation::hasWeights(), wordRe::isLiteral(), wordRe::isPattern(), autoPtr< T >::operator bool(), refPtr< T >::operator bool(), tmp< T >::operator bool(), IntRange< IntType >::operator bool(), sliceRange::operator bool(), UPtrList< T >::value_compare< Compare >::operator()(), ZoneMesh< ZoneType, MeshType >::operator()(), refinementHistory::splitCell8::operator==(), GAMGAgglomeration::processorAgglomerate(), masterUncollatedFileOperation::readAndSend(), mappedPatchBase::sampleDatabase(), profilingPstream::suspend(), Switch::Switch(), rawTopoChangerFvMesh::update(), polyMesh::updateGeomPoints(), coordinateSystem::valid(), blockMesh::valid(), autoPtr< T >::valid(), refPtr< T >::valid(), tmp< T >::valid(), and scalarRange::valid().

◆ else

else
Initial value:
{
const volScalarField& T0 = T.oldTime()
const volScalarField & T
scalar T0
Definition: createFields.H:22

Definition at line 33 of file EEqn.H.

◆ p0

const volScalarField& p0 = p.oldTime()

Definition at line 36 of file EEqn.H.

Referenced by CentredFitSnGradData< Polynomial >::calcFit(), triSurfaceTools::calcInterpolationWeights(), PatchTools::checkOrientation(), SprayParcel< ParcelType >::chi(), polyLine::concat(), coordinateScaling< scalar >::coordinateScaling(), noiseFFT::dbToPa(), pointNoise::filterTimeData(), searchableSurfacesQueries::findAnyIntersection(), InjectionModel< CloudType >::findCellAtPosition(), refinementSurfaces::findHigherIntersection(), searchableExtrudedCircle::findParametricNearest(), Foam::getTetCutIndex(), if(), triangle2D::interArea(), triangleFuncs::intersectBb(), sumParticleOp< VOFParticle >::operator()(), distributedTriSurfaceMesh::overlappingSurface(), dynamicIndexedOctree< Type >::overlaps(), indexedOctree< Type >::overlaps(), BSpline::position(), CatmullRomSpline::position(), polyLine::position(), noiseFFT::PSD(), ReactingMultiphaseCloud< Foam::DSMCCloud >::ReactingMultiphaseCloud(), ReactingMultiphaseParcel< ParcelType >::readObjects(), tetDecomposer::setRefinement(), noiseFFT::SPL(), surfaceFeatures::subsetPlane(), fanPressureFvPatchScalarField::updateCoeffs(), rotatingTotalPressureFvPatchScalarField::updateCoeffs(), totalPressureFvPatchScalarField::updateCoeffs(), uniformTotalPressureFvPatchScalarField::updateCoeffs(), cuttingSurfaceBase::walkCellCuts(), ReactingHeterogeneousParcel< ParcelType >::writeFields(), ReactingMultiphaseParcel< ParcelType >::writeFields(), coupledPolyPatch::writeOBJ(), ReactingHeterogeneousParcel< ParcelType >::writeObjects(), and ReactingMultiphaseParcel< ParcelType >::writeObjects().

◆ he

he = thermo.he(p, pow(p/p0, (gamma - scalar(1))/gamma)*T0)

Definition at line 38 of file EEqn.H.

◆ psi

psi = 1.0/((Cp - Cv)*T)

Definition at line 43 of file EEqn.H.

◆ rho

rho = thermo.rho()

Definition at line 45 of file EEqn.H.