v1.6.1 Released

Parallel Multi-Physics
CFD Framework

AeroFlux CFD is a high-performance finite volume solver engineered for massive parallel scalability, native GPU acceleration, and mathematical boundedness on unstructured grids.

AeroFlux CFD Simulation Vortex Visualizer
3D Lid-Driven Cavity Simulation (Re = 1000)
3.2%
Mean Boundary Layer Error
100%
Mass Conservation Precision
GPU
CUDA/HIP Solves Supported
MPI
Massive Scale Preconditioned
Features

Engineered for Technical Excellence

AeroFlux CFD combines advanced computer science architecture with research-grade numerical solvers.

Massive Parallel Scalability

Integrated directly with PETSc and MPI. Employs a distributed matrix assembly pipeline, batched local element injections, and high-performance preconditioning (HYPRE, GAMG) to maximize core utilisation.

Native GPU Offloading

Offload dense linear system assemblies and solvers directly to accelerator cards. Supports modern HPC systems running either CUDA (NVIDIA) or HIP (AMD) stacks seamlessly.

High-Order Schemes

Features Second-Order Upwind (SOU), QUICK, and Fromm schemes. Bounded with highly stable TVD limiters (vanLeer, Superbee, Minmod) to ensure shock-capturing stability and sharp scalar gradients.

Geometric Hardening

Engineered to handle skewed, high-aspect-ratio, and non-orthogonal unstructured cells. Cell volumes, face vectors, and metric coefficients are calculated on a unified consistency engine across parallel ranks.

Advanced Turbulence closures

Fully integrated $k-\omega$ SST (Shear Stress Transport) wall-bounded turbulence model and $k-\epsilon$ high-Reynolds models. Correctly scales down to viscous sublayers ($y^+ < 1$) without singular point walls.

Scalar Boundedness

Applies Patankar’s mass-imbalance correction method. Resolves scalar divergence loops separately for inflow and outflow, preventing unphysical subcooling and stabilizing multi-physics thermal couplings.

Interactive Visualizer

AeroFlux Mesh Visualizer

Inspect, evaluate, and diagnose mesh quality for high-performance CFD simulations inside a high-fidelity volumetric environment.

aeroflux-mesh-visualizer (v1.4.7)
AeroFlux Mesh Visualizer UI preview showing volumetric 3D element rendering

Volumetric 3D Engine

CAD-grade 3D element rendering using Three.js. Supports zoom, rotate, clipping planes, and cross-section analysis on complex unstructured grids.

Topological Walk & Connectivity

Walk step-by-step through Cells, Nodes, Faces, and Neighbors. Double-click elements to center and check local indexing matrices on card & badge layouts.

Diagnostics Overlays & Heatmaps

Analyze cell quality (aspect ratio, skewness), cell volumes, computational zones, and parallel CPU partition bounds (MPI Rank mappings) with high-contrast gradients.

Communication & Face Analysis

Analyze face-normal vectors and inter-processor communication graphs to debug load balancing and parallel MPI ghost-cell halo injections.

How to Run stand-alone application

Linux Platforms aeroflux-mesh-visualizer-1.4.7.AppImage Zero-install portable / sudo apt install .deb
Windows Platforms AeroFlux Mesh Visualizer Setup 1.4.7.exe Setup wizard or unpacked portable exe
Validation Dashboard

Scientific Verification Gallery

Examine computed AeroFlux results plotted directly against exact analytical configurations and peer-reviewed benchmark data.

Re = 1000 Validated

3D Lid-Driven Cavity

Simulation Output (Velocity Magnitude)
LDC 3D Velocity Magnitude Simulation Output
Verification Curve vs Albensoeder (2005)
LDC 3D Centerline Velocity Profile Verification Curve

This benchmark validates exact mass conservation and multi-dimensional momentum diffusion inside a fully enclosed 3D volume. The fluid is driven solely by the shear stress exerted by a moving top boundary wall.

Result: Centerline velocity profiles computed on our unstructured solver align perfectly with the classic spectral benchmark solutions published by Albensoeder et al. (2005), illustrating the reliability of the cell-centered collocated FVM pressure-velocity formulation.

Pressure-Driven Analytical Agreement

3D Poiseuille Duct Flow

Simulation Output (Velocity Magnitude)
Duct Flow 3D Velocity Magnitude Simulation Output
Verification Curve vs Exact Fourier Analytical
Duct Flow 3D Velocity Profiles Verification Curve

Demonstrates viscous development inside a square channel. A uniform inflow boundary condition develops downstream into a fully three-dimensional parabolic velocity profile due to boundary layer drag along the four no-slip walls.

Result: AeroFlux spatial developing profiles asymptotically approach the exact analytical Fourier series solution, verifying the second-order viscous diffusion operator and non-orthogonality metric formulations.

SIMPLE Solver Recirculation Validated

3D Backward-Facing Step

Simulation Output (Velocity Magnitude)
Backward Facing Step 3D Simulation Output
Verification Curve vs Armaly (1983)
Backward Facing Step Recirculation Length Verification Curve

Validates flow separation, reattachment, and recirculation dynamics. When fluid passes over a sudden step expansion, shear layers break off and form a long, closed recirculation bubble downstream.

Result: The primary reattachment bubble length computed by the AeroFlux SIMPLE segregated solver perfectly matches established experimental data by Armaly et al. (1983), verifying momentum separation accuracy.

Ra = 10^4 Boussinesq Coupled

3D Natural Convection

Simulation Output (Temperature)
Natural Convection Temperature Simulation Output
Verification Curve vs De Vahl Davis (1983)
Natural Convection Velocity and Nusselt Verification Curve

Showcases Boussinesq buoyancy coupling. A closed cavity with heated and cooled side walls drives a strong convection flow circuit against the vertical gravity vector solely due to density differences.

Result: Velocity profiles and local Nusselt numbers along the boundary align tightly with the benchmark computations of De Vahl Davis (1983), proving the accuracy of the multi-physics thermal-fluid coupling loop.

Implicit Euler Transient Heat Diffusion

Transient Laser Heating

Simulation Output (Temperature)
Transient Laser Heating Temperature Simulation Output
Verification Curve vs Exact Analytical
Laser Heating Temperature Profile Verification Curve

Validates unsteady second-order diffusion solvers using an active, time-dependent spatial Gaussian heat source representing a moving high-intensity laser pulse over a domain.

Result: The transient thermal profiles correspond precisely to the analytical integration values, demonstrating temporal accuracy in the implicit time-marching schemes.

TVD Scheme Shape Preserved

3D Rotating Pulse

Simulation Output (Temperature)
Rotating Pulse Temperature Simulation Output
Verification Curve vs Analytical Solution
Rotating Pulse Profile Shape Retention Verification Curve

A rigorous test for numerical advection schemes. A complex spatial shape is subjected to a constant solid-body rotational velocity field over a full $2\pi$ cycle on unstructured tetrahedral meshes.

Result: High-order reconstruction paired with the Superbee flux limiter prevents both unphysical numeric dispersion (wiggles) and high numeric diffusion (smearing), keeping the sharp pulse boundaries intact.

k-omega SST NASA TMR Validated

NASA TMR Flat Plate Boundary Layer

Boundary Layer Skin Friction (Cf) vs NASA TMR
Skin Friction Coefficient Cf comparison vs NASA TMR Database
Viscous Boundary Layer Velocity Profile
Wall-normal boundary layer velocity profile matching viscous sublayer

Validates high-Reynolds turbulent boundary layers resolved down to the viscous sublayer ($y^+ < 1$) along a flat plate. Results are compared directly to NASA's Turbulence Modeling Resource (TMR) database.

Result: AeroFlux computes local skin friction coefficients ($C_f$) with an outstanding **mean validation error of only 3.21%** compared to the empirical Schlichting/White correlations at steady state. Wall boundary scaling behaves identically to wall functions without singularities.

Quick Start

Get Started in Seconds

Deploy and run parallel simulations on your workstation or compute cluster with a clean config structure.

# Clone and build the parallel C++ FVM engine
git clone https://github.com/sachiniitbae/AeroFlux-CFD.git
cd AeroFlux-CFD && make parallel -j$(nproc)

# Launch Lid-Driven Cavity using 4 MPI ranks
mpirun -np 4 ./bin/aeroflux_parallel -config configs/cavity_3d.yaml

# Run the high-fidelity rendering pipeline to produce XDMF and PNGs
python3 scripts/render_parallel.py --input output/cavity_3d.h5
# Run the automated sandbox script to configure PETSc with GPU acceleration
bash scripts/setup_petsc_gpu.sh --backend=cuda --prefix=/usr/local/petsc-gpu

# Compile the solver with active device-offload calls
make parallel-gpu -j$(nproc)

# Run the GPU-preconditioned simulation (BiCGStab solver, HYPRE on device)
mpirun -np 8 ./bin/aeroflux_parallel -config configs/thermal_3d.yaml -vec_type cuda -mat_type aijcuda
simulation:
  name: "3D Cavity Flow Re=1000"
  solver: "piso"  # transient pressure-velocity coupling
  time_steps: 1000
  dt: 0.005

physics:
  viscosity: 0.001
  density: 1.0
  gravity: [0.0, 0.0, -9.81]

mesh:
  file: "meshes/cavity_structured_32.msh"
  format: "msh2"

linear_solver:
  pressure:
    solver: "cg"
    preconditioner: "gamg"  # Geometric-Algebraic Multigrid
    tolerance: 1e-7

Powering Next-Gen Fluid Simulations

AeroFlux is fully open source, customizable, and ready for integration into your aerospace or thermal design workflows.