35 #ifndef LESThermophysicalTransportModel_H
36 #define LESThermophysicalTransportModel_H
49 template<
class BasicThermophysicalTransportModel>
52 public BasicThermophysicalTransportModel
77 typedef typename BasicThermophysicalTransportModel::alphaField
83 typedef typename BasicThermophysicalTransportModel::thermoModel
102 (momentumTransport,
thermo)
Templated abstract base class for LES thermophysical transport models.
declareRunTimeSelectionTable(autoPtr, LESThermophysicalTransportModel, dictionary,(const momentumTransportModel &momentumTransport, const thermoModel &thermo),(momentumTransport, thermo))
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
LESThermophysicalTransportModel(const word &type, const momentumTransportModel &momentumTransport, const thermoModel &thermo)
Construct from components.
virtual void correct()
Solve the thermophysical transport model equations.
static autoPtr< LESThermophysicalTransportModel > New(const momentumTransportModel &momentumTransport, const thermoModel &thermo)
Return a reference to the selected LES model.
virtual tmp< volScalarField > kappaEff() const =0
Effective thermal turbulent conductivity.
virtual void predict()
Predict the LES transport coefficients if possible.
void operator=(const LESThermophysicalTransportModel &)=delete
Disallow default bitwise assignment.
dictionary LESDict_
LES coefficients dictionary.
TypeName("LES")
Runtime type information.
BasicThermophysicalTransportModel::thermoModel thermoModel
virtual ~LESThermophysicalTransportModel()
Destructor.
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 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....
A class for managing temporary objects.
A class for handling words, derived from string.
compressibleMomentumTransportModel momentumTransportModel
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