fluidsim

Run pseudospectral CFD simulations of Navier-Stokes equations with FFT and MPI parallelization.

8|Updated Jan 13, 2026
One-click install
npx skills add https://github.com/hxk622/TokenDance --skill fluidsim-hxk622
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fluidsim
Source: https://github.com/hxk622/TokenDance/tree/main/backend/app/skills/builtin/scientific/physics/fluidsim
Command: npx skills add https://github.com/hxk622/TokenDance --skill fluidsim-hxk622

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a powerful framework for running complex computational fluid dynamics (CFD) simulations, enabling researchers and engineers to study fluid behavior without deep expertise in low-level programming.

Core Features & Use Cases

  • CFD Solvers: Includes solvers for Navier-Stokes (2D/3D), stratified flows, and shallow water equations.
  • High Performance: Utilizes pseudospectral methods with FFT and supports MPI for parallel computing.
  • Use Case: Simulate turbulent flow in a 3D box to analyze energy dissipation rates and spectral properties, or model atmospheric stratification to study weather patterns.

Quick Start

Use the fluidsim skill to run a 2D turbulence simulation with a resolution of 256x256 and viscosity of 1e-3.

Frequently Asked Questions about fluidsim

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

FAQPage Schema
How do I run a 3D turbulence simulation using pseudospectral methods?

Run 3D turbulence simulations using pseudospectral methods and FFT by configuring Navier-Stokes solvers within this Python framework. You can analyze energy dissipation rates and spectral properties in a 3D box without deep low-level programming expertise.

Can I use MPI parallelization for high-performance CFD simulations?

Yes, MPI parallelization is supported for high-performance computational fluid dynamics simulations. This allows you to scale up complex fluid behavior studies and model large-scale geophysical flows efficiently across computing resources.

What equations are available for stratified and shallow water flow modeling?

The framework provides solvers for 2D and 3D Navier-Stokes equations, stratified flows, and shallow water equations. These support modeling atmospheric stratification to study weather patterns and geophysical flow dynamics.

How do I set up a 2D turbulence simulation with specific resolution and viscosity?

To run a 2D turbulence simulation, configure the solver with a resolution of 256x256 and set the viscosity parameter to 1e-3. This enables detailed analysis of vortex dynamics and turbulence energy dissipation.

Do I need expertise in low-level programming to study fluid dynamics and vortex dynamics?

No, this framework enables researchers and engineers to study fluid behavior and vortex dynamics without deep expertise in low-level programming. It handles the pseudospectral FFT computations internally to simplify advanced CFD analysis.