Templated abstract base class for RAS thermophysical transport models. More...
Public Types | |
typedef BasicThermophysicalTransportModel::alphaField | alphaField |
typedef BasicThermophysicalTransportModel::momentumTransportModel | momentumTransportModel |
typedef BasicThermophysicalTransportModel::thermoModel | thermoModel |
Public Member Functions | |
TypeName ("RAS") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, RASThermophysicalTransportModel, dictionary,(const momentumTransportModel &momentumTransport, const thermoModel &thermo),(momentumTransport, thermo)) | |
RASThermophysicalTransportModel (const word &type, const momentumTransportModel &momentumTransport, const thermoModel &thermo) | |
Construct from components. More... | |
RASThermophysicalTransportModel (const RASThermophysicalTransportModel &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~RASThermophysicalTransportModel () |
Destructor. More... | |
virtual bool | read () |
Read model coefficients if they have changed. More... | |
virtual const dictionary & | coeffDict () const |
Const access to the coefficients dictionary. More... | |
virtual tmp< volScalarField > | kappaEff () const =0 |
Effective thermal turbulent diffusivity for temperature. More... | |
virtual tmp< scalarField > | kappaEff (const label patchi) const =0 |
Effective thermal turbulent diffusivity for temperature. More... | |
virtual tmp< volScalarField > | alphaEff () const =0 |
Effective thermal turbulent diffusivity of mixture [kg/m/s]. More... | |
virtual tmp< scalarField > | alphaEff (const label patchi) const =0 |
Effective thermal turbulent diffusivity of mixture. More... | |
virtual void | correct () |
Correct the RAS transport. More... | |
void | operator= (const RASThermophysicalTransportModel &)=delete |
Disallow default bitwise assignment. More... | |
Static Public Member Functions | |
static autoPtr< RASThermophysicalTransportModel > | New (const momentumTransportModel &momentumTransport, const thermoModel &thermo) |
Return a reference to the selected RAS model. More... | |
Protected Member Functions | |
virtual void | printCoeffs (const word &type) |
Print model coefficients. More... | |
Protected Attributes | |
dictionary | RASDict_ |
RAS coefficients dictionary. More... | |
Switch | printCoeffs_ |
Flag to print the model coeffs at run-time. More... | |
dictionary | coeffDict_ |
Model coefficients dictionary. More... | |
Templated abstract base class for RAS thermophysical transport models.
Definition at line 49 of file RASThermophysicalTransportModel.H.
typedef BasicThermophysicalTransportModel::alphaField alphaField |
Definition at line 77 of file RASThermophysicalTransportModel.H.
typedef BasicThermophysicalTransportModel::momentumTransportModel momentumTransportModel |
Definition at line 80 of file RASThermophysicalTransportModel.H.
typedef BasicThermophysicalTransportModel::thermoModel thermoModel |
Definition at line 83 of file RASThermophysicalTransportModel.H.
RASThermophysicalTransportModel | ( | const word & | type, |
const momentumTransportModel & | momentumTransport, | ||
const thermoModel & | thermo | ||
) |
Construct from components.
Definition at line 53 of file RASThermophysicalTransportModel.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, dictionary::lookup(), Foam::compressible::New(), Foam::nl, dictionary::subDict(), and thermo.
|
delete |
Disallow default bitwise copy construction.
|
inlinevirtual |
Destructor.
Definition at line 133 of file RASThermophysicalTransportModel.H.
References RASThermophysicalTransportModel< BasicThermophysicalTransportModel >::read().
|
protectedvirtual |
Print model coefficients.
Definition at line 36 of file RASThermophysicalTransportModel.C.
References Foam::endl(), and Foam::Info.
TypeName | ( | "RAS" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
RASThermophysicalTransportModel< BasicThermophysicalTransportModel > | , | ||
dictionary | , | ||
(const momentumTransportModel &momentumTransport, const thermoModel &thermo) | , | ||
(momentumTransport, thermo) | |||
) |
|
static |
Return a reference to the selected RAS model.
|
virtual |
Read model coefficients if they have changed.
Definition at line 160 of file RASThermophysicalTransportModel.C.
References RASThermophysicalTransportModel< BasicThermophysicalTransportModel >::correct(), Foam::blockMeshTools::read(), and Foam::type().
Referenced by RASThermophysicalTransportModel< BasicThermophysicalTransportModel >::~RASThermophysicalTransportModel().
|
inlinevirtual |
Const access to the coefficients dictionary.
Definition at line 143 of file RASThermophysicalTransportModel.H.
References RASThermophysicalTransportModel< BasicThermophysicalTransportModel >::alphaEff(), RASThermophysicalTransportModel< BasicThermophysicalTransportModel >::coeffDict_, RASThermophysicalTransportModel< BasicThermophysicalTransportModel >::correct(), RASThermophysicalTransportModel< BasicThermophysicalTransportModel >::kappaEff(), RASThermophysicalTransportModel< BasicThermophysicalTransportModel >::operator=(), and patchi.
|
pure virtual |
Effective thermal turbulent diffusivity for temperature.
of mixture [W/m/K]
Referenced by RASThermophysicalTransportModel< BasicThermophysicalTransportModel >::coeffDict().
|
pure virtual |
Effective thermal turbulent diffusivity for temperature.
of mixture for patch [W/m/K]
|
pure virtual |
Effective thermal turbulent diffusivity of mixture [kg/m/s].
Referenced by RASThermophysicalTransportModel< BasicThermophysicalTransportModel >::coeffDict().
|
pure virtual |
Effective thermal turbulent diffusivity of mixture.
for patch [kg/m/s]
|
virtual |
Correct the RAS transport.
Definition at line 179 of file RASThermophysicalTransportModel.C.
References correct.
Referenced by RASThermophysicalTransportModel< BasicThermophysicalTransportModel >::coeffDict(), and RASThermophysicalTransportModel< BasicThermophysicalTransportModel >::read().
|
delete |
Disallow default bitwise assignment.
Referenced by RASThermophysicalTransportModel< BasicThermophysicalTransportModel >::coeffDict().
|
protected |
RAS coefficients dictionary.
Definition at line 59 of file RASThermophysicalTransportModel.H.
|
protected |
Flag to print the model coeffs at run-time.
Definition at line 62 of file RASThermophysicalTransportModel.H.
|
protected |
Model coefficients dictionary.
Definition at line 65 of file RASThermophysicalTransportModel.H.
Referenced by RASThermophysicalTransportModel< BasicThermophysicalTransportModel >::coeffDict().