
Fluidsim
This is a Python framework for running computational fluid dynamics simulations using pseudospectral methods. You'd use it for 2D/3D Navier-Stokes, shallow water equations, stratified flows, or turbulence analysis. The workflow is straightforward: import a solver, configure parameters via dot notation, instantiate, and run. It compiles with Pythran for performance, supports MPI parallelization, and automatically outputs HDF5 fields, spectra, and spatial means you can analyze in Python or ParaView. The hierarchical parameter system catches typos with AttributeError, which saves debugging time. Installation requires FFT libraries, and most realistic simulations will need the MPI flag for anything above toy resolutions.
- skills.sh installs
- 301
- GitHub stars
- 33.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add davila7/claude-code-templates --skill fluidsim --agent claude-codeInstalls into .claude/skills of the current project.
Files
FluidSim
Overview
FluidSim is an object-oriented Python framework for high-performance computational fluid dynamics (CFD) simulations. It provides solvers for periodic-domain equations using pseudospectral methods with FFT, delivering performance comparable to Fortran/C++ while maintaining Python's ease of use.
Key strengths:
- Multiple solvers: 2D/3D Navier-Stokes, shallow water, stratified flows
- High performance: Pythran/Transonic compilation, MPI parallelization
- Complete workflow: Parameter configuration, simulation execution, output analysis
- Interactive analysis: Python-based post-processing and visualization
Core Capabilities
1. Installation and Setup
Install fluidsim using uv with appropriate feature flags:
# Basic installation
uv uv pip install fluidsim
# With FFT support (required for most solvers)
uv uv pip install "fluidsim[fft]"
# With MPI for parallel computing
uv uv pip install "fluidsim[fft,mpi]"
Set environment variables for output directories (optional):
export FLUIDSIM_PATH=/path/to/simulation/outputs
export FLUIDDYN_PATH_SCRATCH=/path/to/working/directory
No API keys or authentication required.
Sponsors
Details
- Repository
- github.com/davila7/claude-code-templates
- Category
- Python
- First seen
- Jun 3, 2026
More from davila7/claude-code-templates
All 618- Gh Address Comments301
- Invoice Organizer300
- Pymoo300
- Domain Name Brainstormer299
- Neurokit2299
- Regulatory Affairs Head299
- Openrlhf Training298
- Sparse Autoencoder Training298
- Mamba Architecture297
- Rdkit297
- Scikit Bio297
- Agent Management296
- Kegg Database295
- Torch Geometric294
- Langfuse291
- Commit Work290
- Quality Manager Qmr290
- Tdd Workflow290
- Get Available Resources289
- Gwas Database289
- Pubchem Database288
- Railway Status288
- Signup Flow Cro288
- Pyvene Interventions287