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-code

Installs 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

Recommended

More Python
1haaaiawd avatarnexus-queryhaaaiawd/nexus-skillsPrecise, instant code structure queries for active development — answer 'who depends on this interface before I refactor it', 'how many modules break if I chang298skills.sh installs
2davila7 avatarkegg-databasedavila7/claude-code-templatesDirect REST API access to KEGG (academic use only). Pathway analysis, gene-pathway mapping, metabolic pathways, drug interactions, ID conversion. For Python wor295skills.sh installs
3mhattingpete avatarcode-executionmhattingpete/claude-skills-marketplaceExecute Python code locally with marketplace API access for 90%+ token savings on bulk operations. Activates when user requests bulk operations (10+ files), com293skills.sh installs
4getsentry avatarsentry-setup-logginggetsentry/sentry-agent-skillsSetup Sentry Logging in any project. Use when asked to add Sentry logs, enable structured logging, capture console logs, or integrate logging libraries (Consola289skills.sh installs
5patricio0312rev avatarproject-scaffolderpatricio0312rev/skillsGenerates complete starter repositories for various tech stacks (Next.js, Vite, Nest, FastAPI, etc.) with best-practice conventions, folder structure, baseline 284skills.sh installs
6davila7 avatarbioservicesdavila7/claude-code-templatesPrimary Python tool for 40+ bioinformatics services. Preferred for multi-database workflows: UniProt, KEGG, ChEMBL, PubChem, Reactome, QuickGO. Unified API for 282skills.sh installs