52template<
class BasicTurbulenceModel>
55 public BasicTurbulenceModel
86 typedef typename BasicTurbulenceModel::alphaField
alphaField;
87 typedef typename BasicTurbulenceModel::rhoField
rhoField;
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
virtual tmp< volScalarField > alpha() const
const transportModel & transport() const
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual tmp< volScalarField > epsilon() const
Return the turbulence kinetic energy dissipation rate,.
fluidThermoCompressibleTurbulenceModel::alphaField alphaField
virtual tmp< volSymmTensorField > R() const
Return the Reynolds stress tensor, i.e. 0 for laminar flow.
virtual void printCoeffs(const word &type)
Print model coefficients.
virtual tmp< scalarField > nut(const label patchi) const
Return the turbulence viscosity on patch.
fluidThermoCompressibleTurbulenceModel::rhoField rhoField
virtual void correct()
Correct the laminar transport.
virtual tmp< volScalarField > k() const
Return the turbulence kinetic energy, i.e. 0 for laminar flow.
declareRunTimeSelectionTable(autoPtr, laminarModel, dictionary,(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName),(alpha, rho, U, alphaRhoPhi, phi, transport, propertiesName))
virtual const dictionary & coeffDict() const
Const access to the coefficients dictionary.
static autoPtr< laminarModel > New(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName)
Return a reference to the selected laminar model.
virtual ~laminarModel()=default
Destructor.
virtual tmp< scalarField > nuEff(const label patchi) const
Return the effective viscosity on patch.
TypeName("laminar")
Runtime type information.
virtual tmp< volScalarField > nuEff() const
Return the effective viscosity, i.e. the laminar viscosity.
void operator=(const laminarModel &)=delete
No copy assignment.
laminarModel(const laminarModel &)=delete
No copy construct.
fluidThermoCompressibleTurbulenceModel::transportModel transportModel
virtual tmp< volScalarField > nut() const
Return the turbulence viscosity, i.e. 0 for laminar flow.
laminarModel(const word &type, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
Construct from components.
virtual tmp< volScalarField > omega() const
Return the specific dissipation rate, i.e. 0 for laminar flow.
virtual bool read()
Read model coefficients if they have changed.
A class for managing temporary objects.
static const word propertiesName
Default name of the turbulence properties dictionary.
const surfaceScalarField & alphaRhoPhi() const
Access function to phase flux field.
A class for handling words, derived from Foam::string.
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes).
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.