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

Go to the source code of this file.

Namespaces

namespace  scene_check
 

Functions

 scene_check.run (setup)
 

Variables

int scene_check.N = 32
 
float scene_check.R = 0.18 * N
 
list scene_check.CEN
 
float scene_check.g = np.arange(N) + 0.5
 
 scene_check.X
 
 scene_check.Y
 
 scene_check.Z
 
 scene_check.indexing
 
 scene_check.ref = np.full((N, N, N), 1e30)
 
 scene_check.dx = np.minimum(dx, N-dx)
 
 scene_check.dy = np.minimum(dy, N-dy)
 
 scene_check.dz = np.minimum(dz, N-dz)
 
 scene_check.KN_R
 
 scene_check.KI_I
 
 scene_check.KI_R
 
 scene_check.node_ints = np.array([1, -1, -1], dtype=np.int32)
 
float scene_check.node_reals = R
 
list scene_check.inst = []
 
 scene_check.inst_ints = np.zeros((len(inst), KI_I), dtype=np.int32)
 
 scene_check.inst_reals = np.zeros((len(inst), KI_R))
 
 scene_check.s1
 
 scene_check.u1
 
 scene_check.s2
 
 scene_check.u2
 
 scene_check.base_ints = np.zeros((len(CEN), KI_I), dtype=np.int32)
 
 scene_check.base_reals = np.zeros((len(CEN), KI_R))
 
 scene_check.s4
 
 scene_check.u4
 
 scene_check.den = max(np.abs(u2).max(), 1e-300)
 
 scene_check.rel = np.abs(u1-u2).max()/den
 
 scene_check.rel4 = np.abs(u4-u2).max()/den
 
int scene_check.ok = rel < 1e-12 and rel4 < 1e-12 and np.abs(u2).max() < 1e3
 
 scene_check.s3
 
 scene_check.u3