33 template<
class RhoFieldType>
34 void Foam::fv::tabulatedAccelerationSource::addSup
36 const RhoFieldType& rho,
37 fvMatrix<vector>& eqn,
59 mag(g.value()) > SMALL
67 ) = (g &
mesh_.
C()) - ghRef;
83 dimensionSet(0, 0, -1, 0, 0),
90 dimensionSet(0, 0, -2, 0, 0),
96 rho*(2*Omega ^ eqn.psi())
97 + rho*(Omega ^ (Omega ^
mesh_.
C()))
98 + rho*(dOmegaDT ^
mesh_.
C())
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
UniformDimensionedField< vector > uniformDimensionedVectorField
bool foundObject(const word &name) const
Is the named Type found?
const fvMesh & mesh_
Reference to the mesh database.
const surfaceVectorField & Cf() const
Return face centres as surfaceVectorField.
virtual Vector< vector > acceleration() const
Return the solid-body accelerations.
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
const volVectorField & C() const
Return cell centres as volVectorField.
UniformDimensionedField< scalar > uniformDimensionedScalarField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
const dimensionSet dimAcceleration
tabulated6DoFAcceleration motion_
Run-time selectable acceleration model.
void cmptMag(FieldField< Field, Type > &cf, const FieldField< Field, Type > &f)
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
A special matrix type and solver, designed for finite volume solutions of scalar equations.
dimensioned< scalar > mag(const dimensioned< Type > &)
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField