Openfpm
OpenFPM: A scalable open framework for particle and particle-mesh codes on parallel computers
Install / Use
/learn @mosaic-group/OpenfpmREADME
OpenFPM: A scalable open-source framework for particle and particle-mesh codes on parallel computers

OpenFPM is an open-source software library that facilitates implementing scalable particle and hybrid particle-mesh simulation codes on heterogeneous shared-memory and distributed-memory parallel computer systems.
The library features:
- Scalable serial and parallel data structures for heterogeneous computing systems available CPU and GPU-accelerated hardware
- Operators for particle methods linear differential discretization, e.g. DC-PSE, SPH
- Particle-mesh and mesh-particle interpolation schemes
- Data structures for efficient particle methods simulations, e.g. Cell-List, Verlet-List
- Sparse grid on CPU and GPU
- Support for PETSc, Eigen linear algebra backends
- Support for ODE integration operators with Boost.Numeric.Odeint
- Level-set formulation with Algoim
- GPU execution backends include CUDA, HIP, OpenMP, alpaka
- ... and many others
Installation
We support MacOS, Linux and Windows subsystem for Linux.
To install please refer to the website instructions on how to build from source
Examples and documentation
Examples and documentation are available on the website, in the online Doxygen documentation and under the folder example.
Example codes include codes for discrete item-based (e.g. Lennard-Jones molecular dynamics) and continuous time and/or space simulations (e.g. Reaction-diffusion-advection equations):
- Dam-break simulation of weakly compressible Navier-Stokes equations in SPH formulation
- Diffusive heat conduction using sparse-grid level set formulation
- 3D Active Fluid simulation
- Gray-Scott reaction-system in 3D
- Hybrid particle-mesh Vortex Method to solve incompressible Navier-Stokes equations
- ... and others
Related Skills
node-connect
337.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
337.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.2kCommit, push, and open a PR
