35 #ifndef phaseSolidThermophysicalTransportModel_H
36 #define phaseSolidThermophysicalTransportModel_H
121 virtual bool read() = 0;
Generic GeometricField class.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Abstract base class for solid thermophysical transport models.
virtual tmp< scalarField > qCorr(const label patchi) const =0
Return the patch heat flux correction [W/m^2].
declareRunTimeSelectionTable(autoPtr, phaseSolidThermophysicalTransportModel, dictionary,(const alphaField &alpha, const solidThermo &thermo),(alpha, thermo))
virtual void correct()
Solve the thermophysical transport model equations.
static autoPtr< phaseSolidThermophysicalTransportModel > New(const alphaField &alpha, const solidThermo &thermo)
Return a reference to the selected thermophysical transport model.
const alphaField & alpha_
virtual tmp< fvScalarMatrix > divq(volScalarField &he) const =0
Return the source term for the energy equation.
virtual bool read()=0
Read model coefficients if they have changed.
phaseSolidThermophysicalTransportModel(const word &type, const alphaField &alpha, const solidThermo &thermo)
Construct from solid thermophysical properties.
const solidThermo & thermo_
Reference to the solid thermophysical properties.
const dictionary & coeffDict() const
Const access to the coefficients dictionary.
const alphaField & alpha() const
Return the phase fraction field.
virtual void predict()=0
Predict the thermophysical transport coefficients if possible.
virtual tmp< volScalarField > kappa() const
Thermal conductivity [W/m/K].
virtual tmp< surfaceScalarField > q() const =0
Return the heat flux [W/m^2].
virtual ~phaseSolidThermophysicalTransportModel()
Destructor.
virtual tmp< volScalarField > kappaEff() const
Effective thermal conductivity.
virtual const solidThermo & thermo() const
Access function to solid thermophysical properties.
volScalarField alphaField
Base-class for solid thermodynamic properties.
Abstract base class for all fluid and solid thermophysical transport models.
A class for managing temporary objects.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.