Go to the documentation of this file.
45 explicitPorositySource,
54 Foam::fv::explicitPorositySource::explicitPorositySource
57 const word& modelType,
89 porosityPtr_->addResistance(porosityEqn);
102 porosityPtr_->addResistance(porosityEqn);
116 porosityPtr_->addResistance(porosityEqn);
117 eqn -=
alpha*porosityEqn;
A class for handling words, derived from Foam::string.
Cell-set options abstract base class. Provides a base set of controls, e.g.:
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
const dimensionSet & dimensions() const
const GeometricField< Type, fvPatchField, volMesh > & psi() const
A special matrix type and solver, designed for finite volume solutions of scalar equations.
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.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
virtual bool read(const dictionary &dict)
Read dictionary.
defineTypeNameAndDebug(atmAmbientTurbSource, 0)
addToRunTimeSelectionTable(option, atmAmbientTurbSource, dictionary)
List< bool > applied_
Applied flag list - corresponds to each fieldNames_ entry.
void setSize(const label newSize)
Alias for resize(const label)
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
bool readIfPresent(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX) const