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 local = 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(), T0, and thermo.

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(), tabulatedSolidTransport< Thermo >::alphah(), tabulatedTransport< Thermo >::alphah(), tabulatedAnIsoSolidTransport< 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(), hPowerThermo< EquationOfState >::Cp(), phaseModel::Cp(), janafThermo< EquationOfState >::Cp(), thermo< Thermo, Type >::cp(), liquidMixtureProperties::Cp(), hPolynomialThermo< EquationOfState, PolySize >::Cp(), heThermo< BasicSolidThermo, MixtureType >::Cp(), multiphaseInterSystem::Cp(), Cv(), StaticPhaseModel< BasePhaseModel >::diffNo(), energyTransport::energyTransport(), setFlow::execute(), energyTransport::execute(), thermo< Thermo, Type >::gamma(), multiphaseInterSystem::gamma(), thermoSingleLayer::hs(), ReynoldsAnalogy::htc(), waveModel::initialiseGeometry(), waveMakerPointPatchVectorField::initialiseGeometry(), constTransport< Thermo >::kappa(), WLFTransport< Thermo >::kappa(), heThermo< BasicSolidThermo, MixtureType >::kappa(), heThermo< BasicSolidThermo, MixtureType >::kappaEff(), multiphaseInterSystem::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()

Definition at line 9 of file EEqn.H.

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

◆ thermoDict

◆ eosDict

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

Definition at line 18 of file EEqn.H.

Referenced by if().

◆ local

◆ else

else
Initial value:
{
const volScalarField& T0 = T.oldTime()
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:81
const volScalarField & T
scalar T0
Definition: createFields.H:22

Definition at line 34 of file EEqn.H.

◆ p0

const volScalarField& p0 = p.oldTime()

Definition at line 36 of file EEqn.H.

Referenced by triangle< Point, PointRef >::areaNormal(), line< Point, PointRef >::box(), tetrahedron< Point, PointRef >::box(), triangle< Point, PointRef >::box(), CentredFitSnGradData< Polynomial >::calcFit(), FitData< CentredFitSnGradData< Polynomial >, extendedCentredCellToFaceStencil, Polynomial >::calcFit(), triSurfaceTools::calcInterpolationWeights(), triangle< Point, PointRef >::centre(), 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(), Foam::linearWeight(), sumParticleOp< VOFParticle >::operator()(), lumpedPointMovement::pointsDisplacement(), lumpedPointMovement::pointsPosition(), BSpline::position(), CatmullRomSpline::position(), polyLine::position(), noiseFFT::PSD(), Foam::quadraticWeight(), ReactingMultiphaseParcel< ParcelType >::readObjects(), ReactingHeterogeneousCloud< Foam::DSMCCloud >::setParcelThermoProperties(), ReactingMultiphaseCloud< Foam::DSMCCloud >::setParcelThermoProperties(), ConeNozzleInjection< CloudType >::setProperties(), tetDecomposer::setRefinement(), noiseFFT::SPL(), surfaceFeatures::subsetPlane(), tetCell::tetCell(), tetPoints::tetPoints(), coordinateScaling< Foam::vector >::transform(), triFace::triFace(), triPoints::triPoints(), triangle< Point, PointRef >::unitNormal(), uniformTotalPressureFvPatchScalarField::updateCoeffs(), cuttingSurfaceBase::walkCellCuts(), STLtriangle::write(), ReactingHeterogeneousParcel< ParcelType >::writeFields(), ReactingMultiphaseParcel< ParcelType >::writeFields(), OBJstream::writeLine(), 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.