AeroDyn 2D: NACA 0012 Interactive CFD Wind Tunnel
AeroDyn 2D: NACA 0012 Interactive CFD Wind Tunnel A real-time, browser-native 2D CFD wind tunnel powered by the Lattice Boltzmann Method. Table of Contents Overview Airfoil Geometry The Lattice Boltzmann Method D2Q9 Velocity Set Collision: BGK with Smagorinsky SGS Closure Streaming & Bounce-Back Boundary Conditions Solver Architecture Grid & State Representation Double-Buffering Strategy Numerical Stability Aerodynamics Post-Processing Pressure Coefficient Distribution Lift Coefficient Estimation Stall Detection Visualization Pipeline Scalar Field Rendering via LUTs Flow Tracing Particles Static Streamlines Interactive Controls Performance Characteristics Known Limitations & Future Work Links Overview AeroDyn 2D is a self-contained, zero-dependency fluid dynamics simulator that runs entirely in the browser. It solves the 2D incompressible Navier-Stokes equations in the weakly compressible limit using the Lattice Boltzmann Method (LBM) on a structured D2Q9 lattice, with a NACA 0012 airfoil as the immersed solid boundary. The simulation exposes interactive control over angle of attack (AoA), Reynolds number, and inlet velocity, and provides real-time post-processing of the pressure coefficient (Cp) distribution, lift coefficient (Cl), and wake vorticity field. ...