33 template<
class BasePhaseModel>
37 const word& phaseName,
38 const bool referencePhase,
42 BasePhaseModel(fluid, phaseName, referencePhase, index),
43 thermophysicalTransport_
52 template<
class BasePhaseModel>
59 template<
class BasePhaseModel>
66 template<
class BasePhaseModel>
69 BasePhaseModel::correctThermo();
71 this->thermo_->correct();
75 template<
class BasePhaseModel>
79 BasePhaseModel::predictThermophysicalTransport();
80 thermophysicalTransport_->predict();
84 template<
class BasePhaseModel>
88 BasePhaseModel::correctThermophysicalTransport();
89 thermophysicalTransport_->correct();
93 template<
class BasePhaseModel>
97 return thermophysicalTransport_->kappaEff(
patchi);
101 template<
class BasePhaseModel>
105 return thermophysicalTransport_->divq(
he);
109 template<
class BasePhaseModel>
Generic GeometricField class.
virtual void correctThermo()
Correct the thermodynamics.
virtual void predictThermophysicalTransport()
Predict the energy transport e.g. alphat.
virtual ~SolidThermalPhaseModel()
Destructor.
virtual void correctThermophysicalTransport()
Correct the energy transport e.g. alphat.
virtual bool isothermal() const
Return whether the phase is isothermal.
SolidThermalPhaseModel(const phaseSystem &fluid, const word &phaseName, const bool referencePhase, const label index)
virtual tmp< fvScalarMatrix > heEqn()
Return the enthalpy equation.
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.
Abstract base class for solid thermophysical transport models.
Class to represent a system of phases and model interfacial transfers between them.
A class for managing temporary objects.
A class for handling words, derived from string.
Calculate the laplacian of the given field.
Calculate the matrix for the first temporal derivative.
Calculate the matrix for implicit and explicit sources.
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
tmp< fvMatrix< Type > > ddt(const VolField< Type > &vf)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.