What problem does it solve?
FluidSim helps you set up, run, and post-process computational fluid dynamics simulations without manually assembling a full CFD workflow.
Core Features & Use Cases
- Pseudospectral CFD solvers: Use FFT-based solvers for periodic-domain equations.
- Multi-physics coverage: Simulate 2D/3D Navier-Stokes, shallow water, and stratified (buoyancy) flows.
- End-to-end workflow: Configure parameters, execute simulations, and analyze fields, spectra, and spatial means.
Use case: You need to study how energy cascades and turbulence evolve in a 2D Navier-Stokes flow, then plot spectra and vorticity from saved outputs for comparison across viscosities and resolutions.
Quick Start
Tell the AI to run a 2D Navier-Stokes turbulence simulation with FluidSim (FFT-enabled) by importing the ns2d solver, creating default parameters, setting nx=ny=256, choosing Lx=Ly=2*pi, configuring nu_2 and t_end, and starting time-stepping for subsequent plotting of vorticity and spectra.