36 template<
class RhoFieldType>
37 void Foam::fv::tabulatedAccelerationSource::addSup
39 const RhoFieldType&
rho,
40 fvMatrix<vector>& eqn,
59 mag(
g.value()) > SMALL
79 dimensionSet(0, 0, -1, 0, 0),
86 dimensionSet(0, 0, -2, 0, 0),
92 rho*(2*Omega ^ eqn.psi())
const Type & lookupObject(const word &name, const bool recursive=false) const
Lookup and return const reference to the object of the given Type. Fatal if not found or the wrong ty...
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
Type & lookupObjectRef(const word &name, const bool recursive=false) const
Lookup and return non-const reference to the object of the given Type. Fatal if not found or the wron...
UniformDimensionedField< vector > uniformDimensionedVectorField
const surfaceVectorField & Cf() const
Return face centres as surfaceVectorField.
const fvMesh & mesh_
Reference to the mesh database.
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
const Time & time() const
Return the top-level database.
UniformDimensionedField< scalar > uniformDimensionedScalarField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionSet dimAcceleration
virtual Vector< vector > acceleration() const
Return the solid-body accelerations.
dimensionedVector g0_
Gravitational accelaration.
tabulated6DoFAcceleration motion_
Run-time selectable acceleration model.
void cmptMag(FieldField< Field, Type > &cf, const FieldField< Field, Type > &f)
const uniformDimensionedVectorField & g
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.
bool foundObject(const word &name, const bool recursive=false) const
Is the named Type found?
const volVectorField & C() const
Return cell centres as volVectorField.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField