Loading...
Searching...
No Matches
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 Cp, Cv, gamma, and notImplemented.

◆ if() [2/2]

if ( ! local)

Definition at line 26 of file EEqn.H.

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

◆ correct()

thermo correct ( )

◆ relax()

rho relax ( )

References rho.

◆ writeMinMax()

rho writeMinMax ( Info )

References rho.

Variable Documentation

◆ tCp

◆ tCv

◆ 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(), liquidProperties::alphah(), logPolynomialTransport< Thermo, PolySize >::alphah(), polynomialSolidTransport< Thermo, PolySize >::alphah(), polynomialTransport< Thermo, PolySize >::alphah(), sutherlandTransport< Thermo >::alphah(), tabulatedAnIsoSolidTransport< Thermo >::alphah(), tabulatedSolidTransport< Thermo >::alphah(), tabulatedTransport< Thermo >::alphah(), SprayParcel< ParcelType >::calc(), ReactingMultiphaseParcel< ParcelType >::calcDevolatilisation(), ReactingParcel< ParcelType >::calcPhaseChange(), tabulatedNTUHeatTransfer::calculateHtc(), HuaXu::CHFSubCool(), Tatsumoto::CHFSubCool(), standardPhaseChange::correctModel(), phaseModel::Cp(), multiphaseInterSystem::Cp(), thermo< Thermo, Type >::cp(), Cv(), energyTransport::energyTransport(), energyTransport::execute(), setFlow::execute(), multiphaseInterSystem::gamma(), thermo< Thermo, Type >::gamma(), ReynoldsAnalogy::htc(), if(), waveMakerPointPatchVectorField::initialiseGeometry(), waveModel::initialiseGeometry(), constTransport< Thermo >::kappa(), heThermo< BasicThermo, MixtureType >::kappa(), heThermo< BasicThermo, MixtureType >::kappa(), WLFTransport< Thermo >::kappa(), heThermo< BasicThermo, MixtureType >::kappaEff(), heThermo< BasicThermo, MixtureType >::kappaEff(), multiphaseInterSystem::kappaEff(), multiphaseInterSystem::kappaEff(), ThermoParcel< ParcelType >::readFields(), eConstThermo< EquationOfState >::S(), ThermoCloud< CloudType >::Sh(), solidIsothermalReactionRate::solidIsothermalReactionRate(), alphatWallBoilingWallFunctionFvPatchScalarField::updateCoeffs(), energySpectrum::write(), and ThermoParcel< ParcelType >::writeFields().

◆ Cv

◆ gamma

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

Definition at line 9 of file EEqn.H.

Referenced by Foam::addToRunTimeSelectionTable(), adiabaticPerfectFluid< Specie >::adiabaticPerfectFluid(), barotropicCompressibilityModel::barotropicCompressibilityModel(), LiquidEvapFuchsKnudsen< CloudType >::calculate(), P1::calculate(), Chung::Chung(), ORourkeCollision< CloudType >::collideSorted(), kOmegaSSTBase< BasicEddyViscosityModel >::correct(), absoluteInternalEnergy< Thermo >::CpByCpv(), sensibleInternalEnergy< Thermo >::CpByCpv(), barotropicCompressibilityModel::declareRunTimeSelectionTable(), gaussLaplacianScheme< Type >::facLaplacian(), laplacianScheme< Type >::facLaplacian(), gaussLaplacianScheme< Type >::famLaplacian(), laplacianScheme< Type >::famLaplacian(), fusedGaussLaplacianScheme< Type, GType >::fvcLaplacian(), fusedGaussLaplacianScheme< Type, GType >::fvcLaplacian(), fusedGaussLaplacianScheme< Type, GType >::fvcLaplacian(), gaussLaplacianScheme< Type, GType >::fvcLaplacian(), laplacianScheme< Type, GType >::fvcLaplacian(), relaxedNonOrthoGaussLaplacianScheme< Type, GType >::fvcLaplacian(), fusedGaussLaplacianScheme< Type, GType >::fvmLaplacian(), fusedGaussLaplacianScheme< Type, GType >::fvmLaplacian(), gaussLaplacianScheme< Type, GType >::fvmLaplacian(), laplacianScheme< Type, GType >::fvmLaplacian(), relaxedNonOrthoGaussLaplacianScheme< Type, GType >::fvmLaplacian(), multiphaseInterSystem::gamma(), Foam::fvc::GaussOp(), chemPointISAT< CompType, ThermoType >::grow(), if(), if(), LBFGS::invHessianVectorProduct(), Foam::fac::laplacian(), Foam::fac::laplacian(), Foam::fac::laplacian(), Foam::fac::laplacian(), Foam::fac::laplacian(), Foam::fac::laplacian(), Foam::fac::laplacian(), Foam::fac::laplacian(), Foam::fam::laplacian(), Foam::fam::laplacian(), Foam::fam::laplacian(), Foam::fam::laplacian(), Foam::fvc::laplacian(), Foam::fvc::laplacian(), Foam::fvc::laplacian(), Foam::fvc::laplacian(), Foam::fvc::laplacian(), Foam::fvc::laplacian(), Foam::fvc::laplacian(), Foam::fvc::laplacian(), Foam::fvc::laplacian(), Foam::fvc::laplacian(), Foam::fvc::laplacian(), Foam::fvc::laplacian(), Foam::fvm::laplacian(), Foam::fvm::laplacian(), Foam::fvm::laplacian(), Foam::fvm::laplacian(), Foam::fvm::laplacian(), Foam::fvm::laplacian(), linear::linear(), makeFvLaplacianScheme(), barotropicCompressibilityModel::New(), PPCG::scalarSolveCG(), pLaplacianMotionSolver::solve(), Foam::fvc::surfaceSnSum(), Foam::fvc::surfaceSnSum(), Chung::TypeName(), linear::TypeName(), Wallis::TypeName(), MMA::updateBounds(), outletMachNumberPressureFvPatchScalarField::updateCoeffs(), MarshakRadiationFixedTemperatureFvPatchScalarField::updateCoeffs(), MarshakRadiationFvPatchScalarField::updateCoeffs(), adjointkOmegaSST::updatePrimalRelatedFields(), and Wallis::Wallis().

◆ thermoDict

const dictionary& thermoDict = thermo.subDict("mixture")

Definition at line 16 of file EEqn.H.

Referenced by basicCombustionMixture::basicCombustionMixture(), basicMultiComponentMixture::basicMultiComponentMixture(), basicSpecieMixture::basicSpecieMixture(), chemkinReader::chemkinReader(), chemistryReader< ThermoType >::declareRunTimeSelectionTable(), egrMixture< ThermoType >::egrMixture(), foamChemistryReader< ThermoType >::foamChemistryReader(), homogeneousMixture< ThermoType >::homogeneousMixture(), inhomogeneousMixture< ThermoType >::inhomogeneousMixture(), multiComponentMixture< ThermoType >::multiComponentMixture(), multiComponentMixture< ThermoType >::multiComponentMixture(), basicSolidChemistryModel::New(), basicThermo::New(), basicThermo::New(), chemistryReader< ThermoType >::New(), pureMixture< ThermoType >::pureMixture(), pureZoneMixture< ThermoType >::pureZoneMixture(), pyrolysisChemistryModel< CompType, SolidThermo, GasThermo >::pyrolysisChemistryModel(), reactingMixture< ThermoType >::reactingMixture(), egrMixture< ThermoType >::read(), homogeneousMixture< ThermoType >::read(), inhomogeneousMixture< ThermoType >::read(), multiComponentMixture< ThermoType >::read(), pureMixture< ThermoType >::read(), pureZoneMixture< ThermoType >::read(), reactingMixture< ThermoType >::read(), singleComponentMixture< ThermoType >::read(), singleStepReactingMixture< ThermoType >::read(), veryInhomogeneousMixture< ThermoType >::read(), singleComponentMixture< ThermoType >::singleComponentMixture(), singleStepReactingMixture< ThermoType >::singleStepReactingMixture(), SpecieMixture< MixtureType >::SpecieMixture(), SpecieMixture< reactingMixture< constIsoSolidTransportsensibleEnthalpyhConstThermorhoConstspecie > >::SpecieMixture(), chemkinReader::TypeName(), foamChemistryReader< ThermoType >::TypeName(), and veryInhomogeneousMixture< ThermoType >::veryInhomogeneousMixture().

◆ eosDict

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

Definition at line 18 of file EEqn.H.

Referenced by if().

◆ local

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

Definition at line 20 of file EEqn.H.

Referenced by Foam::checkData(), coordinateScaling< scalar >::coordinateScaling(), cyclicACMIGAMGInterfaceField::cyclicACMIGAMGInterfaceField(), cyclicAMIGAMGInterfaceField::cyclicAMIGAMGInterfaceField(), cyclicGAMGInterfaceField::cyclicGAMGInterfaceField(), fileOperation::detectProcessorPath(), fileOperation::dirPath(), distributedTriSurfaceMesh::distributedTriSurfaceMesh(), distributedTriSurfaceMesh::distributedTriSurfaceMesh(), distributedTriSurfaceMesh::distributedTriSurfaceMesh(), fileOperation::filePath(), IOobject::globalPath(), coordinateSystem::globalPosition(), coordinateSystem::globalPosition(), coordinateSystem::globalVector(), coordinateSystem::globalVector(), if(), IOobjectList::IOobjectList(), IOobjectList::IOobjectList(), IOobjectList::IOobjectList(), coordinateSystem::localToGlobal(), coordinateSystem::localToGlobal(), cylindrical::localToGlobal(), cylindrical::localToGlobal(), indirect::localToGlobal(), indirect::localToGlobal(), fileOperation::lookupAndCacheProcessorsPath(), UPstream::Window::mpi_win_flushing(), DimensionedField< Type, GeoMesh >::New(), GeometricField< Type, PatchField, GeoMesh >::New(), GeometricField< Type, PatchField, GeoMesh >::New(), GeometricField< Type, PatchField, GeoMesh >::New(), fileOperation::nProcs(), IOobject::objectPath(), IOobject::objectRelPath(), regionProperties::objectRelPath(), coordinateSystem::oneToManyImpl(), IOobject::path(), IOobject::path(), PatchTools::pointNormals(), PatchTools::pointNormals(), fileOperation::readObjects(), dummyFileOperation::readObjects(), masterUncollatedFileOperation::readObjects(), uncollatedFileOperation::readObjects(), regionProperties::regionProperties(), fileOperation::splitProcessorPath(), masterUncollatedFileOperation::sync(), coordinateScaling< scalar >::transform(), cyclicACMIGAMGInterfaceField::TypeName(), cyclicAMIGAMGInterfaceField::TypeName(), cyclicGAMGInterfaceField::TypeName(), uncollatedFileOperation::TypeName(), continuityError::write(), and decomposedBlockData::writeData().

◆ else

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

Definition at line 33 of file EEqn.H.

◆ p0

const volScalarField& p0 = p.oldTime()

Definition at line 36 of file EEqn.H.

Referenced by adiabaticPerfectFluid< Specie >::adiabaticPerfectFluid(), triangle< Point, PointRef >::areaNormal(), triangle< point, const point & >::areaNormal(), tetCell::back(), tetPoints::back(), triFace::back(), triPoints::back(), line< Point, PointRef >::box(), line< point, const point & >::box(), tetrahedron< Point, PointRef >::box(), tetrahedron< point, const point & >::box(), triangle< Point, PointRef >::box(), triangle< point, const point & >::box(), CentredFitSnGradData< Polynomial >::calcFit(), FitData< FitDataType, ExtendedStencil, Polynomial >::calcFit(), triSurfaceTools::calcInterpolationWeights(), viewFactorHottel::calculateFij(), triangle< Point, PointRef >::centre(), triangle< point, const point & >::centre(), PatchTools::checkOrientation(), SprayParcel< ReactingParcel< ThermoParcel< KinematicParcel< particle > > > >::chi(), raySearchEngine::closestPointIndex(), ReactingHeterogeneousCloud< Foam::DSMCCloud< dsmcParcel > >::cloudReset(), ReactingMultiphaseCloud< Foam::DSMCCloud< dsmcParcel > >::cloudReset(), polyLine::concat(), coordinateScaling< scalar >::coordinateScaling(), pointMeshTools::featurePointsEdges(), pointNoise::filterTimeData(), searchableSurfacesQueries::findAnyIntersection(), InjectionModel< CloudType >::findCellAtPosition(), refinementSurfaces::findHigherIntersection(), searchableExtrudedCircle::findParametricNearest(), Foam::getTetCutIndex(), if(), triangle2D::interArea(), triangleFuncs::intersectBb(), labelledTri::labelledTri(), Foam::linearWeight(), sumParticleOp< VOFParticle >::operator()(), BSpline::position(), CatmullRomSpline::position(), polyLine::position(), Foam::quadraticWeight(), ReactingMultiphaseParcel< ParcelType >::readObjects(), ConeNozzleInjection< CloudType >::setProperties(), tetDecomposer::setRefinement(), STLtriangle::STLtriangle(), STLtriangle::STLtriangle(), surfaceFeatures::subsetPlane(), tetCell::tetCell(), tetPoints::tetPoints(), tetrahedron< Point, PointRef >::tetrahedron(), tetrahedron< point, const point & >::tetrahedron(), triangle< Point, PointRef >::triangle(), triangle< Point, PointRef >::triangle(), triangle< point, const point & >::triangle(), triangle< point, const point & >::triangle(), triFace::triFace(), triPoints::triPoints(), triPoints::triPoints(), triangle< Point, PointRef >::unitNormal(), triangle< point, const point & >::unitNormal(), fanPressureFvPatchScalarField::updateCoeffs(), rotatingTotalPressureFvPatchScalarField::updateCoeffs(), totalPressureFvPatchScalarField::updateCoeffs(), uniformTotalPressureFvPatchScalarField::updateCoeffs(), coupledPolyPatch::updateMesh(), cuttingSurfaceBase::walkCellCuts(), STLtriangle::write(), 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.

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