63 void Foam::fv::semiImplicitSource::addSupType
72 <<
">::addSup for source " << name_ <<
endl;
75 const scalar t = mesh_.time().value();
83 name_ + fieldNames_[fieldi] +
"Su",
84 mesh_.time().timeName(),
106 name_ + fieldNames_[fieldi] +
"Sp",
107 mesh_.time().timeName(),
130 void Foam::fv::semiImplicitSource::addSupType
140 <<
">::addSup for source " << name_ <<
endl;
143 return this->addSup(eqn, fieldi);
152 const word& modelType,
179 addSupType(eqn, fieldi);
189 addSupType(eqn, fieldi);
199 addSupType(eqn, fieldi);
209 addSupType(eqn, fieldi);
219 addSupType(eqn, fieldi);
230 addSupType(eqn, fieldi);
241 addSupType(eqn, fieldi);
252 addSupType(eqn, fieldi);
263 addSupType(eqn, fieldi);
274 addSupType(eqn, fieldi);
286 addSupType(eqn, fieldi);
298 addSupType(eqn, fieldi);
310 addSupType(eqn, fieldi);
322 addSupType(eqn, fieldi);
334 addSupType(eqn, fieldi);
342 volumeMode_ = volumeModeNames_.read(coeffs_.lookup(
"volumeMode"));
347 const label nFields = sources.size();
350 fieldNames_.setSize(nFields);
351 fieldSp_.setSize(nFields);
352 fieldSu_.setSize(nFields);
356 fieldNames_[i] = iter().keyword();
360 objectFunction1::New<VolField>
386 applied_.setSize(nFields,
false);
defineTypeNameAndDebug(option, 0)
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
tmp< fvMatrix< Type > > SuSp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual void addSup(fvMatrix< scalar > &eqn, const label fieldi)
A list of keyword definitions, which are a keyword followed by any number of values (e...
const GeometricField< Type, fvPatchField, volMesh > & psi() const
Ostream & endl(Ostream &os)
Add newline and flush stream.
Traits class for primitives.
addToRunTimeSelectionTable(option, fixedTemperatureConstraint, dictionary)
virtual bool read(const dictionary &dict)
Read source dictionary.
Generic GeometricField class.
Generic dimensioned Type class.
Initialise the NamedEnum HashTable from the static list of names.
semiImplicitSource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
Macros for easy insertion into run-time selection tables.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
const dimensionSet dimVolume(pow3(dimLength))
const dimensionSet & dimensions() const
Return dimensions.
bool read(const char *, int32_t &)
virtual bool read(const dictionary &dict)
Read source dictionary.
A class for handling words, derived from 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.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
tmp< surfaceScalarField > absolute(const tmp< surfaceScalarField > &tphi, const volVectorField &U)
Return the given relative flux in absolute form.
static const NamedEnum< volumeMode, 2 > volumeModeNames_
Property type names.
Mesh data needed to do the Finite Volume discretisation.
A List with indirect addressing.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A special matrix type and solver, designed for finite volume solutions of scalar equations.
Cell-set options abstract base class. Provides a base set of controls, e.g.:
const volScalarField & psi
virtual ~semiImplicitSource()
Destructor.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Calculate the matrix for implicit and explicit sources.
const dimensionSet & dimensions() const