lib-fluidsim

Provides a Python framework for CFD simulations using pseudospectral methods and MPI.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/biomaps-infra/blender-opencode --skill lib-fluidsim
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lib-fluidsim
Source: https://github.com/biomaps-infra/blender-opencode/tree/main/.opencode/skills/lib-fluidsim
Command: npx skills add https://github.com/biomaps-infra/blender-opencode --skill lib-fluidsim

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the process of running complex computational fluid dynamics (CFD) simulations, from setup to analysis, by providing a high-performance Python framework.

Core Features & Use Cases

  • Multiple Solvers: Supports Navier-Stokes (2D/3D), stratified flows, and shallow water equations.
  • High Performance: Leverages pseudospectral methods with FFT and MPI for parallel computing.
  • Complete Workflow: Handles parameter configuration, simulation execution, and output analysis.
  • Use Case: Simulate turbulent flow in a 3D domain or model atmospheric stratification with ease.

Quick Start

Use the lib-fluidsim skill to run a 2D Navier-Stokes simulation with noise initial conditions and save physical fields every 1.0 time units.

Frequently Asked Questions about lib-fluidsim

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

FAQPage Schema
How do I run high-performance computational fluid dynamics simulations in Python?

You can run computational fluid dynamics simulations in Python using pseudospectral methods with FFT. This framework handles parameter configuration, simulation execution, and output analysis for 2D/3D Navier-Stokes and other flow equations.

Can I solve 3D Navier-Stokes equations with MPI parallelization?

Yes, you can solve 3D Navier-Stokes equations with MPI parallelization. The framework supports HPC environments, allowing you to simulate turbulent flow in a 3D domain using parallel computing.

What fluid dynamics equations are supported by pseudospectral solvers?

Pseudospectral solvers in this framework support 2D and 3D Navier-Stokes, shallow water, and stratified flow equations. These solvers leverage FFT methods for high-performance computational fluid dynamics.

How do I set up initial conditions for a 2D Navier-Stokes simulation?

To set up a 2D Navier-Stokes simulation, you can use noise initial conditions and configure the framework to save physical fields at specified time intervals, such as every 1.0 time units during simulation execution.

What is the best way to model atmospheric stratification using CFD?

The best way to model atmospheric stratification using CFD is through the framework's stratified flow solver. It leverages pseudospectral methods to accurately simulate stratified flow equations within a complete workflow.

Do I need an HPC environment for pseudospectral fluid dynamics simulations?

An HPC environment is recommended for pseudospectral fluid dynamics simulations due to MPI parallelization support. While you can run simulations locally, the framework is designed to leverage parallel computing for high-performance CFD tasks.