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
102 (momentumTransport,
thermo)
Generic GeometricField class.
static tmp< GeometricField< Type, PatchField, GeoMesh > > New(const word &name, const Internal &, const PtrList< PatchField< Type >> &, const HashPtrTable< Source > &=HashPtrTable< Source >())
Return a temporary field constructed from name,.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Templated abstract base class for laminar thermophysical transport models.
dictionary coeffDict_
Model coefficients dictionary.
virtual void printCoeffs(const word &type)
Print model coefficients.
virtual const dictionary & coeffDict() const
Const access to the coefficients dictionary.
BasicThermophysicalTransportModel::alphaField alphaField
virtual void correct()
Solve the thermophysical transport model equations.
laminarThermophysicalTransportModel(const word &type, const momentumTransportModel &momentumTransport, const thermoModel &thermo)
Construct from components.
virtual tmp< volScalarField > DEff(const volScalarField &Yi) const =0
Effective mass diffusion coefficient.
static autoPtr< laminarThermophysicalTransportModel > New(const momentumTransportModel &momentumTransport, const thermoModel &thermo)
Return a reference to the selected laminar model.
declareRunTimeSelectionTable(autoPtr, laminarThermophysicalTransportModel, dictionary,(const momentumTransportModel &momentumTransport, const thermoModel &thermo),(momentumTransport, thermo))
virtual void predict()
Predict the laminar transport coefficients if possible.
virtual ~laminarThermophysicalTransportModel()
Destructor.
dictionary laminarDict_
laminar coefficients dictionary
void operator=(const laminarThermophysicalTransportModel &)=delete
Disallow default bitwise assignment.
TypeName("laminar")
Runtime type information.
BasicThermophysicalTransportModel::thermoModel thermoModel
virtual tmp< volScalarField > alphaEff() const
Effective thermal turbulent diffusivity of mixture [kg/m/s].
virtual tmp< volScalarField > kappaEff() const
Effective thermal turbulent conductivity.
BasicThermophysicalTransportModel::momentumTransportModel momentumTransportModel
Switch printCoeffs_
Flag to print the model coeffs at run-time.
virtual bool read()
Read model coefficients if they have changed.
A class for managing temporary objects.
A class for handling words, derived from string.
compressibleMomentumTransportModel momentumTransportModel
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
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.
fluidMulticomponentThermo & thermo