35 #ifndef RASThermophysicalTransportModel_H
36 #define RASThermophysicalTransportModel_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 RAS 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.
dictionary RASDict_
RAS coefficients dictionary.
static autoPtr< RASThermophysicalTransportModel > New(const momentumTransportModel &momentumTransport, const thermoModel &thermo)
Return a reference to the selected RAS model.
declareRunTimeSelectionTable(autoPtr, RASThermophysicalTransportModel, dictionary,(const momentumTransportModel &momentumTransport, const thermoModel &thermo),(momentumTransport, thermo))
virtual tmp< volScalarField > kappaEff() const =0
Effective thermal turbulent conductivity.
virtual void predict()
Predict the RAS transport coefficients if possible.
virtual ~RASThermophysicalTransportModel()
Destructor.
RASThermophysicalTransportModel(const word &type, const momentumTransportModel &momentumTransport, const thermoModel &thermo)
Construct from components.
void operator=(const RASThermophysicalTransportModel &)=delete
Disallow default bitwise assignment.
BasicThermophysicalTransportModel::thermoModel thermoModel
BasicThermophysicalTransportModel::momentumTransportModel momentumTransportModel
TypeName("RAS")
Runtime type information.
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