Framework for computational fluid dynamics simulations using Python. Use when running fluid dynamics simulations including Navier-Stokes equations (2D/3D), shallow water equations, stratified flows, or when analyzing turbulence, vortex dynamics, or geophysical flows. Provides pseudospectral methods with FFT, HPC support, and comprehensive output analysis.
# FluidSim ## Overview FluidSim is an object-oriented Python framework for high-performance computational fluid dynamics (CFD) simulations. It provides solvers for periodic-domain equations using pseudospectral methods with FFT, delivering performance comparable to Fortran/C++ while maintaining Python's ease of use. **Key strengths**: - Multiple solvers: 2D/3D Navier-Stokes, shallow water, stratified flows - High performance: Pythran/Transonic compilation, MPI parallelization - Complete workflow: Parameter configuration, simulation execution, output analysis - Interactive analysis: Python-based post-processing and visualization ## Core Capabilities ### 1. Installation and Setup Install fluidsim using uv with appropriate feature flags: ```bash # Basic installation uv uv pip install fluidsim # With FFT support (required for most solvers) uv uv pip install "fluidsim[fft]"
Sign in to view the full prompt.
Sign In