Go to the documentation of this file.
31 template<
class CloudType>
42 this->coeffs().
template lookupOrDefault<word>
44 "linearAccelerationName",
51 this->coeffs().
template lookupOrDefault<word>
53 "angularVelocityName",
60 this->coeffs().
template lookupOrDefault<word>
62 "angularAccelerationName",
66 omegaDot_(vector::zero),
69 this->coeffs().
template lookupOrDefault<word>
71 "centreOfRotationName",
75 centreOfRotation_(vector::zero)
79 template<
class CloudType>
99 template<
class CloudType>
106 template<
class CloudType>
110 omega_ = vector::zero;
111 omegaDot_ = vector::zero;
112 centreOfRotation_ = vector::zero;
118 this->
mesh().
template foundObject<uniformDimensionedVectorField>
125 lookupObject<uniformDimensionedVectorField>(WName_);
132 this->
mesh().
template foundObject<uniformDimensionedVectorField>
139 lookupObject<uniformDimensionedVectorField>(omegaName_);
141 omega_ = omega.
value();
146 this->
mesh().
template foundObject<uniformDimensionedVectorField>
153 lookupObject<uniformDimensionedVectorField>(omegaDotName_);
155 omegaDot_ = omegaDot.
value();
160 this->
mesh().
template foundObject<uniformDimensionedVectorField>
162 centreOfRotationName_
167 this->
mesh().template
168 lookupObject<uniformDimensionedVectorField>
170 centreOfRotationName_
173 centreOfRotation_ = centreOfRotation.
value();
179 template<
class CloudType>
191 const vector r =
p.position() - centreOfRotation_;
198 + 2.0*(
p.U() ^ omega_)
199 + (omega_ ^ (r ^ omega_))
vector centreOfRotation_
The centre of rotation of the reference frame.
Calculates particle non-inertial reference frame force. Variable names as from Landau and Lifshitz,...
virtual void cacheFields(const bool store)
Cache fields.
vector omegaDot_
The angular acceleration of the reference frame.
word WName_
Name of the linear acceleration field.
word omegaDotName_
Name of the angular acceleration field.
scalarField Re(const UList< complex > &cf)
virtual ~NonInertialFrameForce()
Destructor.
const Type & value() const
Return const reference to value.
Helper container for force Su and Sp terms.
Abstract base class for particle forces.
vector W_
The linear acceleration of the reference frame.
Templated base class for dsmc cloud.
NonInertialFrameForce(CloudType &owner, const fvMesh &mesh, const dictionary &dict)
Construct from mesh.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh data needed to do the Finite Volume discretisation.
word omegaName_
Name of the angular velocity field.
vector omega_
The angular velocity of the reference frame.
virtual forceSuSp calcNonCoupled(const typename CloudType::parcelType &p, const scalar dt, const scalar mass, const scalar Re, const scalar muc) const
Calculate the non-coupled force.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
const vector & Su() const
Return const access to the explicit contribution [kg.m/s2].
word centreOfRotationName_
Name of the centre of rotation field.