|
flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
Public Member Functions | |
| __init__ (self, case, fitrule="nearest") | |
| C (self, i, j) | |
| node_frac (self, i, j, e, kern) | |
| mid_frac (self, i, j, e) | |
| node_nt (self, i, j) | |
| cell_nt (self, i, j) | |
| fit_nt (self, i, j) | |
| owner (self, node, cells, mixed) | |
Public Attributes | |
| case | |
| str | fitrule = case, fitrule |
| N | |
| h = N, h | |
| Ca = C | |
| dict | pl = {} |
| dict | own = {} |
| dict | fn = {} |
Static Protected Attributes | |
| tuple | _dummy = (np.array([1.0, 0.0]), np.array([0.0, 1.0])) |
PLIC plane per mixed cell: exact normal at the cell centre's closest point, offset matching C exactly. Node (edge) owner: mixed cell among the 4 with the smallest |phi_J(node)|, ties in fixed offset order. fitrule for non-interfacial band cells: 'nearest' | 'mean' | 'oracle'.
| mac2dc.CircleGeo.__init__ | ( | self, | |
| case, | |||
| fitrule = "nearest" ) |
| mac2dc.CircleGeo.C | ( | self, | |
| i, | |||
| j ) |
Definition at line 224 of file mac2dc.py.
References Ca, and mac2dc.PlanarGeo.Ca.
| mac2dc.CircleGeo.node_frac | ( | self, | |
| i, | |||
| j, | |||
| e, | |||
| kern ) |
Definition at line 227 of file mac2dc.py.
References Ca, mac2dc.PlanarGeo.Ca, Box.h, CapResult.h, disc_bc.Geo.h, FloatRef.h, gsv1.Case.h, gsv1.PCase.h, mac2d.Case.h, mac2dc.CircleCase.h, h, mac2dc.PlanarGeo.h, mg_advection.Case.h, mg_coarse_wall.Geo.h, packing2d.Cell.h, Patch.h, peclet::flow::sco::MeanGradPosition.h, peclet::flow::Solver< Grid >::UnitScales.h, SceneSpec.h, own, pl, peclet::flow::BottomDirect< FacReal >.pl, and mac2dc.seg_frac().
| mac2dc.CircleGeo.mid_frac | ( | self, | |
| i, | |||
| j, | |||
| e ) |
Definition at line 234 of file mac2dc.py.
References Ca, mac2dc.PlanarGeo.Ca, Box.h, CapResult.h, disc_bc.Geo.h, FloatRef.h, gsv1.Case.h, gsv1.PCase.h, mac2d.Case.h, mac2dc.CircleCase.h, h, mac2dc.PlanarGeo.h, mg_advection.Case.h, mg_coarse_wall.Geo.h, packing2d.Cell.h, Patch.h, peclet::flow::sco::MeanGradPosition.h, peclet::flow::Solver< Grid >::UnitScales.h, SceneSpec.h, pl, peclet::flow::BottomDirect< FacReal >.pl, and mac2dc.seg_frac().
| mac2dc.CircleGeo.node_nt | ( | self, | |
| i, | |||
| j ) |
| mac2dc.CircleGeo.cell_nt | ( | self, | |
| i, | |||
| j ) |
Definition at line 246 of file mac2dc.py.
References _dummy, pl, and peclet::flow::BottomDirect< FacReal >.pl.
| mac2dc.CircleGeo.fit_nt | ( | self, | |
| i, | |||
| j ) |
Definition at line 249 of file mac2dc.py.
References case, mac2dc.PlanarGeo.case, fitrule, fn, Box.h, CapResult.h, disc_bc.Geo.h, FloatRef.h, gsv1.Case.h, gsv1.PCase.h, mac2d.Case.h, mac2dc.CircleCase.h, h, mac2dc.PlanarGeo.h, mg_advection.Case.h, mg_coarse_wall.Geo.h, packing2d.Cell.h, Patch.h, peclet::flow::sco::MeanGradPosition.h, peclet::flow::Solver< Grid >::UnitScales.h, SceneSpec.h, pl, and peclet::flow::BottomDirect< FacReal >.pl.
| mac2dc.CircleGeo.owner | ( | self, | |
| node, | |||
| cells, | |||
| mixed ) |
|
staticprotected |
| str mac2dc.CircleGeo.fitrule = case, fitrule |
| mac2dc.CircleGeo.N |
Definition at line 182 of file mac2dc.py.
Referenced by steady_acceleration_gates.Case.build(), steady_acceleration_gates.Case.configure(), and packing2d.System.solve().
| mac2dc.CircleGeo.h = N, h |
Definition at line 182 of file mac2dc.py.
Referenced by advect.Ann.__init__(), conj.Geo2.__init__(), conj_peters.Box.__init__(), steady_acceleration_gates.Case.dt(), fit_nt(), mid_frac(), and node_frac().
| mac2dc.CircleGeo.Ca = C |
Definition at line 188 of file mac2dc.py.
Referenced by C(), mid_frac(), and node_frac().
| dict mac2dc.CircleGeo.pl = {} |
Definition at line 189 of file mac2dc.py.
Referenced by cell_nt(), fit_nt(), mid_frac(), node_frac(), and node_nt().
| dict mac2dc.CircleGeo.own = {} |
Definition at line 208 of file mac2dc.py.
Referenced by node_frac(), node_nt(), and owner().