|
flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
Public Member Functions | |
| __init__ (self, kind, beta, gamma, k, ratio, N) | |
| xi (self, x) | |
| U (self, xi) | |
| ext (self, x) | |
| avgU (self, xi0, wa, wb) | |
| face_avg (self, comp, x, axes) | |
Public Attributes | |
| n = np.array([math.cos(b) * math.cos(g), math.cos(b) * math.sin(g), math.sin(b)]) | |
| t = tangents(self.n)[2] | |
| str | kind |
| N | |
| float | h = kind, N, 1.0 / N |
| float | s = k / 8.0 * self.h |
| muA | |
| float | muB = ratio, 1.0 |
| c = np.array([0.5, 0.5, 0.5]) | |
| gsv1.Case.xi | ( | self, | |
| x ) |
Definition at line 138 of file gsv1.py.
References anderson_synthetic_maps.LinearMapSolver.c, EdgeQ.c, c, packing2d.System.c, peclet::flow::ScalarField.c, peclet::flow::vof::SharpFaceProps.c, peclet::flow::vof::VofBlockJob.c, peclet::flow::vof::VofBlockSet::DebrisJob.c, peclet::flow::vof::VofCurvFallbackJob.c, peclet::flow::vof::VofCurvJob.c, peclet::flow::vof::VofPvOnTheFly< SF >.c, peclet::flow::vof::VofStatsPrev.c, Blk.n, Box.n, Cfg.n, Config.n, disc_bc.Geo.n, Err.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, anderson_oracle.AndersonOracle.s, anderson_synthetic_maps._Diag.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, and Rng.s.
Referenced by ext(), and face_avg().
| gsv1.Case.U | ( | self, | |
| xi ) |
Definition at line 141 of file gsv1.py.
References CapResult.kind, kind, peclet::flow::Closure.kind, peclet::flow::scg::CellPass.kind, muA, HostGeo.muA, Kinked.muA, peclet::flow::vof::SharpGeom.muA, muB, HostGeo.muB, Kinked.muB, and peclet::flow::vof::SharpGeom.muB.
Referenced by avgU(), and mac2dc.CircleCase.vel().
| gsv1.Case.ext | ( | self, | |
| x ) |
Definition at line 149 of file gsv1.py.
References CapResult.kind, kind, peclet::flow::Closure.kind, peclet::flow::scg::CellPass.kind, Blk.n, Box.n, Cfg.n, Config.n, disc_bc.Geo.n, Err.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, t, peclet::flow::LineRowFp32.t, peclet::flow::LineRowFp64< OpV >.t, peclet::flow::LineScratchGlobal< SV >.t, peclet::flow::skr::BiCGStabArgs.t, and xi().
Referenced by face_avg().
| gsv1.Case.avgU | ( | self, | |
| xi0, | |||
| wa, | |||
| wb ) |
E[U(xi0 + X)], X = sum of two centred uniforms of widths |wa|, |wb| (exact).
Definition at line 154 of file gsv1.py.
References U(), and gsv1.Layered.U.
Referenced by face_avg().
| gsv1.Case.face_avg | ( | self, | |
| comp, | |||
| x, | |||
| axes ) |
Average of u_comp over the h-square (two axes) or h-segment (one axis) centred x.
Definition at line 177 of file gsv1.py.
References avgU(), ext(), peclet::flow::BottomDirect< FacReal >.ext, peclet::flow::BottomLabelKernel.ext, peclet::flow::BottomLevel.ext, peclet::flow::CutcellMG::Level.ext, peclet::flow::FlowReference.ext(), peclet::flow::ScalarMG::Level.ext, peclet::flow::Solver< Grid >::UnitScales.ext, peclet::flow::VelocityMG::Level.ext, peclet_flow_fp32_problems::Problem.ext(), Run.ext, Box.h, CapResult.h, disc_bc.Geo.h, FloatRef.h, 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, Blk.n, Box.n, Cfg.n, Config.n, disc_bc.Geo.n, Err.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, t, peclet::flow::LineRowFp32.t, peclet::flow::LineRowFp64< OpV >.t, peclet::flow::LineScratchGlobal< SV >.t, peclet::flow::skr::BiCGStabArgs.t, and xi().
| gsv1.Case.n = np.array([math.cos(b) * math.cos(g), math.cos(b) * math.sin(g), math.sin(b)]) |
Definition at line 131 of file gsv1.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(), ext(), face_avg(), mac2d.Case.face_avg(), mac2d.Case.frac_line(), gsv1.StepMap.gauge(), gsv1.PCase.phaseA(), mac2d.Case.phi(), mac2d.Case.vel(), and xi().
| gsv1.Case.t = tangents(self.n)[2] |
Definition at line 132 of file gsv1.py.
Referenced by ext(), face_avg(), mac2d.Case.force(), and mac2d.Case.vel().
| str gsv1.Case.kind |
Definition at line 133 of file gsv1.py.
Referenced by gsv1.PCase.build(), ext(), mac2d.Case.force(), mac2d.Case.tau_exact(), U(), and mac2d.Case.vel().
| gsv1.Case.N |
Definition at line 133 of file gsv1.py.
Referenced by gsv1.PCase.build(), steady_acceleration_gates.Case.build(), steady_acceleration_gates.Case.configure(), mac2d.Mac.iu(), mac2d.Mac.iv(), mac2dc.PlanarGeo.owner(), packing2d.System.solve(), mac2d.Mac.unknown_u(), and mac2d.Mac.unknown_v().
Definition at line 133 of file gsv1.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(), 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(), and mac2dc.CircleCase.row_force().
| float gsv1.Case.s = k / 8.0 * self.h |
Definition at line 134 of file gsv1.py.
Referenced by gsv1.StepMap.__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(), vof_surface_tension.Scale.vel_to_phys(), and xi().
| gsv1.Case.muA |
Definition at line 135 of file gsv1.py.
Referenced by gsv1.PCase.build(), U(), mac2dc.CircleCase.U(), and mac2d.Case.vel().
| float gsv1.Case.muB = ratio, 1.0 |
Definition at line 135 of file gsv1.py.
Referenced by gsv1.PCase.build(), U(), mac2dc.CircleCase.U(), and mac2d.Case.vel().
| gsv1.Case.c = np.array([0.5, 0.5, 0.5]) |
Definition at line 136 of file gsv1.py.
Referenced by mac2dc.CircleCase.cell_frac(), mac2dc.CircleCase.face_avg(), mac2d.Case.phi(), mac2dc.CircleCase.phi(), mac2dc.CircleCase.row_force(), mac2d.Case.vel(), mac2dc.CircleCase.vel(), and xi().