Go to the documentation of this file.
44 explicitPorositySource,
53 Foam::fv::explicitPorositySource::explicitPorositySource
56 const word& modelType,
88 porosityPtr_->addResistance(porosityEqn);
101 porosityPtr_->addResistance(porosityEqn);
115 porosityPtr_->addResistance(porosityEqn);
116 eqn -=
alpha*porosityEqn;
A class for handling words, derived from Foam::string.
Cell-set options abtract base class. Provides a base set of controls, e.g.:
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
const dimensionSet & dimensions() const
T lookupOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
const GeometricField< Type, fvPatchField, volMesh > & psi() const
A special matrix type and solver, designed for finite volume solutions of scalar equations.
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< vector > &eqn, const label fieldi)
Add implicit contribution to momentum equation.
word name(const complex &c)
Return string representation of complex.
dictionary coeffs_
Dictionary containing source coefficients.
wordList fieldNames_
Field names to apply source to - populated by derived models.
virtual bool read(const dictionary &dict)
Read source dictionary.
void resize(const label newSize)
Adjust allocated size of list.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
Mesh data needed to do the Finite Volume discretisation.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
defineTypeNameAndDebug(option, 0)
addToRunTimeSelectionTable(option, fixedTemperatureConstraint, dictionary)
A special matrix type and solver, designed for finite volume solutions of scalar equations....
virtual bool read(const dictionary &dict)
Read dictionary.
List< bool > applied_
Applied flag list - corresponds to each fieldNames_ entry.
void setSize(const label newSize)
Alias for resize(const label)
bool readIfPresent(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX) const