39 momentumTransport_(momentumTransport)
55 momentumTransport_.mixture_;
57 if (momentumTransport_.twoPhaseTransport_)
64 *momentumTransport_.momentumTransport1_->nut()
70 *momentumTransport_.momentumTransport2_->nut()
80 *momentumTransport_.mixtureMomentumTransport_->nut()
86 *momentumTransport_.mixtureMomentumTransport_->nut()
99 momentumTransport_.mixture_;
101 if (momentumTransport_.twoPhaseTransport_)
109 *momentumTransport_.momentumTransport1_->nut(
patchi)
116 *momentumTransport_.momentumTransport2_->nut(
patchi)
127 *momentumTransport_.mixtureMomentumTransport_->nut(
patchi)
134 *momentumTransport_.mixtureMomentumTransport_->nut(
patchi)
144 momentumTransport_.mixture_;
146 if (momentumTransport_.twoPhaseTransport_)
153 *momentumTransport_.momentumTransport1_->nut()
159 *momentumTransport_.momentumTransport2_->nut()
169 *momentumTransport_.mixtureMomentumTransport_->nut()
175 *momentumTransport_.mixtureMomentumTransport_->nut()
201 *momentumTransport_.mixture_.T().boundaryField()[
patchi].snGrad();
Generic GeometricField class.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
static tmp< GeometricField< Type, GeoMesh, PrimitiveField > > New(const word &name, const Internal &, const PtrList< Patch > &, const HashPtrTable< Source > &=HashPtrTable< Source >())
Return a temporary field constructed from name,.
virtual const volScalarField & Cv() const =0
Heat capacity at constant volume [J/kg/K].
virtual const volScalarField & Cp() const =0
Heat capacity at constant pressure [J/kg/K].
virtual const volScalarField & kappa() const =0
Thermal conductivity of mixture [W/m/K].
virtual void correct()
Solve the thermophysical transport model equations.
virtual tmp< scalarField > qCorr(const label patchi) const
Return the patch heat flux correction [W/m^2].
virtual void predict()
Predict the transport coefficients if possible.
tmp< volScalarField > alphaEff() const
Return the effective temperature transport coefficient.
compressibleInterPhaseThermophysicalTransportModel(const compressibleInterPhaseTransportModel &momentumTransport)
Construct from components.
virtual tmp< surfaceScalarField > q() const
Return the heat flux [W/m^2].
virtual tmp< volScalarField > kappaEff() const
Effective thermal turbulent conductivity.
virtual bool read()
Read model coefficients if they have changed.
virtual tmp< fvScalarMatrix > divq(volScalarField &he) const
Return the source term for the energy equation.
Transport model selection class for the compressibleInterFoam family of solvers.
Class to represent a mixture of two rhoFluidThermo-based phases.
const rhoFluidThermo & thermo1() const
Return the thermo for phase 1.
const rhoFluidThermo & thermo2() const
Return the thermo for phase 2.
virtual tmp< volScalarField > rho() const =0
Density [kg/m^3].
Abstract base class for all fluid and solid thermophysical transport models.
A class for managing temporary objects.
const volScalarField & alpha1() const
Return the phase-fraction of phase 1.
const volScalarField & alpha2() const
Return the phase-fraction of phase 2.
A class for handling words, derived from string.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
Calculate the snGrad of the given volField.
static tmp< SurfaceField< Type > > interpolate(const VolField< Type > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
tmp< SurfaceField< Type > > snGrad(const VolField< Type > &vf, const word &name)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.