27 #include "surfaceInterpolate.H"
74 calculatedFvPatchScalarField::typeName
85 bool incompressible =
true;
90 incompressible && phases_[phasei].thermo().incompressible();
93 return incompressible;
105 for (
label phasei=1; phasei<phases_.size(); phasei++)
108 phases_[phasei]*phases_[phasei].thermo().psi()
109 /phases_[phasei].thermo().rho();
130 for (
label phasei=1; phasei<phases_.size(); phasei++)
135 phases_[phasei].thermo().kappa()
136 + phases_[phasei].thermo().rho()*phases_[phasei].thermo().Cp()*
nut
149 for (
label phasei=1; phasei<phases_.size(); phasei++)
151 trCv.
ref() += phases_[phasei]/phases_[phasei].thermo().Cv();
162 phases_[phasei].correct(
p(),
T());
169 rho_ = phases_[0]*phases_[0].thermo().rho();
172 for (
label phasei=1; phasei<phases_.size(); phasei++)
174 rho_ += phases_[phasei]*phases_[phasei].thermo().rho();
175 mu += phases_[phasei]*phases_[phasei].thermo().mu();
192 phases_[phasei].thermo().rho() += phases_[phasei].thermo().psi()*dp;
scalar Cp(const scalar p, const scalar T) const
scalar Cv(const scalar p, const scalar T) const
#define forAll(list, i)
Loop across all elements in list.
Generic GeometricField class.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
virtual const volScalarField & Cv() const =0
Heat capacity at constant volume [J/kg/K].
Compressible multiphase mixture for interface-capturing simulations.
tmp< volScalarField > rCv() const
Return the phase-averaged reciprocal Cv.
virtual void correctThermo()
Correct the thermodynamics of each phase.
virtual void correct()
Update properties.
virtual tmp< volScalarField > alphaEff(const volScalarField &nut) const
Return the effective temperature transport coefficient.
virtual tmp< volScalarField > psiByRho() const
Return the mixture compressibility/density.
compressibleMultiphaseVoFMixture(const fvMesh &mesh)
Construct from fvMesh.
void correctRho(const volScalarField &dp)
Update densities for given pressure change.
bool incompressible() const
Return true if all phases are incompressible.
Single compressible phase derived from the VoFphase.
Mesh data needed to do the Finite Volume discretisation.
Multiphase VoF mixture with support for interface properties.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
const volScalarField & psi
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
const dimensionedScalar mu
Atomic mass unit.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const dimensionSet dimKinematicViscosity
void T(LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1)
const dimensionSet dimDensity
defineTypeNameAndDebug(combustionModel, 0)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
fluidMulticomponentThermo & thermo