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

Public Member Functions

 __init__ (self, P, a, o, muA, muB, qA, qB)
 Uf (self, xi)
 avg (self, xi, wa, wb)

Public Attributes

 P
 a
 o
 mu = P, a, o, (muA, muB)
 U
 V
tuple W = (UA, UB), (VA - 0.0, VB), (WA, WB)
tuple closure = (abs(VB(P)), abs(WB(P)))

Protected Member Functions

 _ev (self, pair, xi)

Detailed Description

Periodic layered shear profile U(r), r = (xi - o) mod P, phase A on [0, a), B on [a, P):
mu_k U'' = -q_k, U and mu U' continuous (periodic), mean of U over a period removed. Also V,
W0: V(r) = int_0^r U (periodic), W0(r) = int_0^r (V - Vbar) (periodic), for exact face
averages by double differences (the linear part Vbar*xi of the second antiderivative cancels).

Definition at line 421 of file gsv1.py.

Constructor & Destructor Documentation

◆ __init__()

gsv1.Layered.__init__ ( self,
P,
a,
o,
muA,
muB,
qA,
qB )

Definition at line 427 of file gsv1.py.

Member Function Documentation

◆ _ev()

◆ Uf()

gsv1.Layered.Uf ( self,
xi )

Definition at line 457 of file gsv1.py.

References _ev(), and U.

Referenced by avg().

◆ avg()

gsv1.Layered.avg ( self,
xi,
wa,
wb )
E[U(xi + Y + Z)], Y, Z centred uniforms of widths |wa|, |wb| (exact).

Definition at line 460 of file gsv1.py.

References _ev(), Uf(), V, W, peclet::flow::BottomDirect< FacReal >.W, and peclet::flow::ScalarMG::Level.W.

Member Data Documentation

◆ P

gsv1.Layered.P

Definition at line 428 of file gsv1.py.

Referenced by _ev(), gsv1.PCase.build(), and gsv1.PCase.phaseA().

◆ a

◆ o

gsv1.Layered.o

Definition at line 428 of file gsv1.py.

Referenced by _ev(), gsv1.PCase.build(), and gsv1.PCase.phaseA().

◆ mu

gsv1.Layered.mu = P, a, o, (muA, muB)

◆ U

gsv1.Layered.U

Definition at line 450 of file gsv1.py.

Referenced by gsv1.Case.avgU(), Uf(), and mac2dc.CircleCase.vel().

◆ V

gsv1.Layered.V

Definition at line 450 of file gsv1.py.

Referenced by avg().

◆ W

tuple gsv1.Layered.W = (UA, UB), (VA - 0.0, VB), (WA, WB)

Definition at line 450 of file gsv1.py.

Referenced by avg().

◆ closure

tuple gsv1.Layered.closure = (abs(VB(P)), abs(WB(P)))

Definition at line 451 of file gsv1.py.


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