Go to the documentation of this file.
30 template<
class ParcelType>
35 youngsModulus_(this->dict_, 0.0),
36 poissonsRatio_(this->dict_, 0.0)
40 template<
class ParcelType>
46 ParcelType::constantProperties(
cp),
47 youngsModulus_(
cp.youngsModulus_),
48 poissonsRatio_(
cp.poissonsRatio_)
52 template<
class ParcelType>
58 ParcelType::constantProperties(parentDict),
59 youngsModulus_(this->dict_,
"youngsModulus"),
60 poissonsRatio_(this->dict_,
"poissonsRatio")
64 template<
class ParcelType>
74 ParcelType(owner,
coordinates, celli, tetFacei, tetPti),
82 template<
class ParcelType>
90 ParcelType(owner, position, celli),
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
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>
static constexpr const zero Zero
Global zero (0)
constantProperties()
Null constructor.
collisionRecordList collisionRecords_
Particle collision records.
Mesh consisting of general polyhedral cells.
Class to hold thermo particle constant properties.
const vector & torque() const
Return const access to torque.
scalar youngsModulus() const
Return const access to Young's Modulus.
vector omega() const
Particle angular velocity.
PtrList< coordinateSystem > coordinates(solidRegions.size())
const vector & angularMomentum() const
Return const access to angular momentum.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
scalar poissonsRatio() const
Return const access to Poisson's ratio.
const collisionRecordList & collisionRecords() const
Return const access to the collision records.
Calculates the inertia tensor and principal axes and moments of a polyhedra/cells/triSurfaces....
bool cp(const fileName &src, const fileName &dst, const bool followLink=true)
Copy the source to the destination (recursively if necessary).
vector torque_
Torque on particle due to collisions in global.
vector f_
Force on particle due to collisions [N].
vector angularMomentum_
Angular momentum of Parcel in global reference frame [kg m2/s].
const vector & f() const
Return const access to force.
CollidingParcel(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti)
Construct from mesh, coordinates and topology.