Skip to main content

Crate pravash

Crate pravash 

Source
Expand description

Pravash — Fluid dynamics simulation for AGNOS

Sanskrit: प्रवास (pravash) — journey, flow

Particle-based and grid-based fluid simulation. SPH for real-time effects, Euler/Navier-Stokes for accurate simulation, shallow water for surface waves. Built on hisab for math foundations.

§Modules

  • sph — Smoothed Particle Hydrodynamics (particle-based fluids)
  • grid — Euler/Navier-Stokes grid-based solver
  • shallow — Shallow water equations (2D surface waves)
  • [buoyancy] — Buoyancy and drag forces
  • [vortex] — Vortex dynamics and turbulence
  • common — Shared types: FluidParticle, FluidConfig, material properties
  • error — Error types

Re-exports§

pub use common::ArenaHandle;
pub use common::FluidConfig;
pub use common::FluidMaterial;
pub use common::FluidParticle;
pub use common::ParticleArena;
pub use common::ParticleSoa;
pub use error::PravashError;

Modules§

common
Shared fluid types — particles, materials, configuration.
error
Error types for pravash.
grid
Grid-based Euler/Navier-Stokes fluid solver.
phase_field
Phase-field interface tracking via Allen-Cahn equation.
shallow
Shallow water equations — 2D surface wave simulation.
sph
Smoothed Particle Hydrodynamics (SPH) — particle-based fluid simulation.
vof
Volume of Fluid (VOF) — grid-based free surface tracking.