Go to the documentation of this file.
42 explicitPorositySource,
54 const word& modelType,
64 if (selectionMode_ != smCellZone)
67 <<
"selection mode is " << selectionModeTypeNames_[selectionMode_]
93 porosityPtr_->addResistance(porosityEqn);
106 porosityPtr_->addResistance(porosityEqn);
120 porosityPtr_->addResistance(porosityEqn);
121 eqn -=
alpha*porosityEqn;
A class for handling words, derived from string.
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
Cell-set options abtract base class. Provides a base set of controls, e.g.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
bool read(const char *, int32_t &)
const dimensionSet & dimensions() const
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
const GeometricField< Type, fvPatchField, volMesh > & psi() const
A special matrix type and solver, designed for finite volume solutions of scalar equations.
List< word > wordList
A List of words.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
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.
virtual void addSup(fvMatrix< vector > &eqn, const label fieldI)
Add implicit contribution to momentum equation.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Macros for easy insertion into run-time selection tables.
Mesh data needed to do the Finite Volume discretisation.
errorManipArg< error, int > exit(error &err, const int errNo=1)
defineTypeNameAndDebug(option, 0)
void setSize(const label)
Reset size of List.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
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.
explicitPorositySource(const explicitPorositySource &)
Disallow default bitwise copy construct.
void size(const label)
Override size to be inconsistent with allocated storage.
List< bool > applied_
Applied flag list - corresponds to each fieldNames_ entry.
Generic GeometricField class.
word name(const complex &)
Return a string representation of a complex.