92 #ifndef semiImplicitSource_H 93 #define semiImplicitSource_H 111 class semiImplicitSource
159 template <
class Type>
163 template <
class Type>
168 const word& fieldName
172 template <
class Type>
178 const word& fieldName
194 const word& modelType,
FOR_ALL_FIELD_TYPES(DEFINE_FV_MODEL_ADD_SUP)
Add a source term to an equation.
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...
#define DEFINE_FV_MODEL_ADD_SUP(Type, nullArg)
Cell-set fvConstraint abstract base class. Provides a base set of controls regarding the location whe...
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
#define DEFINE_FV_MODEL_ADD_ALPHA_RHO_SUP(Type, nullArg)
A HashTable specialisation for hashing pointers.
const fvMesh & mesh() const
Return const access to the mesh database.
semiImplicitSource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual bool read(const dictionary &dict)
Read source dictionary.
A class for handling words, derived from string.
#define DEFINE_FV_MODEL_ADD_RHO_SUP(Type, nullArg)
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.
TypeName("semiImplicitSource")
Runtime type information.
static const NamedEnum< volumeMode, 2 > volumeModeNames_
Property type names.
Mesh data needed to do the Finite Volume discretisation.
virtual void updateMesh(const mapPolyMesh &)
Update for mesh changes.
volumeMode
Enumeration for volume types.
virtual ~semiImplicitSource()
Destructor.
virtual wordList addSupFields() const
Return the list of fields for which the fvModel adds source term.