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);
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
defineTypeNameAndDebug(fixedTemperatureConstraint, 0)
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
const word & name() const
Return name.
fluidReactionThermo & thermo
Base-class for fluid and solid thermodynamic properties.
virtual void topoChange(const polyTopoChangeMap &)
Update topology using the given map.
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.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
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.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
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.
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
Class containing mesh-to-mesh mapping information.
virtual wordList addSupFields() const
Return the list of fields for which the fvModel adds source term.
virtual bool movePoints()
Update for mesh motion.