flow
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
verify_colocated_lid_cavity Namespace Reference

Functions

 run (N=128, Re=100.0, U=1.0, nz=4, max_steps=9000)
 
 main ()
 

Variables

 GHIA_Y
 
 GHIA_U
 
 GHIA_X
 
 GHIA_V
 

Detailed Description

Phase-5a verification (collocated grid): the lid-driven cavity vs Ghia, Ghia & Shin (1982), Re=100 --
the canonical native-domain-BC benchmark. Three no-slip walls (-x,+x,-y) + a lid (+y) moving in +x,
quasi-2D (periodic z), no immersed solid. This exercises the collocated domain-BC machinery: cell-centered
reflection velocity ghosts (every component reflects about the boundary face), the explicit-reflection
diffusion smoother, and the Neumann phi wall ghost in the approximate projection.

Function Documentation

◆ run()

verify_colocated_lid_cavity.run (   N = 128,
  Re = 100.0,
  U = 1.0,
  nz = 4,
  max_steps = 9000 
)

Definition at line 26 of file verify_colocated_lid_cavity.py.

Referenced by main().

◆ main()

verify_colocated_lid_cavity.main ( )

Definition at line 56 of file verify_colocated_lid_cavity.py.

References main(), and run().

Referenced by main().

Variable Documentation

◆ GHIA_Y

verify_colocated_lid_cavity.GHIA_Y
Initial value:
1= np.array([0, .0547, .0625, .0703, .1016, .1719, .2813, .4531, .5, .6172, .7344, .8516, .9531,
2 .9609, .9688, .9766, 1])

Definition at line 16 of file verify_colocated_lid_cavity.py.

◆ GHIA_U

verify_colocated_lid_cavity.GHIA_U
Initial value:
1= np.array([0, -.03717, -.04192, -.04775, -.06434, -.10150, -.15662, -.21090, -.20581, -.13641,
2 .00332, .23151, .68717, .73722, .78871, .84123, 1])

Definition at line 18 of file verify_colocated_lid_cavity.py.

◆ GHIA_X

verify_colocated_lid_cavity.GHIA_X
Initial value:
1= np.array([0, .0625, .0703, .0781, .0938, .1563, .2266, .2344, .5, .8047, .8594, .9063, .9453,
2 .9531, .9609, .9688, 1])

Definition at line 20 of file verify_colocated_lid_cavity.py.

◆ GHIA_V

verify_colocated_lid_cavity.GHIA_V
Initial value:
1= np.array([0, .09233, .10091, .10890, .12317, .16077, .17507, .17527, .05454, -.24533, -.22445,
2 -.16914, -.10313, -.08864, -.07391, -.05906, 0])

Definition at line 22 of file verify_colocated_lid_cavity.py.