|
flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
Classes | |
| class | PlanarGeo |
| class | CircleCase |
| class | CircleGeo |
Functions | |
| poly_frac (phi, x0, y0, h) | |
| seg_frac (n, ref, s0, x0, y0, e, kern, h) | |
| build (case, geo, rule="band-avg") | |
| solve_err (case, geo, rule="band-avg") | |
Variables | |
| GL_X | |
| GL_W | |
| G8_X | |
| G8_W | |
mac2d generalised to per-cell planes (architect follow-up Q-A, 2026-10-31). Only the production configuration of mac2d: scheme 'sharp', SHARP_BASE 'facef', FCORR 'fit', DNN_W 'all'. Geometry goes through a geo object so that a curved interface (circle) can carry one PLIC plane per mixed cell, edge (node) owners, and a per-cell fit normal chosen by a rule. PlanarGeo reproduces mac2d. tau rules: 'band-avg' (mean over band cells among the 4), 'mixed-avg' (interfacial cells only), 'owner'.
| mac2dc.seg_frac | ( | n, | |
| ref, | |||
| s0, | |||
| x0, | |||
| y0, | |||
| e, | |||
| kern, | |||
| h ) |
Definition at line 40 of file mac2dc.py.
Referenced by mac2dc.CircleGeo.mid_frac(), and mac2dc.CircleGeo.node_frac().
| mac2dc.build | ( | case, | |
| geo, | |||
| rule = "band-avg" ) |
Definition at line 284 of file mac2dc.py.
Referenced by solve_err().
| mac2dc.solve_err | ( | case, | |
| geo, | |||
| rule = "band-avg" ) |