fluidsim

Configure, run, and analyze pseudospectral CFD simulations with FFT and MPI.

1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/JosephWoodall/noosphere --skill fluidsim-josephwoodall
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fluidsim
Source: https://github.com/JosephWoodall/noosphere/tree/main/.agent/skills/fluidsim
Command: npx skills add https://github.com/JosephWoodall/noosphere --skill fluidsim-josephwoodall

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

FluidSim provides an object-oriented Python framework for high-performance computational fluid dynamics simulations, simplifying the setup, execution, and analysis of complex flows and enabling researchers to scale computations on HPC resources.

Core Features & Use Cases

  • Object-oriented CFD framework in Python with multiple solvers: ns2d, ns3d, ns2d.strat, ns3d.strat, and sw1l for geophysical and engineering applications.
  • Pseudospectral methods with FFT and MPI-based parallelization for high performance and scalability.
  • End-to-end workflow: hierarchical parameter configuration, solver instantiation, time stepping, and rich post-processing and visualization tools.
  • Use cases include 2D/3D turbulence studies, stratified/oceanic flows, shallow-water dynamics, parametric studies, and HPC deployments.
  • Easy analysis and post-processing via Python-based plotting and data extraction of outputs (state_phys, spectra, spatial_means).

Quick Start

Create default parameters with Simul.create_default_params(), configure a 2D ns2d run, and start the 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 using pseudospectral methods?

Navier-Stokes simulations in Python are configured using a hierarchical Parameters object and solver modules like ns2d or ns3d. The framework uses pseudospectral methods with FFT to solve equations and provides output tooling for time stepping and post-processing.

Can I scale computational fluid dynamics simulations across HPC clusters with MPI?

Computational fluid dynamics simulations can be scaled across HPC clusters using MPI-based parallelization. The framework supports high-performance deployment for turbulent and geophysical applications, enabling efficient large-scale computations.

What types of fluid flow models are supported for geophysical research?

Supported fluid flow models for geophysical research include 2D and 3D Navier-Stokes solvers, stratified flows for oceanic applications, and shallow-water dynamics. These solvers are suitable for turbulence studies and stratified flow analysis.

How do I configure a default CFD simulation environment in Python?

To configure a default CFD simulation environment, create default parameters using the Simul.create_default_params() method. This initializes the hierarchical configuration needed to instantiate solvers, define physics, and start time stepping.

Does this Python CFD framework include built-in post-processing and visualization tools?

The Python CFD framework includes built-in post-processing and visualization tools for analyzing outputs. Users can perform data extraction and plotting on state_phys, spectra, and spatial_means outputs directly within Python.

What are the limitations of using pseudospectral methods for fluid simulation?

Pseudospectral methods for fluid simulation are highly accurate for periodic domains but may require significant computational resources for complex geometries. The framework targets 2D and 3D turbulence and geophysical flows, relying on FFT transformations.