35 #ifndef ThermophysicalTransportModel_H
36 #define ThermophysicalTransportModel_H
50 template<
class MomentumTransportModel,
class ThermoModel>
60 typedef typename momentumTransportModel::alphaField
alphaField;
Templated abstract base class for thermophysical transport models.
const momentumTransportModel & momentumTransport_
const momentumTransportModel & momentumTransport() const
Access function to momentum transport model.
virtual const thermoModel & thermo() const
Access function to the fluid thermophysical properties.
declareRunTimeNewSelectionTable(autoPtr, ThermophysicalTransportModel, dictionary,(const momentumTransportModel &momentumTransport, const thermoModel &thermo),(momentumTransport, thermo))
static autoPtr< ThermophysicalTransportModel > New(const momentumTransportModel &transport, const thermoModel &thermo)
Return a reference to the selected thermophysical transport model.
ThermophysicalTransportModel(const momentumTransportModel &momentumTransport, const thermoModel &thermo)
Construct.
virtual ~ThermophysicalTransportModel()
Destructor.
MomentumTransportModel momentumTransportModel
const alphaField & alpha() const
Access function to phase fraction.
momentumTransportModel::alphaField alphaField
void operator=(const ThermophysicalTransportModel &)=delete
Disallow default bitwise assignment.
const thermoModel & thermo_
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....
Abstract base class for fluid thermophysical transport models RAS, LES and laminar.
Macros to ease declaration of run-time selection tables.