33 template<
class RhoFieldType>
34 void Foam::fv::sixDoFAccelerationSource::addSup
36 const RhoFieldType& rho,
37 fvMatrix<vector>& eqn,
41 const Vector<vector> accelerations
43 accelerations_->value(
mesh().time().userTimeValue())
73 dimensionSet(0, 0, -1, 0, 0),
80 dimensionSet(0, 0, -2, 0, 0),
86 rho*(2*Omega ^ eqn.psi())
87 + rho*(Omega ^ (Omega ^
mesh().C()))
88 + rho*(dOmegaDT ^
mesh().
C())
UniformDimensionedField< vector > uniformDimensionedVectorField
const surfaceVectorField & Cf() const
Return face centres.
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.
const fvMesh & mesh() const
Return const access to the mesh database.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionSet dimAcceleration
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.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField