68 #ifndef SemiImplicitSource_H 69 #define SemiImplicitSource_H 84 class SemiImplicitSource;
93 const SemiImplicitSource<Type>&
159 const word& modelType,
volumeModeType wordToVolumeModeType(const word &vtName) const
Helper function to convert from a word to a volumeModeType.
const word & name() const
Return const access to the source name.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
volumeModeType volumeMode_
Volume mode.
virtual bool read(const dictionary &dict)
Read source dictionary.
static const wordList volumeModeTypeNames_
Word list of volume mode type names.
word volumeModeTypeToWord(const volumeModeType &vtType) const
Helper function to convert from a volumeModeType to a word.
TypeName("SemiImplicitSource")
Runtime type information.
List< Tuple2< Type, scalar > > injectionRate_
Source field values.
A class for handling words, derived from string.
scalar VDash_
Volume normalisation.
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.
const fvMesh & mesh() const
Return const access to the mesh database.
const volumeModeType & volumeMode() const
Return const access to the volume mode.
volumeModeType
Enumeration for volume types.
const List< Tuple2< Type, scalar > > & injectionRate() const
Return const access to the source field values.
Mesh data needed to do the Finite Volume discretisation.
virtual void addSup(fvMatrix< Type > &eqn, const label fieldi)
Add explicit contribution to equation.
Cell-set options abtract base class. Provides a base set of controls, e.g.:
Semi-implicit source, described using an input dictionary. The injection rate coefficients are specif...
SemiImplicitSource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
void setFieldData(const dictionary &dict)
Set the local field data.