Go to the documentation of this file.
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())
virtual Vector< vector > acceleration() const
Return the solid-body accelerations.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
bool foundObject(const word &name, const bool recursive=false) const
Is the named Type found?
const fvMesh & mesh_
Reference to the mesh database.
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
A special matrix type and solver, designed for finite volume solutions of scalar equations.
void cmptMag(FieldField< Field, Type > &cf, const FieldField< Field, Type > &f)
dimensionedVector g0_
Gravitational accelaration.
UniformDimensionedField< vector > uniformDimensionedVectorField
UniformDimensionedField< scalar > uniformDimensionedScalarField
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const Type & lookupObject(const word &name, const bool recursive=false) const
const volVectorField & C() const
Return cell centres as volVectorField.
const uniformDimensionedVectorField & g
const dimensionSet dimAcceleration
Type & lookupObjectRef(const word &name, const bool recursive=false) const
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
const Time & time() const
Return the top-level database.
tabulated6DoFAcceleration motion_
Run-time selectable acceleration model.
const surfaceVectorField & Cf() const
Return face centres as surfaceVectorField.