|
flow 1.3.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
Functions | |
| cavity_width (slab_half) | |
Variables | |
| L | |
| NY | |
| U | |
| KI_I | |
| KI_R | |
| OFF | |
| WX | |
| tuple | HW = (L - 2 * WX) / 2 |
| float | x0 = 0.5 * L + OFF |
| bool | ok = True |
| w | |
| n | |
| tuple | good = want_w |
Periodic images are a UNION -- the oversized-leaf trap, gated. A container wall built as slab-minus-cavity in a periodic box: if the slab is wider than the box, its periodic images overlap and refill the cavity wherever a neighbouring image's slab covers it (the query takes the min over images). set_solid_from_scene must (a) DETECT it exactly -- periodic_image_overlap_cells() > 0 plus a stderr warning -- for a 0.7 L slab, and (b) report 0 for a slab of half the box plus the wall thickness, whose cavity must then be the full 53 cells. Usage: PYTHONPATH=<flow build> python periodic_image_gate.py
| periodic_image_gate.cavity_width | ( | slab_half | ) |
Definition at line 22 of file periodic_image_gate.py.
| periodic_image_gate.L |
Definition at line 15 of file periodic_image_gate.py.
| periodic_image_gate.NY |
Definition at line 15 of file periodic_image_gate.py.
| periodic_image_gate.U |
Definition at line 15 of file periodic_image_gate.py.
| periodic_image_gate.KI_I |
Definition at line 16 of file periodic_image_gate.py.
| periodic_image_gate.KI_R |
Definition at line 16 of file periodic_image_gate.py.
| periodic_image_gate.OFF |
Definition at line 17 of file periodic_image_gate.py.
| periodic_image_gate.WX |
Definition at line 17 of file periodic_image_gate.py.
Definition at line 18 of file periodic_image_gate.py.
Definition at line 19 of file periodic_image_gate.py.
| bool periodic_image_gate.ok = True |
Definition at line 41 of file periodic_image_gate.py.
| periodic_image_gate.w |
Definition at line 44 of file periodic_image_gate.py.
| periodic_image_gate.n |
Definition at line 44 of file periodic_image_gate.py.
| tuple periodic_image_gate.good = want_w |
Definition at line 45 of file periodic_image_gate.py.