fluidsim

Configure and run pseudospectral CFD simulations with MPI parallelization in Python.

94|11|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/swaruplab/operon --skill fluidsim-swaruplab
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: fluidsim
Source: https://github.com/swaruplab/operon/tree/main/src-tauri/protocols/fluidsim
Command: npx skills add https://github.com/swaruplab/operon --skill fluidsim-swaruplab

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 on periodic domains, combining accessibility with HPC-scale performance for turbulence, stratified, and geophysical flows.

Core Features & Use Cases

  • Pseudospectral solvers with FFT for 2D/3D Navier–Stokes, shallow water, and stratified flows
  • MPI parallelization and high-performance computing support for large-scale runs
  • Comprehensive workflow: parameter configuration, simulation execution, and rich post-processing
  • Use Case: researchers can rapidly prototype simulations, study energy cascades, or validate models against canonical flows

Quick Start

Install fluidsim, create default parameters, configure a solver, and run a simulation to observe results.

Frequently Asked Questions about fluidsim

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

FAQPage Schema
How do I run CFD simulations in Python for turbulence research?▼

You can run CFD simulations in Python by configuring pseudospectral solvers for 2D or 3D Navier-Stokes equations. This framework provides FFT-based methods and MPI parallelization to study turbulence energy cascades and validate models against canonical flows.

What is the best way to simulate stratified and oceanic flows on periodic domains?▼

Simulating stratified and oceanic flows is achieved using specialized pseudospectral solvers like ns2d.strat and sw1l. These solvers handle shallow water equations and stratified flow dynamics on periodic domains with high-performance computing support.

Does this Python CFD solver support MPI parallelization for large-scale runs?▼

Yes, this CFD solver supports MPI parallelization for large-scale runs. It integrates high-performance computing capabilities to execute computationally intensive fluid dynamics simulations efficiently across distributed systems.

How do I configure parameters and post-process pseudospectral simulation results?▼

You configure parameters by setting up default configurations for your chosen solver, then execute the simulation. Integrated I/O and post-processing interfaces allow you to analyze the simulation results directly within the Python workflow.

Can I use FFT methods to study 3D Navier-Stokes energy cascades?▼

Yes, you can use FFT methods to study 3D Navier-Stokes energy cascades. The framework includes a 3D Navier-Stokes solver (ns3d) that applies pseudospectral methods with Fast Fourier Transforms for turbulence analysis.

Are there limitations to using pseudospectral methods for geophysical flow simulation?▼

Pseudospectral methods for geophysical flow simulation are limited to periodic domains. This means they are suitable for idealized turbulence and stratified flow research but not for complex geometries or non-periodic boundary conditions.