96 const word& modelType,
121 const word& fieldName
129 const word& fieldName
virtual ~heatSource()
Destructor.
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...
virtual wordList addSupFields() const
Return the list of fields for which the fvModel adds source term.
virtual bool read(const dictionary &dict)
Read dictionary.
Cell-set fvConstraint abstract base class. Provides a base set of controls regarding the location whe...
Finite volume model abstract base class.
const fvMesh & mesh() const
Return const access to the mesh database.
Model for applying a heat source. Requires either the power, Q, or the power per unit volume...
virtual void addSup(fvMatrix< scalar > &eqn, const word &fieldName) const
Source term to energy equation.
TypeName("heatSource")
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.
heatSource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from dictionary.
Mesh data needed to do the Finite Volume discretisation.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...