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

Functions

 run (half)
 

Variables

int N = 32
 
float U = 0.05
 
 KI_I
 
 KI_R
 
bool ok = True
 
 deg
 
 umax
 
tuple good = want_deg and ((umax > 0.1 * U) != want_deg)
 

Detailed Description

The lattice-plane trap, gated: a MOVING box whose faces sit exactly on grid planes owns no cut
cell, so its wall velocity never enters the momentum operator and the body is silently inert.
set_solid_from_scene must (a) count > 0 DEGENERATE staggered points (sdf exactly zero) for that
instance and warn, and (b) count 0 for the same box shifted 0.3 cells off the lattice -- and the
fluid must actually move in (b).

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

Function Documentation

◆ run()

lattice_plane_gate.run (   half)

Definition at line 18 of file lattice_plane_gate.py.

Variable Documentation

◆ N

int lattice_plane_gate.N = 32

Definition at line 13 of file lattice_plane_gate.py.

◆ U

float lattice_plane_gate.U = 0.05

Definition at line 14 of file lattice_plane_gate.py.

◆ KI_I

lattice_plane_gate.KI_I

Definition at line 15 of file lattice_plane_gate.py.

◆ KI_R

lattice_plane_gate.KI_R

Definition at line 15 of file lattice_plane_gate.py.

◆ ok

bool lattice_plane_gate.ok = True

Definition at line 39 of file lattice_plane_gate.py.

◆ deg

lattice_plane_gate.deg

Definition at line 42 of file lattice_plane_gate.py.

◆ umax

lattice_plane_gate.umax

Definition at line 42 of file lattice_plane_gate.py.

◆ good

tuple lattice_plane_gate.good = want_deg and ((umax > 0.1 * U) != want_deg)

Definition at line 43 of file lattice_plane_gate.py.