|
flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
Public Member Functions | |
| __init__ (self, a) | |
| dt (self, beta=None) | |
| sdf_global (self, cx, cy, cz) | |
| K (self, u) | |
| configure (self, s, settings, beta=None) | |
| build (self, flow, scheme, settings, beta=None) | |
Public Attributes | |
| a = a | |
| float | rho = 1.0 |
| mu = a.mu | |
| float | L = 1.0 |
| tuple | R = (3.0 * a.phi / (4.0 * math.pi)) ** (1.0 / 3.0) * self.L |
| float | F = 1.0 if a.force is None else a.force |
| cen = np.asarray(z["centres"], float) | |
| rad = np.asarray(z["radii"], float) | |
| float | Dm = 2.0 * float(self.rad.mean()) |
| npart = len(self.rad) | |
| N = a.N | |
| float | h = self.L / self.N |
Geometry + physics of one case; build() returns a configured solver (global, single rank).
Definition at line 66 of file steady_acceleration_gates.py.
| steady_acceleration_gates.Case.__init__ | ( | self, | |
| a ) |
Definition at line 69 of file steady_acceleration_gates.py.
| steady_acceleration_gates.Case.dt | ( | self, | |
| beta = None ) |
Definition at line 88 of file steady_acceleration_gates.py.
References CapResult.a, EdgeQ.a, gsv1.Layered.a, gsv1.PCase.a, peclet::flow::Solver< Grid >::SceneMap.a, peclet::flow::StarOverlay.a, a, Box.h, CapResult.h, disc_bc.Geo.h, FloatRef.h, gsv1.Case.h, gsv1.PCase.h, mac2d.Case.h, mac2dc.CircleCase.h, mac2dc.CircleGeo.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, h, CapScene.mu, Cfg.mu, DropCfg.mu, gsv1.Layered.mu, peclet::flow::FieldFaceProps.mu, peclet::flow::VarFaceProps.mu, mu, peclet::flow::ChebCoeffs.rho, peclet::flow::VarFaceProps.rho, rho, and test_collocated_stability_guard.Path.rho.
Referenced by configure().
| steady_acceleration_gates.Case.sdf_global | ( | self, | |
| cx, | |||
| cy, | |||
| cz ) |
Definition at line 94 of file steady_acceleration_gates.py.
References CapResult.a, EdgeQ.a, gsv1.Layered.a, gsv1.PCase.a, peclet::flow::Solver< Grid >::SceneMap.a, peclet::flow::StarOverlay.a, a, cen, peclet::flow::BottomDirect< FacReal >.L, peclet::flow::vof::VofBlockExchange::GatherTable.L, L, CapScene.R, Cfg.R, DebrisScene.R, packing2d.Cell.R, R, Zh.R, and rad.
Referenced by build().
| steady_acceleration_gates.Case.K | ( | self, | |
| u ) |
Definition at line 106 of file steady_acceleration_gates.py.
References CapResult.a, EdgeQ.a, gsv1.Layered.a, gsv1.PCase.a, peclet::flow::Solver< Grid >::SceneMap.a, peclet::flow::StarOverlay.a, a, Dm, F, peclet::flow::BottomDirect< FacReal >.L, peclet::flow::vof::VofBlockExchange::GatherTable.L, L, CapScene.mu, Cfg.mu, DropCfg.mu, gsv1.Layered.mu, peclet::flow::FieldFaceProps.mu, peclet::flow::VarFaceProps.mu, mu, npart, CapScene.R, Cfg.R, DebrisScene.R, packing2d.Cell.R, R, and Zh.R.
| steady_acceleration_gates.Case.configure | ( | self, | |
| s, | |||
| settings, | |||
| beta = None ) |
Definition at line 113 of file steady_acceleration_gates.py.
References CapResult.a, EdgeQ.a, gsv1.Layered.a, gsv1.PCase.a, peclet::flow::Solver< Grid >::SceneMap.a, peclet::flow::StarOverlay.a, a, Config.dt, peclet::flow::ScalarCutState.dt, SceneSpec.dt, dt(), F, CapScene.mu, Cfg.mu, DropCfg.mu, gsv1.Layered.mu, peclet::flow::FieldFaceProps.mu, peclet::flow::VarFaceProps.mu, mu, gsv1.Case.N, gsv1.PCase.N, mac2d.Case.N, mac2d.Mac.N, mac2dc.CircleCase.N, mac2dc.CircleGeo.N, mac2dc.PlanarGeo.N, peclet::flow::MgPoisson::Level.N, SphereArray.N, N, peclet::flow::ChebCoeffs.rho, peclet::flow::VarFaceProps.rho, rho, and test_collocated_stability_guard.Path.rho.
Referenced by build().
| steady_acceleration_gates.Case.build | ( | self, | |
| flow, | |||
| scheme, | |||
| settings, | |||
| beta = None ) |
Definition at line 132 of file steady_acceleration_gates.py.
References configure(), peclet::flow::BottomDirect< FacReal >.L, peclet::flow::vof::VofBlockExchange::GatherTable.L, L, gsv1.Case.N, gsv1.PCase.N, mac2d.Case.N, mac2d.Mac.N, mac2dc.CircleCase.N, mac2dc.CircleGeo.N, mac2dc.PlanarGeo.N, peclet::flow::MgPoisson::Level.N, SphereArray.N, N, and sdf_global().
| steady_acceleration_gates.Case.a = a |
Definition at line 70 of file steady_acceleration_gates.py.
Referenced by configure(), dt(), K(), and sdf_global().
| steady_acceleration_gates.Case.rho = 1.0 |
Definition at line 71 of file steady_acceleration_gates.py.
Referenced by configure(), and dt().
| steady_acceleration_gates.Case.mu = a.mu |
Definition at line 72 of file steady_acceleration_gates.py.
Referenced by configure(), dt(), and K().
| float steady_acceleration_gates.Case.L = 1.0 |
Definition at line 74 of file steady_acceleration_gates.py.
Referenced by build(), K(), and sdf_global().
| tuple steady_acceleration_gates.Case.R = (3.0 * a.phi / (4.0 * math.pi)) ** (1.0 / 3.0) * self.L |
Definition at line 75 of file steady_acceleration_gates.py.
Referenced by K(), and sdf_global().
| steady_acceleration_gates.Case.F = 1.0 if a.force is None else a.force |
Definition at line 76 of file steady_acceleration_gates.py.
Referenced by configure(), and K().
| steady_acceleration_gates.Case.cen = np.asarray(z["centres"], float) |
Definition at line 79 of file steady_acceleration_gates.py.
Referenced by sdf_global().
| steady_acceleration_gates.Case.rad = np.asarray(z["radii"], float) |
Definition at line 80 of file steady_acceleration_gates.py.
Referenced by sdf_global().
| float steady_acceleration_gates.Case.Dm = 2.0 * float(self.rad.mean()) |
Definition at line 82 of file steady_acceleration_gates.py.
Referenced by K().
| steady_acceleration_gates.Case.npart = len(self.rad) |
Definition at line 83 of file steady_acceleration_gates.py.
Referenced by K().
| steady_acceleration_gates.Case.N = a.N |
Definition at line 85 of file steady_acceleration_gates.py.
Referenced by build(), configure(), and packing2d.System.solve().
| float steady_acceleration_gates.Case.h = self.L / self.N |
Definition at line 86 of file steady_acceleration_gates.py.
Referenced by advect.Ann.__init__(), conj.Geo2.__init__(), conj_peters.Box.__init__(), and dt().