35 #ifndef laminarThermophysicalTransportModel_H 36 #define laminarThermophysicalTransportModel_H 49 template<
class BasicThermophysicalTransportModel>
52 public BasicThermophysicalTransportModel
77 typedef typename BasicThermophysicalTransportModel::alphaField
83 typedef typename BasicThermophysicalTransportModel::thermoModel
99 const momentumTransportModel& momentumTransport,
102 (momentumTransport, thermo)
112 const momentumTransportModel& momentumTransport,
113 const thermoModel& thermo
128 const momentumTransportModel& momentumTransport,
129 const thermoModel& thermo
164 return this->
thermo().kappa(patchi);
181 return this->
thermo().alphahe(patchi);
Templated abstract base class for laminar thermophysical transport models.
Switch printCoeffs_
Flag to print the model coeffs at run-time.
void operator=(const laminarThermophysicalTransportModel &)=delete
Disallow default bitwise assignment.
virtual const dictionary & coeffDict() const
Const access to the coefficients dictionary.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
fluidReactionThermo & thermo
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual bool read()
Read model coefficients if they have changed.
virtual void correct()
Correct the laminar transport.
dictionary coeffDict_
Model coefficients dictionary.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Internal &, const PtrList< fvPatchField< scalar >> &)
Return a temporary field constructed from name,.
virtual ~laminarThermophysicalTransportModel()
Destructor.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none/any.
laminarThermophysicalTransportModel(const word &type, const momentumTransportModel &momentumTransport, const thermoModel &thermo)
Construct from components.
TypeName("laminar")
Runtime type information.
dictionary laminarDict_
laminar coefficients dictionary
CompressibleMomentumTransportModel< dynamicTransportModel > momentumTransportModel
virtual void printCoeffs(const word &type)
Print model coefficients.
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
static autoPtr< laminarThermophysicalTransportModel > New(const momentumTransportModel &momentumTransport, const thermoModel &thermo)
Return a reference to the selected laminar model.
A class for handling words, derived from string.
declareRunTimeSelectionTable(autoPtr, laminarThermophysicalTransportModel, dictionary,(const momentumTransportModel &momentumTransport, const thermoModel &thermo),(momentumTransport, thermo))
virtual tmp< volScalarField > DEff(const volScalarField &Yi) const =0
Effective mass diffusion coefficient.
BasicThermophysicalTransportModel::thermoModel thermoModel
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
BasicThermophysicalTransportModel::alphaField alphaField
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
BasicThermophysicalTransportModel::momentumTransportModel momentumTransportModel
virtual tmp< volScalarField > alphaEff() const
Effective thermal turbulent diffusivity of mixture [kg/m/s].
A class for managing temporary objects.
virtual tmp< volScalarField > kappaEff() const
Effective thermal turbulent diffusivity for temperature.