|
flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
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) | |
Definition at line 42 of file disc_bc.py.
| disc_bc.Geo.__init__ | ( | self, | |
| ND, | |||
| off ) |
Definition at line 43 of file disc_bc.py.
| disc_bc.Geo.h |
Definition at line 46 of file disc_bc.py.
Referenced by advect.Ann.__init__(), conj.Geo2.__init__(), conj_peters.Box.__init__(), gsv1.PCase.build(), mac2dc.CircleCase.cell_frac(), steady_acceleration_gates.Case.dt(), gsv1.Case.face_avg(), mac2d.Case.face_avg(), mac2dc.CircleCase.face_avg(), mac2dc.CircleGeo.fit_nt(), mac2d.Case.frac_cell(), mac2d.Case.frac_line(), mac2dc.CircleGeo.mid_frac(), mac2dc.PlanarGeo.mid_frac(), mac2dc.CircleGeo.node_frac(), mac2dc.PlanarGeo.node_frac(), mac2dc.PlanarGeo.owner(), packing2d.Cell.pos(), and mac2dc.CircleCase.row_force().
| disc_bc.Geo.n = h, n |
Definition at line 46 of file disc_bc.py.
Referenced by gsv1.StepMap.__call__(), advect.Ann.__init__(), conj.Geo2.__init__(), conj_peters.Box.__init__(), gsv1.PCase.along_F(), gsv1.PCase.along_p(), gsv1.PCase.along_u(), gsv1.PCase.build(), gsv1.Case.ext(), gsv1.Case.face_avg(), mac2d.Case.face_avg(), mac2d.Case.frac_line(), gsv1.StepMap.gauge(), gsv1.PCase.phaseA(), mac2d.Case.phi(), mac2d.Case.vel(), and gsv1.Case.xi().
Definition at line 49 of file disc_bc.py.
Definition at line 50 of file disc_bc.py.
| float disc_bc.Geo.xc = 0.5 * (self.xe[1:] + self.xe[:-1]) |
Definition at line 51 of file disc_bc.py.
| float disc_bc.Geo.yc = 0.5 * (self.ye[1:] + self.ye[:-1]) |
Definition at line 52 of file disc_bc.py.
| disc_bc.Geo.sdf = R - np.hypot(X, Y) |
Definition at line 54 of file disc_bc.py.
Definition at line 58 of file disc_bc.py.
Definition at line 61 of file disc_bc.py.
Definition at line 64 of file disc_bc.py.
| disc_bc.Geo.cx = Y.copy() |
Definition at line 65 of file disc_bc.py.
Definition at line 66 of file disc_bc.py.
| disc_bc.Geo.Aw = np.hypot(Awx, Awy) |
Definition at line 86 of file disc_bc.py.
| disc_bc.Geo.dwall = R - np.hypot(self.cx, self.cy) |
Definition at line 87 of file disc_bc.py.