52 const word& sourceName,
53 const word& modelType,
58 option(sourceName, modelType, dict, mesh),
71 coeffs_.lookup(
"fields") >> fieldNames_;
73 if (fieldNames_.size() != 1)
79 applied_.setSize(fieldNames_.size(),
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.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
addToRunTimeSelectionTable(option, fixedTemperatureConstraint, dictionary)
const Time & time() const
Return the top-level database.
Macros for easy insertion into run-time selection tables.
A class for handling words, derived from string.
const word & constant() const
Return constant name.
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.
buoyancyForce(const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from explicit source name and mesh.
virtual void addSup(fvMatrix< vector > &eqn, const label fieldi)
Add explicit contribution to incompressible momentum equation.
Mesh data needed to do the Finite Volume discretisation.
A special matrix type and solver, designed for finite volume solutions of scalar equations.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Finite volume options abstract base class. Provides a base set of controls, e.g.: ...