SuperDex Physics C++ API
Loading...
Searching...
No Matches
superdex::RodMaterialParams Struct Reference

Material properties of a rod actor. More...

#include <mochi_structs.h>

Public Member Functions

bool operator== (RodMaterialParams const &) const =default

Public Attributes

real axialCollapseBarrierScale = 1e-3_r
 Dimensionless scale of an optional barrier against axial collapse.
real axialStiffness = 1e2_r
 Axial stiffness.
Real2 flexuralStiffness = {5e-4_r, 5e-4_r}
 Flexural stiffnesses about the element frame axis and about the perpendicular cross-sectional axis, respectively.
real linearDensity = 1e-1_r
 Mass per unit undeformed length.
real linearRotationalInertia = 1e-6_r
 Rotational inertia about the rod's axis, per unit undeformed length.
real massDampingCoefficient = 0_r
 Mass-proportional damping coefficient.
real stiffnessDampingCoefficient = 0_r
 Stiffness-proportional damping coefficient.
real torsionalStiffness = 5e-4_r
 Torsional stiffness.

Detailed Description

Material properties of a rod actor.

See also
RodActorParams

Definition at line 210 of file mochi_structs.h.

Member Function Documentation

◆ operator==()

bool superdex::RodMaterialParams::operator== ( RodMaterialParams const & ) const
default

Member Data Documentation

◆ axialCollapseBarrierScale

real superdex::RodMaterialParams::axialCollapseBarrierScale = 1e-3_r

Dimensionless scale of an optional barrier against axial collapse.

Must be non-negative.

The barrier energy per unit undeformed length is η·kₐ·max(1/λ² - 1, 0)³, where η is axialCollapseBarrierScale, kₐ is axialStiffness, and λ is the axial stretch of the centerline. It is active only under compression, adds no stiffness at rest, and diverges as the rod collapses. Zero disables it, leaving the plain St. Venant-Kirchhoff axial response.

Definition at line 225 of file mochi_structs.h.

◆ axialStiffness

real superdex::RodMaterialParams::axialStiffness = 1e2_r

Axial stiffness.

Must be positive.

Note
For a rod made of homogeneous elastic material, this is Young's modulus times the cross-sectional area.

Definition at line 215 of file mochi_structs.h.

◆ flexuralStiffness

Real2 superdex::RodMaterialParams::flexuralStiffness = {5e-4_r, 5e-4_r}

Flexural stiffnesses about the element frame axis and about the perpendicular cross-sectional axis, respectively.

Both values must be non-negative.

Note
For a rod made of homogeneous elastic material, these are Young's modulus times the cross section's area moments of inertia about the respective axes.
See also
RodActorParams::shape

Definition at line 219 of file mochi_structs.h.

◆ linearDensity

real superdex::RodMaterialParams::linearDensity = 1e-1_r

Mass per unit undeformed length.

Must be positive.

Note
For a rod made of homogeneous material, this is the 3D mass density (per unit volume) times the cross-sectional area.

Definition at line 211 of file mochi_structs.h.

◆ linearRotationalInertia

real superdex::RodMaterialParams::linearRotationalInertia = 1e-6_r

Rotational inertia about the rod's axis, per unit undeformed length.

Must be positive.

Note
For a rod made of homogeneous material, this is the 3D mass density (per unit volume) times the cross section's polar area moment of inertia.

Definition at line 213 of file mochi_structs.h.

◆ massDampingCoefficient

real superdex::RodMaterialParams::massDampingCoefficient = 0_r

Mass-proportional damping coefficient.

Must be non-negative.

Definition at line 221 of file mochi_structs.h.

◆ stiffnessDampingCoefficient

real superdex::RodMaterialParams::stiffnessDampingCoefficient = 0_r

Stiffness-proportional damping coefficient.

Must be non-negative.

Definition at line 223 of file mochi_structs.h.

◆ torsionalStiffness

real superdex::RodMaterialParams::torsionalStiffness = 5e-4_r

Torsional stiffness.

Must be non-negative.

Note
For a rod made of homogeneous elastic material, this is the shear modulus times a torsion constant. The torsion constant is the polar area moment of inertia for circular cross sections, and depends on solving for a Prandtl stress function in the general case (values for common shapes are available in engineering handbooks).

Definition at line 217 of file mochi_structs.h.


The documentation for this struct was generated from the following files: