166 #ifndef fv_buoyancyTurbSource_H 167 #define fv_buoyancyTurbSource_H 183 class buoyancyTurbSource
185 public fv::cellSetOption
196 const word alphatName_;
211 tmp<volScalarField::Internal> B()
const;
214 void buoyancyTurbSourceEpsilon(fvMatrix<scalar>& eqn)
const;
217 void buoyancyTurbSourceOmega(fvMatrix<scalar>& eqn)
const;
223 template<
class AlphaFieldType,
class RhoFieldType>
224 void buoyancyTurbSourceK
226 const AlphaFieldType&
alpha,
227 const RhoFieldType&
rho,
244 const word& sourceName,
245 const word& modelType,
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual void addSup(fvMatrix< scalar > &eqn, const label fieldi)
Add explicit contribution to k and epsilon/omega equation for incompressible flow computations...
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
TypeName("buoyancyTurbSource")
Runtime type information.
virtual bool read(const dictionary &dict)
Read source dictionary - no-op.
void operator=(const buoyancyTurbSource &)=delete
No copy assignment.
A class for handling words, derived from Foam::string.
A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
buoyancyTurbSource(const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from explicit source name and mesh.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Mesh data needed to do the Finite Volume discretisation.
virtual ~buoyancyTurbSource()=default
Destructor.
Applies sources on turbulent kinetic energy (i.e. k) and either turbulent kinetic energy dissipation ...
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].