Why SPHinXsys?

There are quite some multi-physics simulation tools out there. But there is no one tool fits for all problems. All take different trade-offs to better adjust to specific use cases. SPHinXsys is no different. Here, we try to cope with multi-physics problems by monolithic strong coupling, that is, the same numerical framework, which is based on smoothed particle hydrodynamics (SPH) formulation, for the discretization of different governing equations for specific physical or chemical processes. This unique feature relies on the fact that a large number of common abstractions which link to many physical systems inherently are realized by the interactions between particles and their neighbors. With strong coupling, one can obtain seamless, temporal and spatial local coupling with the guarantee of mass, momentum and energy conservation within each individual subsystem and the global system at the same time.

Find a detailed description of the code philosophy, components, and implementations in the SPHinXsys Computer Physics Communications article. Whether is fluid dynamics, solid dynamics, heat transfer and problems with reaction, or/and their couplings, SPHinXsys is ready for you.

alternative

Unified Multi-physics modeling

Thanks for the generalized formulation techniques, all physical models are formulated with SPH method. Therefore, monolithic coupling is achieved for all physics in continuum medium.

  • Fluid dynamics, including multiphase flow
  • Solid dynamics, including linear- and thin-structure models with contact and self-contact
  • Fluid-structure interactions (FSI)
  • Coupling to multi-body dynamics (with Simbody library https://simtk.org)
  • Thermodynamics, diffusion and reaction
  • Tissue, muscle, electrophysiology and biological neural network modeling
Read more
alternative

Multi-scale material models

Extensive material models have been implemented in SPHinXsys. A special feature is that independent material properties can be detailed to individual particle level.

  • Fluids, including weakly compressible (Newtonian and Oldroy-B) and fully compressible fluids
  • Solids, including Linear elastic solid, non-linear elastic solid with Neo-Hookean model and anisotropic muscle model
  • Reactions, including generalized diffusion-reaction model, which is able handle arbitrary number of diffusive or reactive species.
Read more
alternative

Structure-of-array (SoA)

SPHinXsys uses structure-of-array (SoA), and introduces particle-sorting. Such techniques lead to dramatic increase of computational efficiency due to the cache-friendly design.

  • A new generalized particle data class by which one can easily add any method-based variables without modify particle class to increase data reuse and efficiency.
  • Our recent numerical simulation of wave interaction with an oscillating wave surge converter (OWSC) involving complex FSI and multi-body dynamics \cite{zhang2020efficient}, demonstrate that, with the new data structure, SPHinXsys is able to not only accurately predict the complex dynamics, but also show optimized computational performance through CPU cost analysis and comparison with commercial software package and other SPH-based solvers in literature.
Read more