Go to the documentation of this file.
116 #ifndef SemiImplicitSource_H
117 #define SemiImplicitSource_H
132 template<
class Type>
class SemiImplicitSource;
138 const SemiImplicitSource<Type>&
147 class SemiImplicitSource
149 public fv::cellSetOption
199 const word& modelType,
PtrList< Function1< Type > > Su_
Source field values.
A class for handling words, derived from Foam::string.
Intermediate abstract class for handling cell-set options for the derived fvOptions.
virtual bool read(const dictionary &dict)
Read source dictionary.
TypeName("SemiImplicitSource")
Runtime type information.
volumeModeType volumeMode_
Volume mode.
Applies semi-implicit source within a specified region for Type, where <Type>=Scalar/Vector/Spherical...
const volumeModeType & volumeMode() const
Return const access to the volume mode.
PtrList< Function1< scalar > > Sp_
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
static const Enum< volumeModeType > volumeModeTypeNames_
Names for volumeModeType.
scalar VDash_
Volume normalisation.
void setFieldData(const dictionary &dict)
Set the local field data.
virtual void addSup(fvMatrix< Type > &eqn, const label fieldi)
Add explicit contribution to equation.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
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,...
volumeModeType
Options for the volume mode type.