69 const bool print =
true
77 const bool print =
true
84 const bool print =
true
94 const word& modelType,
129 void operator=(const
fvSource&) = delete;
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Dimension set for the base types.
Mesh data needed to do the Finite Volume discretisation.
Finite volume model abstract base class.
const fvMesh & mesh() const
Return const access to the mesh database.
const word & name() const
Return const access to the source name.
static const word & fieldName()
Return the name of the field associated with a source term. Special.
Base class for finite volume sources.
static void infoField(const word &name, const dimensionSet &dims, const scalarField &field, const bool print=true)
Print min/average/max information for a given field.
TypeName("fvSource")
Runtime type information.
virtual ~fvSource()
Destructor.
virtual wordList addSupFields() const final
Return the list of fields for which the fvModel adds source term.
fvSource(const word &name, const word &modelType, const fvMesh &mesh, const dictionary &dict)
Construct from explicit source name and mesh.
virtual bool addsSupToField(const word &fieldName) const =0
Return true if the fvModel adds a source term to the given.
A class for handling words, derived from string.