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>
87 label& nLocateBoundaryHits
90 ParcelType(mesh, position, celli, nLocateBoundaryHits),
92 angularMomentum_(
Zero),
100 template<
class ParcelType>
104 return youngsModulus_.value();
108 template<
class ParcelType>
112 return poissonsRatio_.value();
118 template<
class ParcelType>
125 template<
class ParcelType>
129 return angularMomentum_;
133 template<
class ParcelType>
140 template<
class ParcelType>
144 return collisionRecords_;
148 template<
class ParcelType>
155 template<
class ParcelType>
158 return angularMomentum_;
162 template<
class ParcelType>
169 template<
class ParcelType>
173 return collisionRecords_;
177 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.