Go to the documentation of this file.
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;
220 void buoyancyTurbSourceK(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,
A class for handling words, derived from Foam::string.
Intermediate abstract class for handling cell-set options for the derived fvOptions.
A class for managing temporary objects.
TypeName("buoyancyTurbSource")
Runtime type information.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
virtual bool read(const dictionary &dict)
Read source dictionary - no-op.
virtual void addSup(fvMatrix< scalar > &eqn, const label fieldi)
void operator=(const buoyancyTurbSource &)=delete
No copy assignment.
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
Applies sources on turbulent kinetic energy (i.e. k) and either turbulent kinetic energy dissipation ...
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Generic dimensioned Type class.
Mesh data needed to do the Finite Volume discretisation.
buoyancyTurbSource(const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from explicit source name and mesh.
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
virtual ~buoyancyTurbSource()=default
Destructor.