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, Foam::pow(), and T0.

Here is the call graph for this function:

◆ 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< BasicSolidThermo, 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(), tabulatedTransport< Thermo >::alphah(), sutherlandTransport< Thermo >::alphah(), polynomialSolidTransport< Thermo, PolySize >::alphah(), polynomialTransport< Thermo, PolySize >::alphah(), logPolynomialTransport< Thermo, PolySize >::alphah(), liquidProperties::alphah(), SprayParcel< ParcelType >::calc(), ReactingMultiphaseParcel< ParcelType >::calcDevolatilisation(), ReactingParcel< ParcelType >::calcPhaseChange(), tabulatedNTUHeatTransfer::calculateHtc(), Tatsumoto::CHFSubCool(), HuaXu::CHFSubCool(), standardPhaseChange::correctModel(), solidMixtureProperties::Cp(), hConstThermo< EquationOfState >::Cp(), hTabulatedThermo< EquationOfState >::Cp(), phaseModel::Cp(), hPowerThermo< EquationOfState >::Cp(), janafThermo< EquationOfState >::Cp(), liquidMixtureProperties::Cp(), thermo< Thermo, Type >::cp(), hPolynomialThermo< EquationOfState, PolySize >::Cp(), heThermo< BasicSolidThermo, MixtureType >::Cp(), phaseSystem::Cp(), Cv(), StaticPhaseModel< BasePhaseModel >::diffNo(), energyTransport::energyTransport(), setFlow::execute(), energyTransport::execute(), thermo< Thermo, Type >::gamma(), phaseSystem::gamma(), thermoSingleLayer::hs(), ReynoldsAnalogy::htc(), waveModel::initialiseGeometry(), waveMakerPointPatchVectorField::initialiseGeometry(), constTransport< Thermo >::kappa(), WLFTransport< Thermo >::kappa(), heThermo< BasicSolidThermo, MixtureType >::kappa(), heThermo< BasicSolidThermo, MixtureType >::kappaEff(), ThermoParcel< ParcelType >::readFields(), ThermoParcel< ParcelType >::readObjects(), eConstThermo< EquationOfState >::S(), ThermoCloud< Foam::DSMCCloud >::Sh(), alphatWallBoilingWallFunctionFvPatchScalarField::updateCoeffs(), energySpectrum::write(), ThermoParcel< ParcelType >::writeFields(), and ThermoParcel< ParcelType >::writeObjects().

◆ Cv

◆ gamma

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

◆ 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(), autoPtr< Foam::ThermalDiffusivity >::good(), refPtr< Foam::OSstream >::good(), tmp< Foam::surfaceInterpolationScheme< GType > >::good(), objectiveIncompressible::hasBoundarydJdp(), objectiveIncompressible::hasBoundarydJdT(), objectiveIncompressible::hasBoundarydJdTMVar1(), objectiveIncompressible::hasBoundarydJdTMVar2(), objectiveIncompressible::hasBoundarydJdv(), objectiveIncompressible::hasBoundarydJdvn(), objectiveIncompressible::hasBoundarydJdvt(), PrimitivePatch<::Foam::List< labelledTri >, pointField >::hasBoundaryPoints(), RASModelVariables::hasDist(), objectiveIncompressible::hasdJdp(), objectiveIncompressible::hasdJdT(), objectiveIncompressible::hasdJdTMVar1(), objectiveIncompressible::hasdJdTMVar2(), objectiveIncompressible::hasdJdv(), PrimitivePatch<::Foam::List< labelledTri >, pointField >::hasEdgeFaces(), ZoneMesh< cellZone, polyMesh >::hasFaceAreas(), PrimitivePatch<::Foam::List< labelledTri >, pointField >::hasFaceAreas(), PrimitivePatch<::Foam::List< labelledTri >, pointField >::hasFaceCentres(), PrimitivePatch<::Foam::List< labelledTri >, pointField >::hasFaceEdges(), PrimitivePatch<::Foam::List< labelledTri >, pointField >::hasFaceFaces(), faMatrix< Type >::hasFaceFluxCorrection(), fvMatrix< Type >::hasFaceFluxCorrection(), PrimitivePatch<::Foam::List< labelledTri >, pointField >::hasFaceNormals(), sampledCuttingPlane::hasIsoSurface(), sampledIsoSurface::hasIsoSurface(), distanceSurface::hasIsoSurface(), SLGThermo::hasLiquids(), PrimitivePatch<::Foam::List< labelledTri >, pointField >::hasMeshPointMap(), RASModelVariables::hasNut(), mapPolyMesh::hasOldCellVolumes(), PrimitivePatch<::Foam::List< labelledTri >, pointField >::hasPointEdges(), PrimitivePatch<::Foam::List< labelledTri >, pointField >::hasPointFaces(), PrimitivePatch<::Foam::List< labelledTri >, pointField >::hasPointNormals(), blockMesh::hasPointTransforms(), SLGThermo::hasSolids(), fvMeshSubset::hasSubMesh(), polyMesh::hasTetBasePtIs(), RASModelVariables::hasTMVar1(), RASModelVariables::hasTMVar2(), sliceRange::operator bool(), IntRange< label >::operator bool(), autoPtr< Foam::ThermalDiffusivity >::operator bool(), tmp< Foam::surfaceInterpolationScheme< GType > >::operator bool(), refPtr< Foam::OSstream >::operator bool(), ZoneMesh< cellZone, polyMesh >::operator()(), refinementHistory::splitCell8::operator==(), GAMGAgglomeration::processorAgglomerate(), masterUncollatedFileOperation::readAndSend(), mappedPatchBase::sampleDatabase(), profilingPstream::suspend(), Switch::Switch(), rawTopoChangerFvMesh::update(), polyMesh::updateGeomPoints(), scalarRange::valid(), autoPtr< Foam::ThermalDiffusivity >::valid(), tmp< Foam::surfaceInterpolationScheme< GType > >::valid(), refPtr< Foam::OSstream >::valid(), blockMesh::valid(), and coordinateSystem::valid().

◆ else

else
Initial value:
{
const volScalarField& T0 = T.oldTime()

Definition at line 34 of file EEqn.H.

◆ p0

const volScalarField& p0 = p.oldTime()

Definition at line 36 of file EEqn.H.

Referenced by CentredFitSnGradData< Polynomial >::calcFit(), FitData< CentredFitSnGradData< Polynomial >, extendedCentredCellToFaceStencil, Polynomial >::calcFit(), triSurfaceTools::calcInterpolationWeights(), PatchTools::checkOrientation(), SprayParcel< ParcelType >::chi(), polyLine::concat(), 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< Foam::dynamicTreeDataPoint >::overlaps(), indexedOctree< Foam::treeDataPrimitivePatch< PatchType > >::overlaps(), lumpedPointMovement::pointsDisplacement(), lumpedPointMovement::pointsPosition(), BSpline::position(), CatmullRomSpline::position(), polyLine::position(), noiseFFT::PSD(), ReactingMultiphaseParcel< ParcelType >::readObjects(), ReactingHeterogeneousCloud< Foam::DSMCCloud >::setParcelThermoProperties(), ReactingMultiphaseCloud< Foam::DSMCCloud >::setParcelThermoProperties(), tetDecomposer::setRefinement(), noiseFFT::SPL(), surfaceFeatures::subsetPlane(), coordinateScaling< Foam::Vector >::transform(), 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.

Referenced by if().

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

Foam::volScalarField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:57
T
const volScalarField & T
Definition: createFieldRefs.H:2
T0
scalar T0
Definition: createFields.H:22