|
flow 1.3.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
Functions | |
| solver () | |
| run (kind, moving) | |
Variables | |
| L | |
| NY | |
| U | |
| NU | |
| DT | |
| KI_I | |
| KI_R | |
| OFF | |
| WX | |
| int | STEPS = 100 |
| tuple | HW = (L - 2 * WX) / 2 |
| tuple | CASES = (("sphere0+duct1", True), ("duct0+sphere1", True)) if len(sys.argv) > 1 else (("difference", True), ("difference", False), ("four-box", True)) |
| r = run(kind, moving) | |
Does a MOVING CSG instance carry its wall velocity? A plug flow at U inside a square duct whose walls translate at +U has zero shear everywhere and must keep its mean velocity EXACTLY; the same plug against walls at rest loses momentum to the growing wall layers (~45% in 100 steps at these numbers). Three ducts: a box-DIFFERENCE instance moving, the same at rest (control), and four plain box-leaf instances moving. Usage: PYTHONPATH=<flow build> python csg_wall_velocity_gate.py
| csg_wall_velocity_gate.solver | ( | ) |
Definition at line 21 of file csg_wall_velocity_gate.py.
| csg_wall_velocity_gate.run | ( | kind, | |
| moving | |||
| ) |
Definition at line 29 of file csg_wall_velocity_gate.py.
| csg_wall_velocity_gate.L |
Definition at line 13 of file csg_wall_velocity_gate.py.
| csg_wall_velocity_gate.NY |
Definition at line 13 of file csg_wall_velocity_gate.py.
| csg_wall_velocity_gate.U |
Definition at line 14 of file csg_wall_velocity_gate.py.
| csg_wall_velocity_gate.NU |
Definition at line 14 of file csg_wall_velocity_gate.py.
| csg_wall_velocity_gate.DT |
Definition at line 14 of file csg_wall_velocity_gate.py.
| csg_wall_velocity_gate.KI_I |
Definition at line 15 of file csg_wall_velocity_gate.py.
| csg_wall_velocity_gate.KI_R |
Definition at line 15 of file csg_wall_velocity_gate.py.
| csg_wall_velocity_gate.OFF |
Definition at line 16 of file csg_wall_velocity_gate.py.
| csg_wall_velocity_gate.WX |
Definition at line 16 of file csg_wall_velocity_gate.py.
| int csg_wall_velocity_gate.STEPS = 100 |
Definition at line 17 of file csg_wall_velocity_gate.py.
Definition at line 18 of file csg_wall_velocity_gate.py.
| tuple csg_wall_velocity_gate.CASES = (("sphere0+duct1", True), ("duct0+sphere1", True)) if len(sys.argv) > 1 else (("difference", True), ("difference", False), ("four-box", True)) |
Definition at line 85 of file csg_wall_velocity_gate.py.
| csg_wall_velocity_gate.r = run(kind, moving) |
Definition at line 87 of file csg_wall_velocity_gate.py.