flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
gsv1.Case Class Reference

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])

Detailed Description

Definition at line 128 of file gsv1.py.

Constructor & Destructor Documentation

◆ __init__()

gsv1.Case.__init__ ( self,
kind,
beta,
gamma,
k,
ratio,
N )

Definition at line 129 of file gsv1.py.

Member Function Documentation

◆ xi()

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().

◆ U()

◆ ext()

◆ avgU()

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().

◆ 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().

Member Data Documentation

◆ n

◆ t

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().

◆ kind

str gsv1.Case.kind

◆ N

◆ h

◆ s

◆ muA

gsv1.Case.muA

Definition at line 135 of file gsv1.py.

Referenced by gsv1.PCase.build(), U(), mac2dc.CircleCase.U(), and mac2d.Case.vel().

◆ muB

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().

◆ c


The documentation for this class was generated from the following file:
  • tests/study/sharp_viscous/gsv1.py