31 template<
class BasePhaseModel>
36 const word& phaseName,
37 const bool referencePhase,
41 BasePhaseModel(fluid, phaseName, referencePhase, index),
42 thermophysicalTransport_
46 this->momentumTransport_,
55 template<
class BasePhaseModel>
63 template<
class BasePhaseModel>
67 BasePhaseModel::predictThermophysicalTransport();
68 thermophysicalTransport_->predict();
72 template<
class BasePhaseModel>
76 BasePhaseModel::correctThermophysicalTransport();
77 thermophysicalTransport_->correct();
81 template<
class BasePhaseModel>
88 return thermophysicalTransport_->kappaEff(
patchi);
92 template<
class BasePhaseModel>
99 return thermophysicalTransport_->divq(
he);
103 template<
class BasePhaseModel>
110 return thermophysicalTransport_->divj(Yi);
Generic GeometricField class.
Templated base class for multiphase thermophysical transport models.
ThermophysicalTransportPhaseModel(const phaseSystem &fluid, const word &phaseName, const bool referencePhase, const label index)
virtual void predictThermophysicalTransport()
Predict the energy transport e.g. alphat.
virtual tmp< fvScalarMatrix > divj(volScalarField &Yi) const
Return the source term for a specie mass-fraction equation.
virtual void correctThermophysicalTransport()
Correct the energy transport e.g. alphat.
virtual ~ThermophysicalTransportPhaseModel()
Destructor.
virtual tmp< scalarField > kappaEff(const label patchi) const
Return the effective thermal conductivity on a patch.
virtual tmp< fvScalarMatrix > divq(volScalarField &he) const
Return the source term for the energy equation.
Class to represent a system of phases.
A class for managing temporary objects.
A class for handling words, derived from string.
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.