147 #ifndef Foam_SemiImplicitSource_H 148 #define Foam_SemiImplicitSource_H 168 class SemiImplicitSource
170 public fv::cellSetOption
198 HashPtrTable<Function1<Type>> Su_;
201 HashPtrTable<Function1<scalar>> Sp_;
204 HashTable<expressions::exprString> valueExprSu_;
223 const word& keyExplicit,
224 const word& keyImplicit
240 const word& modelType,
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
volumeModeType volumeMode() const noexcept
The volume mode.
virtual bool read(const dictionary &dict)
Read source dictionary.
A HashTable of pointers to objects of type <T>, with deallocation management of the pointers...
TypeName("SemiImplicitSource")
Runtime type information.
static const Enum< volumeModeType > volumeModeTypeNames_
Names for volumeModeType.
A class for handling words, derived from Foam::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.
const word & name() const noexcept
Return const access to the source name.
A HashTable similar to std::unordered_map.
volumeModeType
Options for the volume mode type.
Mesh data needed to do the Finite Volume discretisation.
virtual void addSup(fvMatrix< Type > &eqn, const label fieldi)
Add explicit contribution to incompressible equation.
SemiImplicitSource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.