fluidsim

Simulate 2D/3D Navier–Stokes, shallow water, and stratified flows with MPI and FFT solvers.

52|6|Updated Nov 24, 2025
One-click install
npx skills add https://github.com/ovachiever/droid-tings --skill fluidsim
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fluidsim
Source: https://github.com/ovachiever/droid-tings/tree/main/skills/fluidsim
Command: npx skills add https://github.com/ovachiever/droid-tings --skill fluidsim

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

FluidSim provides Python-based CFD tooling for periodic-domain simulations (2D/3D Navier–Stokes, shallow water, stratified flows) with pseudospectral methods and MPI parallelization, enabling high-performance simulations with Python usability.

Core Features & Use Cases

  • Multi-solver support: ns2d, ns3d, stratified, sw1l
  • High-performance: Pythran/Transonic, MPI parallelization
  • End-to-end workflow: parameter configuration, simulation, analysis
  • Interactive post-processing and visualization in Python

Quick Start

Install fluidsim with optional FFT and MPI support, configure parameters, and run a sample simulation.

Frequently Asked Questions about fluidsim

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

FAQPage Schema
How do I run Navier-Stokes simulations in Python?

Navier-Stokes simulations in Python are performed using pseudospectral FFT methods with FluidSim, which supports 2D and 3D periodic-domain flows. Install FluidSim with FFT support, configure solver parameters (ns2d or ns3d), and execute the simulation end-to-end with built-in post-processing.

Can I parallelize CFD simulations across multiple processors?

Yes, FluidSim enables MPI parallelization for high-performance CFD workflows. The framework distributes pseudospectral computations across nodes, allowing large-scale simulations of Navier-Stokes and shallow-water flows without leaving Python.

What solvers does FluidSim support for fluid flow problems?

FluidSim supports six solver types: ns2d and ns3d for Navier-Stokes, ns2d.strat and ns3d.strat for stratified flows, sw1l for shallow water, and fvk for vortex dynamics. Each uses pseudospectral FFT methods optimized for periodic domains.

How do I analyze turbulence and energy spectra from CFD results?

FluidSim provides comprehensive post-processing and visualization tools in Python after simulation. Extract energy spectra, turbulent statistics, and vortex dynamics from output data using interactive analysis workflows.

Does FluidSim work for geophysical fluid dynamics applications?

Yes, FluidSim is designed for geophysical and engineering domains including stratified flows and shallow-water equations. Its multi-solver architecture and parametric HPC capabilities suit atmospheric, oceanic, and environmental flow modeling.

What are the prerequisites for running high-performance CFD simulations?

FluidSim requires Python and optional FFT and MPI libraries for high-performance execution. The object-oriented architecture and hierarchical parameter configuration enable rapid setup without external C/C++ dependencies.