28 template<
class ParcelType>
33 youngsModulus_(this->dict_, 0.0),
34 poissonsRatio_(this->dict_, 0.0)
38 template<
class ParcelType>
44 ParcelType::constantProperties(cp),
45 youngsModulus_(cp.youngsModulus_),
46 poissonsRatio_(cp.poissonsRatio_)
50 template<
class ParcelType>
56 ParcelType::constantProperties(parentDict),
57 youngsModulus_(this->dict_,
"youngsModulus"),
58 poissonsRatio_(this->dict_,
"poissonsRatio")
62 template<
class ParcelType>
72 ParcelType(owner, position, celli, tetFacei, tetPtI),
80 template<
class ParcelType>
89 const scalar nParticle0,
91 const scalar dTarget0,
94 const vector& angularMomentum0,
96 const typename ParcelType::constantProperties& constProps
122 template<
class ParcelType>
126 return youngsModulus_.
value();
130 template<
class ParcelType>
134 return poissonsRatio_.
value();
140 template<
class ParcelType>
147 template<
class ParcelType>
155 template<
class ParcelType>
162 template<
class ParcelType>
170 template<
class ParcelType>
177 template<
class ParcelType>
184 template<
class ParcelType>
191 template<
class ParcelType>
199 template<
class ParcelType>
const vector & torque() const
Return const access to torque.
vector f_
Force on particle due to collisions [N].
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
scalar poissonsRatio() const
Return const access to Poisson's ratio.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Class to hold thermo particle constant properties.
const Type & value() const
Return the value.
const vector & f() const
Return const access to force.
collisionRecordList collisionRecords_
Particle collision records.
const collisionRecordList & collisionRecords() const
Return const access to the collision records.
constantProperties()
Null constructor.
CollidingParcel(const polyMesh &mesh, const vector &position, const label celli, const label tetFacei, const label tetPtI)
Construct from owner, position, and cloud owner.
vector omega() const
Particle angular velocity.
vector angularMomentum_
Angular momentum of Parcel in global reference frame [kg m2/s].
vector torque_
Torque on particle due to collisions in global.
const vector & angularMomentum() const
Return const access to angular momentum.
scalar youngsModulus() const
Return const access to Young's Modulus.
Mesh consisting of general polyhedral cells.
Calculates the inertia tensor and principal axes and moments of a polyhedra/cells/triSurfaces. Inertia can either be of the solid body or of a thin shell.