147#ifndef Foam_SemiImplicitSource_H
148#define Foam_SemiImplicitSource_H
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,
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
A HashTable of pointers to objects of type <T>, with deallocation management of the pointers.
A HashTable similar to std::unordered_map.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Mesh data needed to do the Finite Volume discretisation.
Applies semi-implicit source within a specified region for Type, where <Type>=Scalar/Vector/Spherical...
volumeModeType & volumeMode() noexcept
Modifiable access to the volume mode.
volumeModeType volumeMode() const noexcept
The volume mode.
virtual void addSup(fvMatrix< Type > &eqn, const label fieldi)
Add explicit contribution to incompressible equation.
static const Enum< volumeModeType > volumeModeTypeNames_
Names for volumeModeType.
virtual bool read(const dictionary &dict)
Read source dictionary.
SemiImplicitSource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
TypeName("SemiImplicitSource")
Runtime type information.
volumeModeType
Options for the volume mode type.
Intermediate abstract class for handling cell-set options for the derived fvOptions.
const word & name() const noexcept
Return const access to the source name.
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
A class for handling words, derived from Foam::string.
Namespace for finite-volume.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.