fluidsim

Run pseudospectral CFD simulations for Navier-Stokes and stratified flows.

1|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/Sologa/codex-pipeline --skill fluidsim-sologa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fluidsim
Source: https://github.com/Sologa/codex-pipeline/tree/main/.codex/skills/fluidsim
Command: npx skills add https://github.com/Sologa/codex-pipeline --skill fluidsim-sologa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires fluidfft, pyfftw, mpi4py, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a powerful framework for running complex computational fluid dynamics (CFD) simulations, enabling researchers and engineers to study phenomena like turbulence, stratified flows, and geophysical dynamics without needing to write low-level simulation code.

Core Features & Use Cases

  • Multiple Solvers: Supports 2D/3D Navier-Stokes, stratified flows, and shallow water equations.
  • High Performance: Utilizes pseudospectral methods with FFT and MPI for parallel computing.
  • Complete Workflow: Handles parameter configuration, simulation execution, and output analysis.
  • Use Case: Simulate the behavior of atmospheric layers in a stratified flow scenario to understand weather patterns or ocean currents.

Quick Start

Use the fluidsim skill to run a 2D turbulence simulation with a resolution of 256x256 and viscosity 1e-3 for 10 time units.

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 turbulence simulation using pseudospectral methods?

This Python framework solves 2D and 3D Navier-Stokes equations for turbulence and vortex dynamics using pseudospectral methods. It handles parameter configuration and simulation execution to compute high-performance fluid dynamics solutions.

Can I use MPI for parallel computational fluid dynamics simulations?

Yes, MPI is supported for parallel computational fluid dynamics execution via mpi4py. This allows distributed processing of high-performance pseudospectral simulations across multiple computing nodes.

Does this framework support stratified flows and shallow water equations?

Yes, the framework simulates stratified flows and shallow water equations alongside 2D and 3D Navier-Stokes. These solvers compute geophysical fluid dynamics for research in atmospheric layers and ocean currents.

What do I need to compute FFT operations for Navier-Stokes equations?

Computing FFT operations for Navier-Stokes equations requires fluidfft and pyfftw dependencies. These libraries provide the Fast Fourier Transform backend necessary for the pseudospectral methods.

What is the best way to simulate geophysical flows without writing low-level code?

A Python CFD framework using pseudospectral methods is the best way to simulate geophysical flows without writing low-level code. It provides built-in solvers for stratified flows and shallow water equations.