Skip to main content

Crate oxiphysics_softbody

Crate oxiphysics_softbody 

Source
Expand description

Soft body simulation for the OxiPhysics engine.

Provides PBD / XPBD based soft-body simulation including:

  • Distance, bending, volume, and collision constraints
  • Cloth simulation with wind forces
  • Rope / hair chains
  • Corotational FEM soft bodies

Re-exports§

pub use aerodynamics::AerodynamicsModel;
pub use constraint::BendingConstraint;
pub use constraint::CollisionConstraint;
pub use constraint::DistanceConstraint;
pub use constraint::SoftConstraint;
pub use constraint::VolumeConstraint;
pub use fem_soft::CorotationalElement;
pub use fem_soft::FemSoftBody;
pub use particle::SoftBody;
pub use particle::SoftParticle;
pub use rope::HairStrand;
pub use rope::HairSystem;
pub use rope::Rope;
pub use rope::RopeSolver;
pub use rope::XpbdRope;
pub use shape_matching::ShapeMatching;
pub use solver::XpbdSolver;
pub use cloth::*;
pub use fracture_dynamics::*;
pub use inflatable::*;

Modules§

active_matter
Active matter — self-propelled particles and collective motion.
active_origami
Active origami: smart-material actuators and deployable structures.
aerodynamics
Aerodynamic forces (drag and lift) on cloth/soft-body triangles.
bio_softbody
Biological soft body simulation.
bioinspired
Bio-inspired soft robotics and locomotion.
biomech_simulation
Biomechanics simulation — bone, cartilage, tendon, and joint contact.
cable_nets
Cable network and tensegrity structure simulation.
cloth
Auto-generated module structure
cloth_advanced
Auto-generated module structure
cloth_simulation
Detailed cloth simulation using Position-Based Dynamics (PBD).
collision_response
Softbody collision detection and response.
constraint
Auto-generated module structure
constraint_visualization
Constraint visualisation utilities for soft-body simulations.
cosserat_rods
Cosserat rod theory: extensible Kirchhoff/Cosserat rods.
cosserat_softbody
Cosserat rod / beam soft-body simulation.
crack_propagation
Crack propagation and remeshing for soft body simulation.
elastic_wave
Elastic wave propagation in soft bodies.
electroactive_softbody
Electroactive soft-body physics module.
fem_soft
Corotational FEM soft body simulation.
fluid_film_softbody
Thin fluid film simulation for soft body physics.
food_physics
Food physics and cooking simulation.
fracture
Auto-generated module structure
fracture_dynamics
Auto-generated module structure
granular_softbody
Granular material modelled as a soft body via DEM-FEM coupling.
growth_mechanics
Biological growth mechanics: multiplicative decomposition, residual stress, morphoelastic ODE, surface growth, and growth-driven buckling.
hair
Hair simulation.
hair_fur
Hair and fur simulation.
hair_sim
Hair and fiber simulation using a discrete Cosserat rod model.
hair_softbody
Hair simulation using discrete elastic rods and Cosserat rod theory.
haptic_softbody
Haptic rendering for deformable soft bodies.
inflatable
Auto-generated module structure
liquid_sim
Position-Based Fluid (PBF) simulation for liquid dynamics.
material_point
Auto-generated module structure
membrane_biophysics
Membrane biophysics simulation.
membrane_softbody
Membrane mechanics for soft body simulation.
metamaterial_softbody
Mechanical metamaterials: auxetic, chiral, pentamode, magnetic, programmable matter, acoustic, topology optimization, and effective medium analysis.
metamorphic_mesh
Metamorphic mesh deformation for soft-body shape animation.
morphogenesis_softbody
Morphogenesis and biological pattern formation on deformable bodies.
mud_snow
Granular material and snow/mud simulation.
muscle_sim
Hill-type muscle simulation for the OxiPhysics soft-body crate.
muscle_simulation
Auto-generated module structure
muscle_softbody
Muscle simulation module for the OxiPhysics soft-body crate.
muscle_tendon
Musculotendon dynamics: Hill-type muscle model, activation dynamics, tendon compliance, force-velocity/force-length relations, pennation angle, muscle redundancy solver, and analysis utilities.
neural_deform
Learned / neural deformation models for soft bodies.
neural_soft
Neural network-enhanced soft body simulation.
neural_softbody
Neural network-based softbody simulation.
numerical_softbody
Auto-generated module structure
origami_folding
Origami and deployable structure simulation.
origami_mech
Origami mechanics — fold patterns and deployable structures.
origami_mechanics
Origami mechanics simulation module.
origami_softbody
Origami and foldable structure simulation.
particle
Auto-generated module structure
pbd_constraints
Extended PBD/XPBD constraint types for soft-body simulation.
pbd_system
Auto-generated module structure
peridynamics
Peridynamics — nonlocal continuum mechanics for fracture simulation.
position_based_fluids
Position-Based Fluids (PBF) for liquid simulation.
pressure_volume
Pressure-volume soft body dynamics.
rigid_soft_coupling
Rigid body – soft body coupling for hybrid simulation.
rod_mechanics
Elastic rod mechanics based on Cosserat / Kirchhoff rod theory.
rope
Auto-generated module structure
rope_simulation
Rope and cable simulation using Position-Based Dynamics (PBD).
sand_sim
Granular sand simulation (MPM-inspired).
shape_matching
Rigid shape matching constraint (Müller et al., 2005).
smart_materials
Smart / active soft materials — hydrogels, LCE, IPMC, and more.
soft_gripper
Soft robotic gripper simulation using position-based dynamics.
solver
XPBD solver for soft-body simulation.
surgery_simulation
Auto-generated module structure
surgical_simulation
Surgical simulation: tissue cutting, needle insertion, organ deformation.
tearing
Cloth/mesh tearing and cutting.
tendon_softbody
Tendon and ligament soft-body simulation.
textile_simulation
Textile simulation: yarn mechanics, woven/knitted fabric, collision, and garment draping.
tissue_sim
Biological tissue simulation for the OxiPhysics softbody crate.
topology_opt
Topology optimisation for soft-body / deformable structures.
topology_optimization
Topology optimisation for compliant mechanisms and structures.
underwater_softbody
Underwater soft body dynamics.
volume
Auto-generated module structure
wrinkling
Thin shell wrinkling mechanics.
xpbd
Auto-generated module structure

Enums§

Error
Main error type for the softbody module

Traits§

SoftBodySolver
Trait for soft body solvers.

Type Aliases§

Result
Result type alias