30template<
class ParcelType>
35 youngsModulus_(this->dict_, 0.0),
36 poissonsRatio_(this->dict_, 0.0)
40template<
class ParcelType>
47 youngsModulus_(
cp.youngsModulus_),
48 poissonsRatio_(
cp.poissonsRatio_)
52template<
class ParcelType>
59 youngsModulus_(this->dict_,
"youngsModulus"),
60 poissonsRatio_(this->dict_,
"poissonsRatio")
64template<
class ParcelType>
74 ParcelType(owner,
coordinates, celli, tetFacei, tetPti),
82template<
class ParcelType>
90 ParcelType(owner, position, celli),
98template<
class ParcelType>
104 const label tetFacei,
107 const scalar nParticle0,
109 const scalar dTarget0,
112 const vector& angularMomentum0,
114 const typename ParcelType::constantProperties& constProps
140template<
class ParcelType>
144 return youngsModulus_.value();
148template<
class ParcelType>
152 return poissonsRatio_.value();
158template<
class ParcelType>
165template<
class ParcelType>
173template<
class ParcelType>
180template<
class ParcelType>
188template<
class ParcelType>
195template<
class ParcelType>
202template<
class ParcelType>
209template<
class ParcelType>
217template<
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].
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.
CollidingParcel(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti)
Construct from mesh, coordinates and topology.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Calculates the inertia tensor and principal axes and moments of a polyhedra/cells/triSurfaces....
const barycentric & coordinates() const noexcept
Return current particle coordinates.
Mesh consisting of general polyhedral cells.
PtrList< coordinateSystem > coordinates(solidRegions.size())
CollisionRecordList< vector, vector > collisionRecordList
static constexpr const zero Zero
Global zero (0).
bool cp(const fileName &src, const fileName &dst, const bool followLink=true)
Copy the source to the destination (recursively if necessary).
Barycentric< scalar > barycentric
A scalar version of the templated Barycentric.