Skip to content

Framework for Python pseudospectral CFD simulations of Navier-Stokes, shallow water, and stratified flows.

CCM score
71 of 100
skills.sh installs
301
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full simulation workflow: parameter setup, time stepping, output saving, and post-run analysis
  • Includes solvers for 2D and 3D Navier-Stokes, stratified flows (ns2d.strat, ns3d.strat), and shallow water (sw1l)
  • Uses FFT-based spectral methods with optional Pythran/Transonic compilation and MPI parallelization via mpirun
  • Designed for turbulence, vortex dynamics, and geophysical flow studies that need HPC-scale runs

Install

$ npx -y skills add davila7/claude-code-templates --skill fluidsim -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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.

Details

Repository
github.com/davila7/claude-code-templates
Categories
Data Science & Analytics, Python, Research & Academic
First seen
Jun 3, 2026

Questions

What does the fluidsim skill do?

fluidsim is a Python framework for computational fluid dynamics simulations, using pseudospectral methods with FFT. It covers 2D and 3D Navier-Stokes, shallow water and stratified flows, plus analysis of turbulence and vortex dynamics.

How do I install the fluidsim skill?

Run npx -y skills add davila7/claude-code-templates --skill fluidsim -y in a project to install it. After that, the agent can set up and run fluidsim simulations and analyze their output.

What does fluidsim need to run?

fluidsim needs the fluidsim Python package, installed with uv and the fft feature, plus MPI if you want parallel runs. The skill says no API keys or authentication are required.

Where does fluidsim stand in its category?

fluidsim sits in the Data Science & Analytics category on Claude Marketplaces. It targets fluid dynamics simulation, with HPC support and output analysis.

More from davila7/claude-code-templates

All 398