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, coordinates, celli, tetFacei, tetPti),
80 template<
class ParcelType>
88 ParcelType(owner, position, celli),
96 template<
class ParcelType>
102 const label tetFacei,
105 const scalar nParticle0,
107 const scalar dTarget0,
110 const vector& angularMomentum0,
112 const typename ParcelType::constantProperties& constProps
138 template<
class ParcelType>
142 return youngsModulus_.
value();
146 template<
class ParcelType>
150 return poissonsRatio_.
value();
156 template<
class ParcelType>
163 template<
class ParcelType>
171 template<
class ParcelType>
178 template<
class ParcelType>
186 template<
class ParcelType>
193 template<
class ParcelType>
200 template<
class ParcelType>
207 template<
class ParcelType>
215 template<
class ParcelType>
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.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Class to hold thermo particle constant properties.
const vector & f() const
Return const access to force.
scalar poissonsRatio() const
Return const access to Poisson's ratio.
scalar youngsModulus() const
Return const access to Young's Modulus.
collisionRecordList collisionRecords_
Particle collision records.
const Type & value() const
Return the value.
constantProperties()
Null constructor.
const vector & torque() const
Return const access to torque.
const vector & angularMomentum() const
Return const access to angular momentum.
vector angularMomentum_
Angular momentum of Parcel in global reference frame [kg m2/s].
vector torque_
Torque on particle due to collisions in global.
vector omega() const
Particle angular velocity.
CollidingParcel(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti)
Construct from mesh, coordinates and topology.
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.
const collisionRecordList & collisionRecords() const
Return const access to the collision records.