47 #ifndef pressureWork_H
48 #define pressureWork_H
107 const word& eqnFieldName
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
This class stores the coefficients of a Lagrangian equation, and facilitates solving that equation an...
Class containing Lagrangian geometry and topology.
Base class for Lagrangian models.
const LagrangianMesh & mesh() const
The mesh.
static word fieldName(const AlphaRhoFieldType &alphaRhoField, const AlphaRhoFieldTypes &... alphaRhoFields)
Return the name of the field associated with a source term.
const word & name() const
The source name.
Model for pressure work. Subtracts the pressure-volume work associated with particle expansion from t...
virtual wordList addSupFields() const
Return the name of the energy field.
virtual bool addsSupToField(const word &fieldName, const word &eqnFieldName) const
Return true for the energy or carrier energy field.
TypeName("pressureWork")
Runtime type information.
virtual void addSup(const LagrangianSubScalarField &deltaT, const LagrangianSubScalarSubField &vOrM, const LagrangianSubScalarSubField &e, LagrangianEqn< scalar > &eqn) const
Add a source term to the energy equation.
virtual void preAddSup(const LagrangianSubScalarField &deltaT, const bool final)
Hook before source evaluation.
virtual void postAddSup(const LagrangianSubScalarField &deltaT, const bool final)
Hook after source evaluation.
pressureWork(const word &name, const LagrangianMesh &mesh, const dictionary &modelDict, const dictionary &stateDict)
Construct from components.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mix-in for Lagrangian models that refer to a cloud.
Base class for clouds with thermodynamic modelling.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
static dictionary stateDict(const word &name, const objectRegistry &db)
Construct and return the state dictionary for reading.
A class for handling words, derived from string.