|
flow 1.3.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
Functions | |
| run (half) | |
Variables | |
| int | N = 32 |
| float | U = 0.05 |
| KI_I | |
| KI_R | |
| bool | ok = True |
| deg | |
| umax | |
| tuple | good = want_deg and ((umax > 0.1 * U) != want_deg) |
The lattice-plane trap, gated: a MOVING box whose faces sit exactly on grid planes owns no cut cell, so its wall velocity never enters the momentum operator and the body is silently inert. set_solid_from_scene must (a) count > 0 DEGENERATE staggered points (sdf exactly zero) for that instance and warn, and (b) count 0 for the same box shifted 0.3 cells off the lattice -- and the fluid must actually move in (b). Usage: PYTHONPATH=<flow build> python lattice_plane_gate.py
| lattice_plane_gate.run | ( | half | ) |
Definition at line 18 of file lattice_plane_gate.py.
| int lattice_plane_gate.N = 32 |
Definition at line 13 of file lattice_plane_gate.py.
| float lattice_plane_gate.U = 0.05 |
Definition at line 14 of file lattice_plane_gate.py.
| lattice_plane_gate.KI_I |
Definition at line 15 of file lattice_plane_gate.py.
| lattice_plane_gate.KI_R |
Definition at line 15 of file lattice_plane_gate.py.
| bool lattice_plane_gate.ok = True |
Definition at line 39 of file lattice_plane_gate.py.
| lattice_plane_gate.deg |
Definition at line 42 of file lattice_plane_gate.py.
| lattice_plane_gate.umax |
Definition at line 42 of file lattice_plane_gate.py.
Definition at line 43 of file lattice_plane_gate.py.