41 sixDoFAccelerationSource,
111 void Foam::fv::sixDoFAccelerationSource::readCoeffs()
113 UName_ = coeffs().lookupOrDefault<word>(
"U",
"U");
131 const word& modelType,
136 fvModel(name, modelType, dict, mesh),
137 UName_(coeffs().lookupOrDefault<word>(
"U",
"U")),
138 accelerations_(
nullptr),
158 void Foam::fv::sixDoFAccelerationSource::addSup
161 const word& fieldName
168 void Foam::fv::sixDoFAccelerationSource::addSup
172 const word& fieldName
175 addSup<volScalarField>(
rho, eqn, fieldName);
static const char *const typeName
defineTypeNameAndDebug(fixedTemperatureConstraint, 0)
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual wordList addSupFields() const
Return the list of fields for which the fvModel adds source term.
virtual bool read(const dictionary &dict)
Read source dictionary.
static const char *const componentNames[]
static const Form rootMin
bool foundObject(const word &name) const
Is the named Type found?
Finite volume model abstract base class.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
Macros for easy insertion into run-time selection tables.
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for...
const dimensionSet dimAcceleration
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.
Templated 3D Vector derived from VectorSpace adding construction from 3 components, element access using x(), y() and z() member functions and the inner-product (dot-product) and cross product operators.
makeTableReader(Embedded, trvType)
addToRunTimeSelectionTable(fvConstraint, fixedTemperatureConstraint, dictionary)
List< word > wordList
A List of words.
sixDoFAccelerationSource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
static const Form rootMax
Mesh data needed to do the Finite Volume discretisation.
A special matrix type and solver, designed for finite volume solutions of scalar equations.
static Vector< vector > uniform(const vector &s)
Return a VectorSpace with all elements = s.
Foam::fv::sixDoFAccelerationSource::accelerationVectors avType
defineTableReader(trvType)
static autoPtr< Function1< Type > > New(const word &name, const dictionary &dict)
Selector.
virtual bool read(const dictionary &dict)
Read dictionary.