flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
uf_outlet_census Namespace Reference

Functions

 required_outlet (s)

Variables

 NX
 NY
 NZ
 s = cls(NX, NY, NZ)
 req
 uin
 ob = s.diagnostics.outflow_backflow()

Detailed Description

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

Function Documentation

◆ required_outlet()

uf_outlet_census.required_outlet ( s)

Definition at line 19 of file uf_outlet_census.py.

Variable Documentation

◆ NX

uf_outlet_census.NX

Definition at line 16 of file uf_outlet_census.py.

◆ NY

uf_outlet_census.NY

Definition at line 16 of file uf_outlet_census.py.

◆ NZ

uf_outlet_census.NZ

Definition at line 16 of file uf_outlet_census.py.

◆ s

uf_outlet_census.s = cls(NX, NY, NZ)

Definition at line 30 of file uf_outlet_census.py.

◆ req

uf_outlet_census.req

Definition at line 44 of file uf_outlet_census.py.

◆ uin

uf_outlet_census.uin

Definition at line 44 of file uf_outlet_census.py.

◆ ob

uf_outlet_census.ob = s.diagnostics.outflow_backflow()

Definition at line 45 of file uf_outlet_census.py.