fluidsim

Run scalable CFD simulations with FluidSim pseudospectral solvers in Python.

33.0k|3.2k|Updated Oct 19, 2025
One-click install
npx skills add https://github.com/K-Dense-AI/scientific-agent-skills --skill fluidsim-k-dense-ai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: fluidsim
Source: https://github.com/K-Dense-AI/scientific-agent-skills/tree/main/scientific-skills/fluidsim
Command: npx skills add https://github.com/K-Dense-AI/scientific-agent-skills --skill fluidsim-k-dense-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

FluidSim provides a Python-based framework for high-performance computational fluid dynamics (CFD) simulations, offering pseudospectral solvers with FFT, MPI parallelization, and an approachable API to configure and analyze complex fluid systems.

Core Features & Use Cases

  • Object-oriented solvers for 2D/3D Navier–Stokes, shallow water, and stratified flows
  • High-performance execution with Pythran/Transonic compilation and MPI parallelization
  • End-to-end workflow: parameter setup, simulation execution, and rich post-processing
  • Use case: researchers can rapidly prototype turbulence studies and geophysical flow simulations with adjustable resolution and time stepping
  • Use case: educators and practitioners can reproduce CFD experiments with configurable outputs and analysis tools

Quick Start

Configure FluidSim with default parameters and run a solver for your chosen fluid problem.

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?▼

Run high-performance CFD simulations in Python by configuring FluidSim's hierarchical parameters object and selecting a pseudospectral solver. It handles execution using FFT backends and Pythran/Transonic compilation for optimized performance.

Can I simulate stratified flows and shallow water equations using pseudospectral methods?▼

Yes, you can simulate stratified flows and shallow water equations using pseudospectral methods. The framework provides specialized object-oriented solvers for these specific geophysical and 2D/3D Navier-Stokes flow scenarios.

Does Python CFD turbulence analysis support MPI parallel execution?▼

Python CFD turbulence analysis fully supports MPI-based parallel execution. This allows scalable simulations across distributed computing environments for complex turbulence and geophysical flow studies.

What is the best way to configure parameters for a Navier-Stokes solver in Python?▼

The best way to configure parameters for a Navier-Stokes solver in Python is using a hierarchical parameters object. This built-in structure enables precise adjustment of resolution, time stepping, and output settings before execution.

How do I handle post-processing and analysis for turbulence simulations?▼

Handle post-processing and analysis for turbulence simulations using built-in output and analysis utilities. The framework provides end-to-end workflow support from parameter setup through execution to rich post-processing.

Do I need specific FFT backends to run pseudospectral solvers in Python?▼

Yes, you need Python and specific FFT backends to run pseudospectral solvers. MPI is optional but required if you want to utilize high-performance parallel execution for large-scale turbulence analyses.