65 #ifndef SemiImplicitSource_H 66 #define SemiImplicitSource_H 81 class SemiImplicitSource;
90 const SemiImplicitSource<Type>&
156 const word& modelType,
volumeModeType wordToVolumeModeType(const word &vtName) const
Helper function to convert from a word to a volumeModeType.
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...
volumeModeType volumeMode_
Volume mode.
virtual bool read(const dictionary &dict)
Read source dictionary.
static const wordList volumeModeTypeNames_
Word list of volume mode type names.
const fvMesh & mesh() const
Return const access to the mesh database.
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 word & name() const
Return const access to the source name.
word volumeModeTypeToWord(const volumeModeType &vtType) const
Helper function to convert from a volumeModeType to a word.
const volumeModeType & volumeMode() const
Return const access to the volume mode.
volumeModeType
Enumeration for volume types.
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.
const List< Tuple2< Type, scalar > > & injectionRate() const
Return const access to the source field values.