104 namespace TableReaders
114 void Foam::fv::sixDoFAccelerationSource::readCoeffs()
134 const word& modelType,
140 UName_(coeffs().lookupOrDefault<
word>(
"U",
"U")),
141 accelerations_(nullptr),
164 const word& fieldName
175 const word& fieldName
187 const word& fieldName
190 addForce(
alpha,
rho, eqn, fieldName);
Macros for easy insertion into run-time selection tables.
static autoPtr< Function1< Type > > New(const word &name, const dictionary &dict)
Selector.
Generic GeometricField class.
Reads an interpolation table from the values entry in OpenFOAM-format.
static const char *const componentNames[]
static const Form rootMax
static const Form rootMin
static Form uniform(const Cmpt &s)
Return a VectorSpace with all elements = s.
static const char *const typeName
A list of keyword definitions, which are a keyword followed by any number of values (e....
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Mesh data needed to do the Finite Volume discretisation.
Finite volume model abstract base class.
const dictionary & coeffs() const
Return dictionary.
virtual bool read(const dictionary &dict)
Read source dictionary.
Solid-body 6-DoF acceleration source.
virtual bool movePoints()
Update for mesh motion.
virtual wordList addSupFields() const
Return the list of fields for which the fvModel adds source term.
virtual void topoChange(const polyTopoChangeMap &)
Update topology using the given map.
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
virtual bool read(const dictionary &dict)
Read dictionary.
virtual void addSup(fvMatrix< vector > &eqn, const word &fieldName) const
Source term to momentum equation.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
sixDoFAccelerationSource(const word &name, const word &modelType, const fvMesh &mesh, const dictionary &dict)
Construct from components.
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for...
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
Class containing mesh-to-mesh mapping information.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
A class for handling words, derived from string.
A special matrix type and solver, designed for finite volume solutions of scalar equations.
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
makeTableReader(Embedded, trvType)
addToRunTimeSelectionTable(fvConstraint, bound, dictionary)
defineTypeNameAndDebug(bound, 0)
List< word > wordList
A List of words.
makeFunction1s(trvType, nullArg)
const dimensionSet dimAcceleration
defineTableReader(trvType)
word name(const complex &)
Return a string representation of a complex.
Foam::fv::sixDoFAccelerationSource::accelerationVectors avType