fluidsim

Run CFD simulations and analyze outputs with a Python pseudospectral FFT framework.

Updated May 24, 2026
One-click install
npx skills add https://github.com/Estrella-231/Mathematical_modeling_tongmeng --skill fluidsim-estrella-231
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fluidsim
Source: https://github.com/Estrella-231/Mathematical_modeling_tongmeng/tree/main/.agents/skills/fluidsim
Command: npx skills add https://github.com/Estrella-231/Mathematical_modeling_tongmeng --skill fluidsim-estrella-231

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps you set up, run, and post-process computational fluid dynamics (CFD) simulations without building the simulation workflow from scratch.

Core Features & Use Cases

  • High-performance CFD solvers (spectral/FFT): Simulate periodic-domain fluid dynamics including 2D/3D Navier–Stokes, shallow water, and stratified flows.
  • End-to-end workflow: Configure parameters, launch time stepping, and generate outputs for fields, spectra, and spatial means.
  • Scalable execution and reproducible runs: Supports MPI parallelization and structured parametric studies for comparing scenarios.

Use case: You want to study 2D turbulence energy cascades by running multiple viscosity and grid-resolution configurations, then comparing energy and spectra across runs.

Quick Start

Ask the AI to run a 2D Navier–Stokes simulation with FFT-based pseudospectral solvers and automatically plot vorticity from the resulting outputs.

Frequently Asked Questions about fluidsim

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

FAQPage Schema
How do I run CFD simulations for 2D Navier-Stokes turbulence using Python?

To run CFD simulations for 2D Navier-Stokes turbulence using Python, the Skill uses a pseudospectral FFT framework to configure grid parameters, launch time-stepping, and generate vorticity fields and energy spectra outputs.

Can I use MPI parallelization for computational fluid dynamics simulations?

Yes, you can use MPI parallelization for computational fluid dynamics simulations. The Skill supports scalable MPI execution to distribute pseudospectral FFT solvers across compute resources for high-resolution turbulence and stratified flow modeling.

What is a pseudospectral FFT solver and when do I need it for fluid dynamics?

A pseudospectral FFT solver computes fluid dynamics spatial derivatives in Fourier space for high accuracy. You need it for periodic-domain problems like 2D/3D Navier-Stokes, shallow water equations, and turbulence energy cascade studies.

How do I post-process CFD outputs to analyze turbulence energy cascades?

To post-process CFD outputs and analyze turbulence energy cascades, the Skill generates physical fields, energy spectra, and spatial means from the simulation results, allowing you to compare outputs across multiple viscosity and grid-resolution runs.

Does this pseudospectral CFD approach work for stratified flow and geophysical modeling?

Yes, this pseudospectral CFD approach works for stratified flow and geophysical modeling. The Skill supports periodic 2D/3D scenarios including shallow water dynamics and stratified flows suitable for vortex dynamics studies.

What are the limitations of using FFT-based solvers for computational fluid dynamics?

FFT-based solvers for computational fluid dynamics are limited to periodic boundary conditions in 2D/3D domains. They are ideal for idealized turbulence studies but not suited for complex non-periodic geometries or arbitrary boundary layer flows.