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),
98 template<
class ParcelType>
102 return youngsModulus_.
value();
106 template<
class ParcelType>
110 return poissonsRatio_.
value();
116 template<
class ParcelType>
123 template<
class ParcelType>
131 template<
class ParcelType>
138 template<
class ParcelType>
146 template<
class ParcelType>
153 template<
class ParcelType>
160 template<
class ParcelType>
167 template<
class ParcelType>
175 template<
class ParcelType>
vector f_
Force on particle due to collisions [N].
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.