49 const word& modelType,
80 add(rho, eqn, fieldi);
92 add((alpha*rho)(), eqn, fieldi);
100 fieldNames_ =
wordList(1, coeffs_.lookupOrDefault<
word>(
"U",
"U"));
102 applied_.setSize(1,
false);
defineTypeNameAndDebug(option, 0)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e...
addToRunTimeSelectionTable(option, fixedTemperatureConstraint, dictionary)
virtual bool read(const dictionary &dict)
Read source dictionary.
Macros for easy insertion into run-time selection tables.
virtual void addSup(fvMatrix< vector > &eqn, const label fieldi)
Source term to momentum equation.
accelerationSource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
bool read(const char *, int32_t &)
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for...
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.
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
List< word > wordList
A List of words.
Mesh data needed to do the Finite Volume discretisation.
Cell-set options abstract base class. Provides a base set of controls, e.g.:
virtual bool read(const dictionary &dict)
Read dictionary.
static autoPtr< Function1< Type > > New(const word &entryName, const dictionary &dict)
Selector.