fluidsim

Simulate Navier-Stokes and shallow water flows with post-processing of velocity fields.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/ogngnaoh/scientific-agent-skills --skill fluidsim-ogngnaoh
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: fluidsim
Source: https://github.com/ogngnaoh/scientific-agent-skills/tree/main/scientific-agent-skills/skills/fluidsim
Command: npx skills add https://github.com/ogngnaoh/scientific-agent-skills --skill fluidsim-ogngnaoh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, h5py, mpi4py, pyfftw, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables users to conduct advanced CFD simulations, providing precise solutions for fluid flow problems and turbulence analysis.

Core Features & Use Cases

  • Simulation of fluid dynamics equations: including Navier-Stokes, shallow water, and stratified flows.
  • Analysis and visualization: post-process velocity fields, spectra, and spatial averages to study turbulence and flow evolution.
  • Use Case: For example, simulate 2D turbulence with high resolution and analyze energy cascades or vortex dynamics, then visualize the vorticity distribution.

Quick Start

Launch a 2D turbulence simulation with 512x512 resolution, viscosity 1e-4, and save the vorticity field every 5 units of time.

Frequently Asked Questions about fluidsim

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

FAQPage Schema
How do I run high-resolution turbulence simulations for vortex dynamics analysis?▼

Post-process velocity fields and spectra to study turbulence by computing spatial averages and visualizing vorticity distribution. This allows detailed analysis of energy cascades and flow evolution from the saved simulation data.

Can I simulate stratified flows and shallow water equations for geophysical phenomena?▼

Dependencies include numpy, h5py, mpi4py, and pyfftw, requiring a Python environment configured for high-performance computing. This setup supports parallel processing and efficient Fourier transforms for large-scale fluid flow simulations.

What's the best way to set up a 2D turbulence simulation with specific viscosity parameters?▼

Visualize vorticity distribution and analyze energy spectra by computing spatial averages from the simulation output. Post-processing capabilities enable detailed study of vortex dynamics and turbulence characteristics in the velocity fields.

Does this CFD simulation approach work with MPI for parallel processing of large domains?▼

Limitations may arise when scaling to extremely high resolutions due to computational overhead in spectral methods and Fourier transforms. Consider simulation domain size and available computing resources when configuring grid resolution for turbulence studies.