Structured blocks
A quadtree in 2D and octree in 3D organize fixed-size Cartesian blocks into a hierarchy that is practical to refine, traverse, and visualize.
OctFlux CFD explores a finite-volume solver built around block-structured octree adaptive mesh refinement: focused resolution for evolving flow features, guided by verification from the start.
The project focuses on the foundations that make adaptive simulation credible: hierarchy, conservative coupling, and transparent validation.
A quadtree in 2D and octree in 3D organize fixed-size Cartesian blocks into a hierarchy that is practical to refine, traverse, and visualize.
Adaptive grids are only useful when transitions are treated carefully. The focus is consistent transfer and conservation across coarse-to-fine regions.
Known flows, mesh sensitivity, and observable physical quantities set a clear bar for each milestone.
The initial benchmark suite is designed to make progress measurable from the start.
A compact incompressible-flow reference for vortex placement, centreline profiles, and resolution sensitivity.
Use an unsteady wake to examine separation, force trends, and adaptive resolution around a moving flow feature.
Simple manufactured and canonical problems help test accuracy, stability, and adaptation logic before complexity grows.
Read each case in the same order: a comparison establishes the reference, an animation shows where the hierarchy moves, and a compact readout states the numerical evidence. The sequence starts with the lid-driven cavity and then moves to wakes, interfaces, and stress tests.
Each record uses the same interaction. Open a case to load the full, uncropped simulation GIF beside the setup and comparison basis. This keeps the page readable while preserving the full animation when you want to inspect it.
Opening the case record loads the full simulation.
The cavity is the first validation record because its centreline profiles give a direct numerical comparison before interpreting adaptive behaviour.

Opening the case record loads the full simulation.
The steady Re = 40 case establishes body and near-wake resolution. The Re = 100 record then shows dynamic tagging following the moving vortex street.
Opening the case record loads the full simulation.
The GIF shows the hierarchy moving with the bubble rather than retaining fine resolution across the entire liquid column.

Snapshots make the interface-following refinement visible; the chart compares velocity and centre of mass with uniform-grid runs.

These cases use the same expandable full-animation record: a drop impact for robustness, Rayleigh–Taylor growth against theory, and vortex reversal for interface transport.
Opening the case record loads the full simulation.
A falling water drop impacts a pool, forming a crater and jets. The record monitors conservative transport as the free surface changes rapidly.
Opening the case record loads the full simulation.
A perturbed heavy-over-light interface develops under gravity while the AMR band follows the instability.
Opening the case record loads the full simulation.
A disc stretches into a thin spiral and the velocity field reverses, making recovery of the initial shape a clear transport check.
OctFlux CFD is an independent technical project. Public updates will be added as reproducible benchmark material becomes available.





