fluidsim

Execute CFD simulations with pseudospectral FFT methods and MPI parallelization.

1|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/yf8578/clawomics --skill fluidsim-yf8578
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fluidsim
Source: https://github.com/yf8578/clawomics/tree/main/skills/fluidsim
Command: npx skills add https://github.com/yf8578/clawomics --skill fluidsim-yf8578

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a high-performance Python framework for running complex computational fluid dynamics (CFD) simulations, enabling detailed analysis of fluid behavior.

Core Features & Use Cases

  • CFD Solvers: Offers solvers for Navier-Stokes (2D/3D), stratified flows, and shallow water equations.
  • Pseudospectral Methods: Utilizes FFT for high accuracy and performance.
  • HPC Support: Integrates with MPI for parallel computing.
  • Use Case: Simulate atmospheric turbulence by setting up a 3D stratified flow simulation with specific viscosity and stratification parameters, then analyze the resulting energy spectra and flow fields.

Quick Start

Run a 2D Navier-Stokes simulation with default parameters and end time of 10.0.

Frequently Asked Questions about fluidsim

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

FAQPage Schema
How do I run a 2D Navier-Stokes simulation using pseudospectral methods?

To run a 2D Navier-Stokes simulation, execute the framework with default parameters and specify an end time like 10.0. It utilizes FFT-based pseudospectral methods to compute fluid dynamics with high accuracy.

Can I use MPI for parallel computational fluid dynamics simulations?

Yes, this framework supports MPI parallelization for high-performance computing. You can scale computational fluid dynamics simulations across clusters to analyze complex turbulence and vortex dynamics efficiently.

What equations are supported for stratified and shallow water fluid dynamics?

The framework supports Navier-Stokes (2D/3D), stratified flows, and shallow water equations. These solvers facilitate detailed analysis of turbulence, vortex dynamics, and geophysical flows.

Does this CFD framework require additional dependencies for high-performance computing?

No additional dependencies are required beyond the base framework. It integrates MPI natively for parallel computing and uses FFT for pseudospectral methods, ensuring high performance without external libraries.

What is the best way to analyze atmospheric turbulence in a 3D stratified flow?

Set up a 3D stratified flow simulation by configuring specific viscosity and stratification parameters. After execution, use the comprehensive output and visualization tools to analyze resulting energy spectra and flow fields.

Why use pseudospectral methods with FFT for computational fluid dynamics?

Pseudospectral methods using FFT provide high accuracy and performance for CFD simulations. This approach effectively resolves complex fluid behaviors like turbulence and vortex dynamics in Navier-Stokes equations.