52 const word& modelType,
58 motion_(coeffs_,
mesh.time()),
59 UName_(coeffs_.getOrDefault<
word>(
"U",
"U")),
74void Foam::fv::tabulatedAccelerationSource::addSup
84void Foam::fv::tabulatedAccelerationSource::addSup
91 addSup<volScalarField>(
rho, eqn, fieldi);
99 return motion_.read(coeffs_);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
void resize(const label len)
Adjust allocated size of list.
virtual bool read()
Re-read model coefficients if they have changed.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Mesh data needed to do the Finite Volume discretisation.
const Time & time() const
Return the top-level database.
Base abstract class for handling finite volume options (i.e. fvOption).
wordList fieldNames_
Field names to apply source to - populated by derived models.
void resetApplied()
Resize/reset applied flag list for all fieldNames_ entries.
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
Solid-body 6-DoF acceleration source.
word UName_
Name of operand velocity field.
dimensionedVector g0_
Gravitational accelaration.
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for...
bool foundObject(const word &name, const bool recursive=false) const
Is the named Type found?
const Type & lookupObject(const word &name, const bool recursive=false) const
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
A special matrix type and solver, designed for finite volume solutions of scalar equations.
const dimensionSet dimAcceleration
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.