47 #ifndef buoyancyEnergy_H 48 #define buoyancyEnergy_H 95 const word& modelType,
120 const word& fieldName
129 const word& fieldName
const word & name() const
Return const access to the source name.
A list of keyword definitions, which are a keyword followed by any number of values (e...
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
Calculates and applies the buoyancy energy source rho*(U&g) to the energy equation.
Finite volume model abstract base class.
const fvMesh & mesh() const
Return const access to the mesh database.
TypeName("buoyancyEnergy")
Runtime type information.
A class for handling words, derived from 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.
buoyancyEnergy(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from explicit source name and mesh.
void operator=(const buoyancyEnergy &)=delete
Disallow default bitwise assignment.
virtual void addSup(const volScalarField &rho, fvMatrix< scalar > &eqn, const word &fieldName) const
Add explicit contribution to compressible energy equation.
Mesh data needed to do the Finite Volume discretisation.
virtual bool read(const dictionary &dict)
Read source dictionary.
virtual wordList addSupFields() const
Return the list of fields for which the fvModel adds source term.