50 Foam::fv::buoyancyForce::buoyancyForce
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.
Mesh data needed to do the Finite Volume discretisation.
A special matrix type and solver, designed for finite volume solutions of scalar equations.
virtual void addSup(const volScalarField &rho, fvMatrix< vector > &eqn, const label fieldi)
Add explicit contribution to compressible momentum equation.
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.: ...