fluidsim

Run pseudospectral computational fluid dynamics simulations with an object-oriented Python interface.

2|Updated Jun 4, 2026
One-click install
npx skills add https://github.com/Lord1Egypt/scientific-agent-toolkit --skill fluidsim-lord1egypt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fluidsim
Source: https://github.com/Lord1Egypt/scientific-agent-toolkit/tree/main/scientific-skills/fluidsim
Command: npx skills add https://github.com/Lord1Egypt/scientific-agent-toolkit --skill fluidsim-lord1egypt

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires fluidsim, fluidfft, pyfftw, mpi4py, numpy, matplotlib, h5py, pandas, and includes references (resource) components.

What problem does it solve?

This Skill addresses the complexity of setting up and running high-performance computational fluid dynamics (CFD) simulations, providing a streamlined interface for pseudospectral methods.

Core Features & Use Cases

  • Multi-Solver Support: Execute simulations for 2D/3D Navier-Stokes, shallow water, and stratified flows.
  • Performance Optimization: Leverage Pythran/Transonic compilation and MPI parallelization for large-scale research.
  • Use Case: Researchers can use this to simulate 2D turbulence or oceanic stratified flows by configuring parameters like viscosity and grid resolution, then automatically generating energy spectra and physical field visualizations.

Quick Start

Use the fluidsim skill to initialize a 2D Navier-Stokes simulation with a 256 by 256 grid and run it until time 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, initialize the framework with a specified grid resolution and configure physical parameters like viscosity, then execute the run until the target simulation time. This object-oriented Python interface automates pseudospectral execution and output analysis.

Can I use MPI parallelization for large-scale computational fluid dynamics simulations?

Yes, this framework supports MPI parallelization for large-scale computational fluid dynamics research. It leverages Pythran and Transonic compilation alongside fluidfft to optimize performance for high-resolution turbulence and stratified flow modeling.

What physical models are supported for high-performance turbulence and flow simulations?

Supported physical models for high-performance turbulence and flow simulations include 2D and 3D Navier-Stokes, shallow water, and stratified flows. These enable researchers to simulate diverse oceanic and atmospheric conditions.

How do I configure grid resolution and viscosity for a CFD simulation?

Configuring grid resolution and viscosity for a CFD simulation involves setting these physical parameters through the Python interface before execution. The framework then uses these values to model fluid behavior and automatically generate energy spectra.

Does this CFD framework support automated output analysis and visualization?

Yes, the CFD framework supports automated output analysis and visualization. After configuring and running your simulation, it automatically generates physical field visualizations and energy spectra for research evaluation.

What libraries are required to set up a Python-based pseudospectral CFD environment?

Required dependencies for a Python-based pseudospectral CFD environment include numpy, mpi4py, pyfftw, h5py, pandas, matplotlib, fluidfft, and fluidsim. These libraries handle array computations, FFTs, parallelization, and data visualization.