33 template<
class RhoFieldType>
34 void Foam::fv::tabulatedAccelerationSource::addSup
36 const RhoFieldType& rho,
37 fvMatrix<vector>& eqn,
56 mag(g.value()) > SMALL
75 dimensionSet(0, 0, -1, 0, 0),
82 dimensionSet(0, 0, -2, 0, 0),
88 rho*(2*Omega ^ eqn.psi())
89 + rho*(Omega ^ (Omega ^
mesh_.
C()))
90 + 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
const surfaceVectorField & Cf() const
Return face centres as surfaceVectorField.
const fvMesh & mesh_
Reference to the mesh database.
Type & lookupObjectRef(const word &name) const
Lookup and return the object reference of the given Type.
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
bool foundObject(const word &name) const
Is the named Type found?
UniformDimensionedField< scalar > uniformDimensionedScalarField
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionSet dimAcceleration
virtual Vector< vector > acceleration() const
Return the solid-body accelerations.
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 > &)
const volVectorField & C() const
Return cell centres as volVectorField.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField