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

Functions

 cavity_width (slab_half)
 

Variables

 L
 
 NY
 
 U
 
 KI_I
 
 KI_R
 
 OFF
 
 WX
 
tuple HW = (L - 2 * WX) / 2
 
float x0 = 0.5 * L + OFF
 
bool ok = True
 
 w
 
 n
 
tuple good = want_w
 

Detailed Description

Periodic images are a UNION -- the oversized-leaf trap, gated.

A container wall built as slab-minus-cavity in a periodic box: if the slab is wider than the box,
its periodic images overlap and refill the cavity wherever a neighbouring image's slab covers it
(the query takes the min over images). set_solid_from_scene must (a) DETECT it exactly --
periodic_image_overlap_cells() > 0 plus a stderr warning -- for a 0.7 L slab, and (b) report 0
for a slab of half the box plus the wall thickness, whose cavity must then be the full 53 cells.

Usage: PYTHONPATH=<flow build> python periodic_image_gate.py

Function Documentation

◆ cavity_width()

periodic_image_gate.cavity_width (   slab_half)

Definition at line 22 of file periodic_image_gate.py.

Variable Documentation

◆ L

periodic_image_gate.L

Definition at line 15 of file periodic_image_gate.py.

◆ NY

periodic_image_gate.NY

Definition at line 15 of file periodic_image_gate.py.

◆ U

periodic_image_gate.U

Definition at line 15 of file periodic_image_gate.py.

◆ KI_I

periodic_image_gate.KI_I

Definition at line 16 of file periodic_image_gate.py.

◆ KI_R

periodic_image_gate.KI_R

Definition at line 16 of file periodic_image_gate.py.

◆ OFF

periodic_image_gate.OFF

Definition at line 17 of file periodic_image_gate.py.

◆ WX

periodic_image_gate.WX

Definition at line 17 of file periodic_image_gate.py.

◆ HW

tuple periodic_image_gate.HW = (L - 2 * WX) / 2

Definition at line 18 of file periodic_image_gate.py.

◆ x0

float periodic_image_gate.x0 = 0.5 * L + OFF

Definition at line 19 of file periodic_image_gate.py.

◆ ok

bool periodic_image_gate.ok = True

Definition at line 41 of file periodic_image_gate.py.

◆ w

periodic_image_gate.w

Definition at line 44 of file periodic_image_gate.py.

◆ n

periodic_image_gate.n

Definition at line 44 of file periodic_image_gate.py.

◆ good

tuple periodic_image_gate.good = want_w

Definition at line 45 of file periodic_image_gate.py.