fluidsim

Execute pseudospectral CFD simulations of Navier-Stokes, shallow water, and stratified flows in Python.

48|6|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/qinyan-ai/qinyan-academic-skills --skill fluidsim-qinyan-ai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: fluidsim
Source: https://github.com/qinyan-ai/qinyan-academic-skills/tree/main/skills/10-%E6%9D%90%E6%96%99%E7%A7%91%E5%AD%A6%E4%B8%8E%E7%89%A9%E7%90%86%E8%AE%A1%E7%AE%97/fluidsim
Command: npx skills add https://github.com/qinyan-ai/qinyan-academic-skills --skill fluidsim-qinyan-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

FluidSim provides a Python-based framework to run high-fidelity computational fluid dynamics simulations, offering scalable solvers, parameter control, and integrated analysis workflows for researchers in engineering and geophysics.

Core Features & Use Cases

  • Pseudospectral solvers for 2D/3D Navier-Stokes, shallow-water, and stratified flows with FFT acceleration.
  • HPC-enabled execution with MPI, compilation-optimized kernels, and scalable performance.
  • End-to-end workflow including parameter configuration, simulation execution, and post-processing of outputs (physical fields, spectra, and statistics) for research studies.

Quick Start

Create a fluidsim solver with default parameters, adjust nx/ny and t_end, and start the simulation with time stepping.

Frequently Asked Questions about fluidsim

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

FAQPage Schema
How do I simulate 2D or 3D turbulence using pseudospectral methods in Python?▼

To simulate turbulence using pseudospectral methods in Python, you can configure a solver with parameters like grid size and end time, then execute time stepping to solve the Navier-Stokes equations with FFT acceleration. This approach yields physical fields and spectra for analysis.

What is the best way to run high-performance CFD simulations for geophysical flows?▼

The best way to run high-performance CFD simulations for geophysical flows is using a Python framework with MPI-enabled execution and compilation-optimized kernels. This provides scalable performance for solving shallow-water and stratified flows across HPC environments.

Can I use this framework to solve shallow water and stratified flow equations?▼

Yes, you can use this framework to solve shallow water and stratified flow equations. It includes pseudospectral solvers specifically designed for these geophysical flows, utilizing FFT acceleration to compute high-fidelity simulations and output physical statistics.

Do I need MPI and FFT libraries to run scalable Navier-Stokes solvers?▼

Yes, you need MPI and FFT libraries to run scalable Navier-Stokes solvers. The framework requires Python and FFT libraries to configure parameters, while MPI enables HPC-enabled execution and compilation-optimized kernels for scalable parametric explorations.

How do I configure parameters and post-process outputs for turbulence studies?▼

To configure parameters and post-process outputs for turbulence studies, you create a solver with default settings, adjust variables like nx, ny, and t_end, and start the simulation. The integrated workflow then processes physical fields, spectra, and statistics.