fluidsim

Solve 2D/3D Navier–Stokes, shallow water, and stratified flow simulations with MPI parallelization.

15|2|Updated Dec 17, 2025
One-click install
npx skills add https://github.com/rubensliv/k-dense-ai --skill fluidsim-rubensliv
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fluidsim
Source: https://github.com/rubensliv/k-dense-ai/tree/main/scientific-skills/fluidsim
Command: npx skills add https://github.com/rubensliv/k-dense-ai --skill fluidsim-rubensliv

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

FluidSim makes it easy for researchers to run high-performance computational fluid dynamics simulations in Python, providing ready-to-use solvers and workflows for complex flow studies.

Core Features & Use Cases

  • Solvers for 2D/3D Navier-Stokes, shallow water, and stratified flows with MPI parallelization.
  • Pseudospectral methods using FFT for fast, scalable computation and robust post-processing.
  • Use cases include turbulence investigations, vortex dynamics, geophysical flow modeling, and parametric studies.

Quick Start

Install fluidsim, configure a default parameter set, instantiate the solver, and run a simulation.

Frequently Asked Questions about fluidsim

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

FAQPage Schema
How do I run Navier-Stokes simulations in Python for turbulence studies?

Navier-Stokes simulations for turbulence studies run via Python-based solvers using FFT-based pseudospectral methods. The framework provides ready-to-use 2D/3D solvers enabling rapid parameter studies and detailed post-processing of vortex dynamics.

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

MPI parallelization is supported for high-performance CFD simulations to enable scalable computation. The framework handles 2D/3D Navier-Stokes, shallow water, and stratified flows with pseudospectral methods for robust distributed processing.

What's the best way to configure parameters for stratified flow modeling?

Configuring parameters for stratified flow modeling uses a modular parameter configuration system with safe parameter handling. Researchers instantiate a default parameter set, configure the solver, and run the simulation to generate structured outputs.

Does pseudospectral FFT computation work for geophysical flow modeling?

Pseudospectral FFT computation works for geophysical flow modeling by providing fast, scalable calculation. The framework covers shallow water and stratified flows, enabling detailed post-processing through structured outputs like state files and spatial means.

How do I extract spatial means and spectra from CFD post-processing?

CFD post-processing extracts spatial means and spectra through structured outputs generated by the framework. After running simulations, the solvers automatically produce state files, spectra, and spatial means for detailed analysis of turbulence and flow dynamics.

What are the limitations of FFT-based pseudospectral methods for incompressible flows?

FFT-based pseudospectral methods for incompressible flows are limited to specific boundary conditions suitable for spectral accuracy. The framework focuses on 2D/3D Navier-Stokes, shallow water, and stratified flows, and may not handle complex geometries outside periodic domains.