34 template<
class AlphaFieldType,
class RhoFieldType>
35 void Foam::fv::atmBuoyancyTurbSource::atmBuoyancyTurbSourceEpsilon
37 const AlphaFieldType&
alpha,
38 const RhoFieldType&
rho,
39 fvMatrix<scalar>& eqn,
50 const tmp<volScalarField> tk(turbPtr->k());
52 const tmp<volScalarField> tepsilon(turbPtr->epsilon());
66 template<
class AlphaFieldType,
class RhoFieldType>
67 void Foam::fv::atmBuoyancyTurbSource::atmBuoyancyTurbSourceOmega
69 const AlphaFieldType&
alpha,
70 const RhoFieldType&
rho,
71 fvMatrix<scalar>& eqn,
82 const tmp<volScalarField> tk(turbPtr->k());
84 const tmp<volScalarField> tomega(turbPtr->omega());
113 template<
class AlphaFieldType,
class RhoFieldType>
114 void Foam::fv::atmBuoyancyTurbSource::atmBuoyancyTurbSourceK
116 const AlphaFieldType&
alpha,
117 const RhoFieldType&
rho,
118 fvMatrix<scalar>& eqn,
122 const auto* turbPtr =
128 const tmp<volScalarField> tk(turbPtr->k());
Type & lookupObjectRef(const word &name, const bool recursive=false) const
Lookup and return non-const reference to the object of the given Type. Fatal if not found or the wron...
const fvMesh & mesh_
Reference to the mesh database.
const dimensionedScalar G
Newtonian constant of gravitation.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
ThermalDiffusivity< CompressibleTurbulenceModel< fluidThermo > > turbulenceModel
const Type * findObject(const word &name, const bool recursive=false) const
Return const pointer to the object of the given Type.
label k
Boltzmann constant.
DimensionedField< scalar, volMesh > Internal
The internal field type from which this GeometricField is derived.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
static word scopedName(const std::string &scope, const word &name)
Create scope:name or scope_name string.
static const word propertiesName
Default name of the turbulence properties dictionary.
zeroField Sp(const Foam::zero, const GeometricField< Type, fvPatchField, volMesh > &)
A no-op source.
dimensionedScalar beta("beta", dimless/dimTemperature, laminarTransport)
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].