|
flow 1.3.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
Functions | |
| check (name, ok, detail="") | |
| state (s) | |
| same (a, b) | |
| diffs (a, b) | |
| scene_cfl (n=16) | |
| gate_atomic () | |
| scene_hysing (nx=32, nz=64, sigma=0.02) | |
| gate_adaptive (nsteps=200) | |
| one_adaptive (nsteps, cflT, capT, sigma, dmax) | |
| gate_geometry () | |
| leveque (n, t=0.0, T=3.0) | |
| sphere_colour (n, cx=0.35, r=0.15) | |
| gate_collocated () | |
| half_channel (nz, top_type, mu=0.05, F=1e-3, dt=5000.0, steps=200) | |
| gate_freeslip (nz=32) | |
| gate_wetwall () | |
Variables | |
| list | FAIL = [] |
| MAIN | |
| ap = argparse.ArgumentParser() | |
| nargs | |
| default | |
| a = ap.parse_args() | |
Gates for the ISSUES sweep (the solver-side entries examples/*/ISSUES.md logged).
One sub-command per ISSUES entry; every one prints its measured numbers and a PASS/FAIL line.
PYTHONPATH=$PWD/build_cuda python tests/study/vof_issues_sweep.py atomic
PYTHONPATH=$PWD/build_cuda python tests/study/vof_issues_sweep.py adaptive
PYTHONPATH=$PWD/build_cuda python tests/study/vof_issues_sweep.py geometry
PYTHONPATH=$PWD/build_cuda python tests/study/vof_issues_sweep.py collocated
PYTHONPATH=$PWD/build_cuda python tests/study/vof_issues_sweep.py freeslip
PYTHONPATH=$PWD/build_cuda python tests/study/vof_issues_sweep.py wetwall
| vof_issues_sweep.check | ( | name, | |
| ok, | |||
detail = "" |
|||
| ) |
Definition at line 24 of file vof_issues_sweep.py.
Referenced by gate_atomic(), gate_collocated(), gate_freeslip(), gate_geometry(), and one_adaptive().
| vof_issues_sweep.state | ( | s | ) |
Definition at line 30 of file vof_issues_sweep.py.
Referenced by gate_atomic(), and one_adaptive().
| vof_issues_sweep.same | ( | a, | |
| b | |||
| ) |
Definition at line 35 of file vof_issues_sweep.py.
Referenced by gate_atomic(), and one_adaptive().
| vof_issues_sweep.diffs | ( | a, | |
| b | |||
| ) |
Definition at line 39 of file vof_issues_sweep.py.
Referenced by gate_atomic(), and one_adaptive().
| vof_issues_sweep.scene_cfl | ( | n = 16 | ) |
The ISSUES reproducer: a half-filled box, uniform u = 1, body force in z.
Definition at line 44 of file vof_issues_sweep.py.
Referenced by gate_atomic().
| vof_issues_sweep.gate_atomic | ( | ) |
Definition at line 64 of file vof_issues_sweep.py.
References check(), diffs(), same(), scene_cfl(), and state().
| vof_issues_sweep.scene_hysing | ( | nx = 32, |
|
nz = 64, |
|||
sigma = 0.02 |
|||
| ) |
Definition at line 112 of file vof_issues_sweep.py.
Referenced by one_adaptive().
| vof_issues_sweep.gate_adaptive | ( | nsteps = 200 | ) |
Definition at line 140 of file vof_issues_sweep.py.
References one_adaptive().
| vof_issues_sweep.one_adaptive | ( | nsteps, | |
| cflT, | |||
| capT, | |||
| sigma, | |||
| dmax | |||
| ) |
Definition at line 151 of file vof_issues_sweep.py.
References check(), diffs(), same(), scene_hysing(), and state().
Referenced by gate_adaptive().
| vof_issues_sweep.gate_geometry | ( | ) |
Definition at line 175 of file vof_issues_sweep.py.
References check().
| vof_issues_sweep.leveque | ( | n, | |
t = 0.0, |
|||
T = 3.0 |
|||
| ) |
Cell-centre-sampled LeVeque deformation field (u, v, w) on an n^3 unit box.
Definition at line 196 of file vof_issues_sweep.py.
Referenced by gate_collocated().
| vof_issues_sweep.sphere_colour | ( | n, | |
cx = 0.35, |
|||
r = 0.15 |
|||
| ) |
Definition at line 207 of file vof_issues_sweep.py.
Referenced by gate_collocated().
| vof_issues_sweep.gate_collocated | ( | ) |
Definition at line 214 of file vof_issues_sweep.py.
References check(), leveque(), and sphere_colour().
| vof_issues_sweep.half_channel | ( | nz, | |
| top_type, | |||
mu = 0.05, |
|||
F = 1e-3, |
|||
dt = 5000.0, |
|||
steps = 200 |
|||
| ) |
Definition at line 263 of file vof_issues_sweep.py.
Referenced by gate_freeslip().
| vof_issues_sweep.gate_freeslip | ( | nz = 32 | ) |
Definition at line 275 of file vof_issues_sweep.py.
References check(), and half_channel().
| vof_issues_sweep.gate_wetwall | ( | ) |
Definition at line 308 of file vof_issues_sweep.py.
| list vof_issues_sweep.FAIL = [] |
Definition at line 21 of file vof_issues_sweep.py.
| vof_issues_sweep.MAIN |
Definition at line 312 of file vof_issues_sweep.py.
| vof_issues_sweep.ap = argparse.ArgumentParser() |
Definition at line 316 of file vof_issues_sweep.py.
| vof_issues_sweep.nargs |
Definition at line 317 of file vof_issues_sweep.py.
| vof_issues_sweep.default |
Definition at line 317 of file vof_issues_sweep.py.
| vof_issues_sweep.a = ap.parse_args() |
Definition at line 318 of file vof_issues_sweep.py.