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

Public Member Functions

 __init__ (self, n, discs, wall, d=(1.0, 0.3), delta_frac=0.8, cells=0.0)
 
 flux (self, pe)
 

Public Attributes

 n
 
 h
 
 delta
 
 ax
 
 ay
 
 unknown
 
 W0
 
 singular
 
 dropped
 
 divrel
 
 Fmax
 
 fx0
 

Detailed Description

n x n periodic cells on [0,1]^2; discs (cx, cy, R); flow direction d; wall 'dir' or 'neu'.

Definition at line 52 of file mg_advection.py.

Constructor & Destructor Documentation

◆ __init__()

mg_advection.Case.__init__ (   self,
  n,
  discs,
  wall,
  d = (1.0, 0.3),
  delta_frac = 0.8,
  cells = 0.0 
)

Definition at line 54 of file mg_advection.py.

Member Function Documentation

◆ flux()

mg_advection.Case.flux (   self,
  pe 
)
per-unit-volume face fluxes scaled to peak cell Peclet pe = max|u| h / D (|u| = |F| / h).

Definition at line 111 of file mg_advection.py.

References mg_advection.Case.Fmax, mg_advection.Case.fx0, peclet::flow::Solver< Grid >.Solver(), and peclet::flow::Solver< Grid >.Solver().

Member Data Documentation

◆ n

mg_advection.Case.n

◆ h

◆ delta

mg_advection.Case.delta

Definition at line 79 of file mg_advection.py.

◆ ax

mg_advection.Case.ax

Definition at line 87 of file mg_advection.py.

◆ ay

mg_advection.Case.ay

Definition at line 88 of file mg_advection.py.

◆ unknown

mg_advection.Case.unknown

Definition at line 90 of file mg_advection.py.

◆ W0

mg_advection.Case.W0

Definition at line 97 of file mg_advection.py.

◆ singular

mg_advection.Case.singular

Definition at line 98 of file mg_advection.py.

◆ dropped

mg_advection.Case.dropped

Definition at line 104 of file mg_advection.py.

◆ divrel

mg_advection.Case.divrel

Definition at line 107 of file mg_advection.py.

◆ Fmax

mg_advection.Case.Fmax

Definition at line 108 of file mg_advection.py.

Referenced by mg_advection.Case.flux().

◆ fx0

mg_advection.Case.fx0

Definition at line 109 of file mg_advection.py.

Referenced by mg_advection.Case.flux().


The documentation for this class was generated from the following file: