fluidsim

Run CFD simulations with FluidSim for Navier-Stokes, shallow-water, and stratified flows.

Updated Apr 5, 2026
One-click install
npx skills add https://github.com/markdo27/dead4rat-v3 --skill fluidsim-markdo27
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fluidsim
Source: https://github.com/markdo27/dead4rat-v3/tree/main/.agents/skills/fluidsim
Command: npx skills add https://github.com/markdo27/dead4rat-v3 --skill fluidsim-markdo27

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

FluidSim provides a robust, Python-based framework to perform high-fidelity computational fluid dynamics (CFD) simulations, enabling researchers to model complex flows with spectral methods, FFTs, and scalable parallel computing.

Core Features & Use Cases

  • End-to-end CFD workflow for 2D/3D Navier-Stokes, stratified flows, and shallow-water equations
  • Pseudospectral solvers with MPI parallelization and Python-based interfaces for rapid experimentation
  • Rich output and post-processing: HDF5 state files, spectra, and spatial means; restart and parameter management
  • Common use cases include turbulence studies, geophysical flows, and educational demonstrations

Quick Start

Create default parameters, configure the solver, instantiate the simulation, and start time stepping with sim.time_stepping.start().

Frequently Asked Questions about fluidsim

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run high-performance CFD simulations in Python for turbulence studies?

You can run high-performance CFD simulations in Python by using pseudospectral methods with FFT to solve 2D and 3D Navier-Stokes equations. It supports MPI parallelization for scalable turbulence studies and parametric experiments.

What is the best way to solve shallow-water and stratified flow problems using spectral methods?

Solving shallow-water and stratified flow problems is best handled through pseudospectral solvers utilizing FFT. This approach enables rapid experimentation with varying resolution, viscosity, and domain size for geophysical and engineering flows.

Does this approach support MPI parallelization for large-scale Navier-Stokes computations?

Yes, MPI parallelization is fully supported for large-scale Navier-Stokes computations. This allows researchers to scale pseudospectral simulations across computing clusters to efficiently model complex 2D and 3D turbulence.

How do I configure parameters and start time stepping for a fluid dynamics simulation?

To configure parameters and start time stepping, create default parameters, configure the solver, instantiate the simulation, and execute sim.time_stepping.start(). A hierarchical Parameters object manages the configuration.

What output formats are generated when running pseudospectral simulations for geophysical flows?

Running pseudospectral simulations for geophysical flows generates rich outputs in HDF5 state files and text formats. These include spectra, spatial means, and restart capabilities for post-processing and analysis.