|
flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
Public Member Functions | |
| __init__ (self, s, C0, N, rho=None) | |
| gauge (self, x) | |
| __call__ (self, x, track=False) | |
Public Attributes | |
| s | |
| C0 | |
| shp | |
| int | n = s, np.asfortranarray(C0), (N, N, N), N**3 |
| steps | |
| max_pit | |
| max_msw | |
| mom | |
| int | max_mres = 0, 0, 0, 0.0, -1.0 |
| max_gain | |
| rescaled | |
| float | refused_cfl = 0.0, 0, float("nan") |
| rf = rho_face(rho) if rho is not None else None | |
| tie = tie_init() | |
| list | rfs = [float(np.sum(f)) for f in self.rf] if self.rf is not None else None |
S: x = (u, v, w, p) -> one production step, colour frozen (set_vof(C0) after the step); p
through get_field/set_field("p") in internal units, its mean removed on input and output.
| gsv1.StepMap.gauge | ( | self, | |
| x ) |
Remove each velocity component's rho_F-weighted mean (periodic box only) and p's mean.
Definition at line 648 of file gsv1.py.
References mean(), Blk.n, Box.n, Cfg.n, Config.n, disc_bc.Geo.n, Err.n, gsv1.Case.n, gsv1.PCase.n, n, HostBottom.n, HostLevel.n, HostOp.n, Kinked.n, Level.n, mg_advection.Case.n, mg_coarse_wall.Geo.n, packing2d.Cell.n, Patch.n, peclet::flow::BcVelFaces.n, peclet::flow::BottomPlanes.n, peclet::flow::CutcellMG::Level.n, peclet::flow::ScalarMG::Level.n, peclet::flow::scd::CutContext.n, peclet::flow::scg::ScalarFacetOverlay.n, peclet::flow::VelocityMG::Level.n, peclet::flow::vof::McVertex.n, peclet::flow::vof::PcGradFit.n, peclet::flow::vof::VofBlockExchange::GatherTable.n, peclet::flow::vof::VofBlockExchange::Patch.n, peclet::flow::vof::VofBlockJob.n, peclet::flow::vof::VofCurvFallbackJob.n, peclet::flow::vof::VofCurvJob.n, peclet::flow::vof::VofMoveJob.n, Problem.n, run_case_a.Dist.n, SphereArray.n, vofscene::Block.n, rf, rfs, and shp.
| gsv1.StepMap.__call__ | ( | self, | |
| x, | |||
| track = False ) |
Definition at line 660 of file gsv1.py.
References C0, max_gain, max_mres, max_msw, max_pit, Box.mom, mom, Blk.n, Box.n, Cfg.n, Config.n, disc_bc.Geo.n, Err.n, gsv1.Case.n, gsv1.PCase.n, n, HostBottom.n, HostLevel.n, HostOp.n, Kinked.n, Level.n, mg_advection.Case.n, mg_coarse_wall.Geo.n, packing2d.Cell.n, Patch.n, peclet::flow::BcVelFaces.n, peclet::flow::BottomPlanes.n, peclet::flow::CutcellMG::Level.n, peclet::flow::ScalarMG::Level.n, peclet::flow::scd::CutContext.n, peclet::flow::scg::ScalarFacetOverlay.n, peclet::flow::VelocityMG::Level.n, peclet::flow::vof::McVertex.n, peclet::flow::vof::PcGradFit.n, peclet::flow::vof::VofBlockExchange::GatherTable.n, peclet::flow::vof::VofBlockExchange::Patch.n, peclet::flow::vof::VofBlockJob.n, peclet::flow::vof::VofCurvFallbackJob.n, peclet::flow::vof::VofCurvJob.n, peclet::flow::vof::VofMoveJob.n, Problem.n, run_case_a.Dist.n, SphereArray.n, vofscene::Block.n, refused_cfl, rf, anderson_oracle.AndersonOracle.s, anderson_synthetic_maps._Diag.s, gsv1.Case.s, s, HostBottom.s, packing2d.Cell.s, peclet::flow::BcVelFace.s, peclet::flow::bindings::Diagnostics< Grid >.s, peclet::flow::BottomDirect< FacReal >.s, peclet::flow::BottomPlanes.s, peclet::flow::LineRowFp32.s, peclet::flow::LineRowFp64< OpV >.s, peclet::flow::ScalarVec.s, peclet::flow::vof::VofMoveJob.s, Rng.s, shp, Config.steps, DropCfg.steps, steps, peclet::flow::Solver< Grid >::VofTiming.steps, SceneSpec.steps, Zh.steps, tie, and gsv1.tie_read().
| gsv1.StepMap.s |
Definition at line 639 of file gsv1.py.
Referenced by __call__(), vof_profile.Scale.bodyforce(), vof_surface_tension.Scale.bodyforce(), vof_surface_tension.Scale.len_to_cells(), vof_profile.Scale.mu(), vof_surface_tension.Scale.mu(), mac2d.Case.phi(), vof_profile.Scale.sigma(), vof_surface_tension.Scale.sigma(), and vof_surface_tension.Scale.vel_to_phys().
| gsv1.StepMap.C0 |
Definition at line 639 of file gsv1.py.
Referenced by __call__().
| gsv1.StepMap.shp |
Definition at line 639 of file gsv1.py.
Referenced by __call__(), and gauge().
Definition at line 639 of file gsv1.py.
Referenced by __call__(), advect.Ann.__init__(), conj.Geo2.__init__(), conj_peters.Box.__init__(), mac2d.Case.face_avg(), mac2d.Case.frac_line(), gauge(), mac2d.Case.phi(), and mac2d.Case.vel().
| gsv1.StepMap.steps |
Definition at line 640 of file gsv1.py.
Referenced by __call__().
| gsv1.StepMap.max_pit |
Definition at line 640 of file gsv1.py.
Referenced by __call__().
| gsv1.StepMap.max_msw |
Definition at line 640 of file gsv1.py.
Referenced by __call__().
| gsv1.StepMap.mom |
Definition at line 640 of file gsv1.py.
Referenced by __call__().
| int gsv1.StepMap.max_mres = 0, 0, 0, 0.0, -1.0 |
Definition at line 640 of file gsv1.py.
Referenced by __call__().
| gsv1.StepMap.max_gain |
Definition at line 643 of file gsv1.py.
Referenced by __call__().
| float gsv1.StepMap.refused_cfl = 0.0, 0, float("nan") |
Definition at line 643 of file gsv1.py.
Referenced by __call__().
| gsv1.StepMap.rf = rho_face(rho) if rho is not None else None |
Definition at line 644 of file gsv1.py.
Referenced by __call__(), and gauge().
| gsv1.StepMap.tie = tie_init() |
Definition at line 645 of file gsv1.py.
Referenced by __call__().
| list gsv1.StepMap.rfs = [float(np.sum(f)) for f in self.rf] if self.rf is not None else None |