28 template<
class ParcelType>
33 youngsModulus_(this->dict_, 0.0),
34 poissonsRatio_(this->dict_, 0.0)
38 template<
class ParcelType>
45 youngsModulus_(
cp.youngsModulus_),
46 poissonsRatio_(
cp.poissonsRatio_)
50 template<
class ParcelType>
57 youngsModulus_(this->dict_,
"youngsModulus"),
58 poissonsRatio_(this->dict_,
"poissonsRatio")
62 template<
class ParcelType>
73 ParcelType(mesh, coordinates, celli, tetFacei, tetPti, facei),
81 template<
class ParcelType>
89 ParcelType(mesh, position, celli),
91 angularMomentum_(
Zero),
99 template<
class ParcelType>
103 return youngsModulus_.value();
107 template<
class ParcelType>
111 return poissonsRatio_.value();
117 template<
class ParcelType>
124 template<
class ParcelType>
128 return angularMomentum_;
132 template<
class ParcelType>
139 template<
class ParcelType>
143 return collisionRecords_;
147 template<
class ParcelType>
154 template<
class ParcelType>
157 return angularMomentum_;
161 template<
class ParcelType>
168 template<
class ParcelType>
172 return collisionRecords_;
176 template<
class ParcelType>
Class to hold thermo particle constant properties.
scalar youngsModulus() const
Return const access to Young's Modulus.
scalar poissonsRatio() const
Return const access to Poisson's ratio.
constantProperties()
Null constructor.
const vector & angularMomentum() const
Return const access to angular momentum.
vector f_
Force on particle due to collisions [N].
CollidingParcel(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti, const label facei)
Construct from mesh, coordinates and topology.
vector omega() const
Particle angular velocity.
const vector & f() const
Return const access to force.
collisionRecordList collisionRecords_
Particle collision records.
const vector & torque() const
Return const access to torque.
vector angularMomentum_
Angular momentum of Parcel in global reference frame [kg m2/s].
const collisionRecordList & collisionRecords() const
Return const access to the collision records.
vector torque_
Torque on particle due to collisions in global.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Calculates the inertia tensor and principal axes and moments of a polyhedra/cells/triSurfaces....
Mesh consisting of general polyhedral cells.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool cp(const fileName &src, const fileName &dst, const bool followLink=true)
Copy, recursively if necessary, the source to the destination.