|
flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
Functions | |
| required_outlet (s) | |
Variables | |
| NX | |
| NY | |
| NZ | |
| s = cls(NX, NY, NZ) | |
| req | |
| uin | |
| ob = s.diagnostics.outflow_backflow() | |
Diagnosis probe 2 (branch uf-outlet-diag): read the RAW outlet plane of the face field with no scalar in the step (advanceScalars re-wraps the plane itself, on both grids). outflow_backflow() reads the collocated uf_ (staggered C[0].u) at the outlet face index directly. It only sees REVERSED flow, so the channel is driven backwards: the -x Dirichlet face has u = -U and fluid enters through the +x open face. The census max_reverse is then max(-u_out); the discrete-divergence answer is max(-U_out_required) from the inner faces (get_uf/vf/wf). Run: OMP_NUM_THREADS=4 OMP_PROC_BIND=false PYTHONPATH=build_host python tests/study/uf_outlet_census.py
| uf_outlet_census.required_outlet | ( | s | ) |
Definition at line 19 of file uf_outlet_census.py.
| uf_outlet_census.NX |
Definition at line 16 of file uf_outlet_census.py.
| uf_outlet_census.NY |
Definition at line 16 of file uf_outlet_census.py.
| uf_outlet_census.NZ |
Definition at line 16 of file uf_outlet_census.py.
Definition at line 30 of file uf_outlet_census.py.
| uf_outlet_census.req |
Definition at line 44 of file uf_outlet_census.py.
| uf_outlet_census.uin |
Definition at line 44 of file uf_outlet_census.py.
| uf_outlet_census.ob = s.diagnostics.outflow_backflow() |
Definition at line 45 of file uf_outlet_census.py.