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

Functions

 arg (name, default)
 
 fold (z, key, even=True)
 
 main ()
 

Detailed Description

Plot the WO-W3 `channel_18` profiles, and overlay TBFsolver's when a run of it exists.

  python plot_channel_18.py runs/prod/stats.npz [--tbf tbf_profiles.npz] [--out channel_18.png]

`stats.npz` is what `run_channel_18.py` writes; a `--tbf` file is what `tbf_profiles.py` writes
from a TBFsolver output folder — the same key names, so the two overlay directly.  The two codes
have DIFFERENT wall-normal resolutions (80 vs 160 rows across the channel), so each set is folded
about the centreline with its own row count, never with the other's.

Function Documentation

◆ arg()

plot_channel_18.arg (   name,
  default 
)

Definition at line 19 of file plot_channel_18.py.

Referenced by main().

◆ fold()

plot_channel_18.fold (   z,
  key,
  even = True 
)
Average the two channel halves of one profile onto y/h in [0, 1], with z's own ny.

Definition at line 23 of file plot_channel_18.py.

Referenced by main().

◆ main()

plot_channel_18.main ( )

Definition at line 31 of file plot_channel_18.py.

References arg(), fold(), and main().

Referenced by main().