flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
disc_bc.Geo Class Reference

Public Member Functions

 __init__ (self, ND, off)

Public Attributes

 h
 n = h, n
 xe = x0 + h * np.arange(n + 1)
 ye = y0 + h * np.arange(n + 1)
float xc = 0.5 * (self.xe[1:] + self.xe[:-1])
float yc = 0.5 * (self.ye[1:] + self.ye[:-1])
 sdf = R - np.hypot(X, Y)
 ax = np.clip(np.minimum(hi, s) - np.maximum(lo, -s), 0, h) / h
 ay = np.clip(np.minimum(hi, s) - np.maximum(lo, -s), 0, h) / h
 kap = np.zeros((n, n))
 cx = Y.copy()
 ubar = np.zeros((n, n))
 Aw = np.hypot(Awx, Awy)
 dwall = R - np.hypot(self.cx, self.cy)

Detailed Description

Definition at line 42 of file disc_bc.py.

Constructor & Destructor Documentation

◆ __init__()

disc_bc.Geo.__init__ ( self,
ND,
off )

Definition at line 43 of file disc_bc.py.

Member Data Documentation

◆ h

◆ n

◆ xe

disc_bc.Geo.xe = x0 + h * np.arange(n + 1)

Definition at line 49 of file disc_bc.py.

◆ ye

disc_bc.Geo.ye = y0 + h * np.arange(n + 1)

Definition at line 50 of file disc_bc.py.

◆ xc

float disc_bc.Geo.xc = 0.5 * (self.xe[1:] + self.xe[:-1])

Definition at line 51 of file disc_bc.py.

◆ yc

float disc_bc.Geo.yc = 0.5 * (self.ye[1:] + self.ye[:-1])

Definition at line 52 of file disc_bc.py.

◆ sdf

disc_bc.Geo.sdf = R - np.hypot(X, Y)

Definition at line 54 of file disc_bc.py.

◆ ax

disc_bc.Geo.ax = np.clip(np.minimum(hi, s) - np.maximum(lo, -s), 0, h) / h

Definition at line 58 of file disc_bc.py.

◆ ay

disc_bc.Geo.ay = np.clip(np.minimum(hi, s) - np.maximum(lo, -s), 0, h) / h

Definition at line 61 of file disc_bc.py.

◆ kap

disc_bc.Geo.kap = np.zeros((n, n))

Definition at line 64 of file disc_bc.py.

◆ cx

disc_bc.Geo.cx = Y.copy()

Definition at line 65 of file disc_bc.py.

◆ ubar

disc_bc.Geo.ubar = np.zeros((n, n))

Definition at line 66 of file disc_bc.py.

◆ Aw

disc_bc.Geo.Aw = np.hypot(Awx, Awy)

Definition at line 86 of file disc_bc.py.

◆ dwall

disc_bc.Geo.dwall = R - np.hypot(self.cx, self.cy)

Definition at line 87 of file disc_bc.py.


The documentation for this class was generated from the following file: