30 template<
class ParcelType>
35 youngsModulus_(this->dict_, 0.0),
36 poissonsRatio_(this->dict_, 0.0)
40 template<
class ParcelType>
47 youngsModulus_(
cp.youngsModulus_),
48 poissonsRatio_(
cp.poissonsRatio_)
52 template<
class ParcelType>
59 youngsModulus_(this->dict_,
"youngsModulus"),
60 poissonsRatio_(this->dict_,
"poissonsRatio")
64 template<
class ParcelType>
74 ParcelType(owner,
coordinates, celli, tetFacei, tetPti),
76 angularMomentum_(
Zero),
82 template<
class ParcelType>
90 ParcelType(owner, position, celli),
92 angularMomentum_(
Zero),
98 template<
class ParcelType>
104 const label tetFacei,
107 const scalar nParticle0,
109 const scalar dTarget0,
112 const vector& angularMomentum0,
114 const typename ParcelType::constantProperties& constProps
132 angularMomentum_(angularMomentum0),
140 template<
class ParcelType>
144 return youngsModulus_.
value();
148 template<
class ParcelType>
152 return poissonsRatio_.value();
158 template<
class ParcelType>
165 template<
class ParcelType>
173 template<
class ParcelType>
180 template<
class ParcelType>
188 template<
class ParcelType>
195 template<
class ParcelType>
202 template<
class ParcelType>
209 template<
class ParcelType>
217 template<
class ParcelType>
vector f_
Force on particle due to collisions [N].
A list of keyword definitions, which are a keyword followed by a number of values (eg...
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.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
const volScalarField & cp
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.
PtrList< coordinateSystem > coordinates(solidRegions.size())
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.
static constexpr const zero Zero
Global zero (0)