fluidsim

Configure and analyze 2D/3D Navier–Stokes CFD simulations with pseudospectral FFT solvers.

6|Updated Dec 30, 2025
One-click install
npx skills add https://github.com/pur3v4d3r/pur3-pkb-codebase --skill fluidsim-pur3v4d3r
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fluidsim
Source: https://github.com/pur3v4d3r/pur3-pkb-codebase/tree/main/.claude/skills/__scientific-skills/fluidsim
Command: npx skills add https://github.com/pur3v4d3r/pur3-pkb-codebase --skill fluidsim-pur3v4d3r

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

FluidSim provides a Python-based framework to configure, run, and analyze high-performance CFD simulations, reducing setup time and enabling reproducible workflows for complex fluid dynamics problems.

Core Features & Use Cases

  • 2D and 3D Navier–Stokes solvers with pseudospectral methods
  • Stratified and shallow-water flow support for geophysical applications
  • MPI parallelization and tuning for HPC environments
  • End-to-end workflow: parameter configuration, execution, and output analysis
  • Rich post-processing utilities for visualization and spectra

Quick Start

Launch a 2D ns2d simulation with a 256x256 grid, set viscosity, run to t_end, and plot the energy spectrum.

Frequently Asked Questions about fluidsim

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

FAQPage Schema
How do I run high-performance CFD simulations in Python for 2D and 3D Navier-Stokes equations?

You can run high-performance CFD simulations in Python by configuring pseudospectral FFT solvers to execute 2D and 3D Navier-Stokes flow calculations. This framework supports MPI parallelization for HPC environments and provides end-to-end workflows from parameterization to results visualization.

Can I use Python to post-process CFD outputs and plot energy spectra?

Yes, you can use Python to post-process CFD outputs and plot energy spectra. The framework includes rich post-processing utilities designed for analyzing simulation results, enabling you to calculate spatial means and visualize spectral data directly.

What is the best way to simulate stratified and shallow-water flows for geophysical applications?

The best way to simulate stratified and shallow-water flows for geophysical applications is using a Python-based pseudospectral solver framework. It specifically supports these flow types alongside standard Navier-Stokes, allowing you to configure parameters and execute high-performance simulations.

Does MPI parallelization work with Python-based pseudospectral FFT solvers for HPC environments?

Yes, MPI parallelization works seamlessly with Python-based pseudospectral FFT solvers for HPC environments. The framework is optimized for high-performance computing, allowing you to tune parallel execution to efficiently scale your fluid dynamics simulations.

How do I configure a 2D ns2d simulation with a 256x256 grid in Python?

To configure a 2D ns2d simulation with a 256x256 grid in Python, you set the grid resolution, define viscosity parameters, and specify the end time. The framework handles the pseudospectral calculations and allows you to plot the resulting energy spectrum upon completion.