51 void Foam::fv::buoyancyEnergy::readCoeffs()
53 phaseName_ = coeffs().lookupOrDefault<word>(
"phase",
word::null);
56 coeffs().lookupOrDefault<word>
69 const word& modelType,
74 fvModel(name, modelType, dict, mesh),
100 const word& fieldName
117 const word& fieldName
125 eqn += alpha*rho*(U&
g);
defineTypeNameAndDebug(fixedTemperatureConstraint, 0)
const word & name() const
Return name.
fluidReactionThermo & thermo
Base-class for fluid and solid thermodynamic properties.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual bool read(const dictionary &dict)
Read source dictionary.
Finite volume model abstract base class.
Macros for easy insertion into run-time selection tables.
virtual volScalarField & he()=0
Enthalpy/Internal energy [J/kg].
A class for handling words, derived from string.
static word groupName(Name name, const word &group)
static const word null
An empty word.
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.
static const word dictName
Name of the thermophysical properties dictionary.
virtual void addSup(const volScalarField &rho, fvMatrix< scalar > &eqn, const word &fieldName) const
Add explicit contribution to compressible energy equation.
addToRunTimeSelectionTable(fvConstraint, fixedTemperatureConstraint, dictionary)
List< word > wordList
A List of words.
Mesh data needed to do the Finite Volume discretisation.
A special matrix type and solver, designed for finite volume solutions of scalar equations.
virtual bool read(const dictionary &dict)
Read source dictionary.
const dimensionedVector & g
virtual wordList addSupFields() const
Return the list of fields for which the fvModel adds source term.