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