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

Functions

 _collocated_mode (s, mode)
 
 run (N, mode, mu=0.1, F=0.01, dt=50.0, max_steps=1500)
 

Variables

 _
 
 e0
 
 e6
 
 flush
 

Detailed Description

Guard: a FLAT (grid-aligned normal) channel wall at a FRACTIONAL y position -> genuine axis-aligned
cut cells (fractional openness), driven Poiseuille, periodic box + cut-cell pressure. The embed wall
gradient (mode 5) must reproduce the analytic parabola as well as mode 0 (for an axis-aligned normal
the true-normal reconstruction is a pure 1-D quadratic along y = exact for the quadratic profile).
Confirms mode 5 does not degrade the flat-wall case that modes 0-3 nail.

Function Documentation

◆ _collocated_mode()

embed_flatwall_guard._collocated_mode (   s,
  mode 
)
protected
Select a collocated scheme by the integer face-interp mode this script was written with:
0/7/9 are the public strings ('plain' / 'embed' / 'gauge-exact'), 5/6 the diagnostics rungs,
and every other number was deleted at 1.0.0 (the call then raises).

Definition at line 12 of file embed_flatwall_guard.py.

Referenced by run().

◆ run()

embed_flatwall_guard.run (   N,
  mode,
  mu = 0.1,
  F = 0.01,
  dt = 50.0,
  max_steps = 1500 
)

Definition at line 22 of file embed_flatwall_guard.py.

References _collocated_mode().

Variable Documentation

◆ _

embed_flatwall_guard._
protected

Definition at line 46 of file embed_flatwall_guard.py.

◆ e0

embed_flatwall_guard.e0

Definition at line 46 of file embed_flatwall_guard.py.

◆ e6

embed_flatwall_guard.e6

Definition at line 47 of file embed_flatwall_guard.py.

◆ flush

embed_flatwall_guard.flush

Definition at line 48 of file embed_flatwall_guard.py.