|
flow 0.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
Functions | |
| drag (N, kind, mu=0.1, F=1e-3, dt=80.0, warm_tol=1e-7, tail=40, max_steps=4000) | |
Variables | |
| PHI0 | |
| K_ZH | |
| list | Ns = [int(x) for x in (sys.argv[1:] or [32, 48, 64, 96, 128, 192, 256])] |
| prev = None | |
| tuple | R = (3 * PHI0 / (4 * np.pi)) ** (1 / 3) * N |
| ks | |
| ns | |
| ts | |
| kg | |
| ng | |
| tg | |
| float | gap = 100.0 * (kg - ks) / ks |
| str | o = "" |
| flush | |
Is the collocated permeability ceiling real? Measure the collocated-minus-staggered GAP on
Zick & Homsy, where both solvers run the same harness on identical geometry.
Measuring either solver against K_ZH = 4.292 is limited by the table's four figures (+-0.023 %).
The GAP between two computations on the same grid has no such limit: the benchmark value cancels,
so a ceiling of 0.3 % is resolvable far below its own size, and the question "does the gap decay
under refinement or flatten" gets a clean answer.
SDFLOW_BUILD=build_ge python tests/study/zh_collocated_gap.py [N ...]
| zh_collocated_gap.drag | ( | N, | |
| kind, | |||
mu = 0.1, |
|||
F = 1e-3, |
|||
dt = 80.0, |
|||
warm_tol = 1e-7, |
|||
tail = 40, |
|||
max_steps = 4000 |
|||
| ) |
Definition at line 25 of file zh_collocated_gap.py.
| zh_collocated_gap.PHI0 |
Definition at line 22 of file zh_collocated_gap.py.
| zh_collocated_gap.K_ZH |
Definition at line 22 of file zh_collocated_gap.py.
| list zh_collocated_gap.Ns = [int(x) for x in (sys.argv[1:] or [32, 48, 64, 96, 128, 192, 256])] |
Definition at line 61 of file zh_collocated_gap.py.
| tuple zh_collocated_gap.prev = None |
Definition at line 64 of file zh_collocated_gap.py.
Definition at line 66 of file zh_collocated_gap.py.
| zh_collocated_gap.ks |
Definition at line 68 of file zh_collocated_gap.py.
| zh_collocated_gap.ns |
Definition at line 68 of file zh_collocated_gap.py.
| zh_collocated_gap.ts |
Definition at line 68 of file zh_collocated_gap.py.
| zh_collocated_gap.kg |
Definition at line 69 of file zh_collocated_gap.py.
| zh_collocated_gap.ng |
Definition at line 69 of file zh_collocated_gap.py.
| zh_collocated_gap.tg |
Definition at line 69 of file zh_collocated_gap.py.
Definition at line 72 of file zh_collocated_gap.py.
| str zh_collocated_gap.o = "" |
Definition at line 73 of file zh_collocated_gap.py.
| zh_collocated_gap.flush |
Definition at line 77 of file zh_collocated_gap.py.