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

Functions

 run (N=128, Re=100.0, U=1.0, nz=4, max_steps=4000, vmg=False, vlevels=3, vcycles=4, vel_iter=60, dt=1.0)
 

Variables

 N = int(os.environ.get("VMG_N", 128))
 
list cfgs
 
 r = run(N=N, **kw)
 

Detailed Description

Velocity-MG vs RB-GS on the lid-driven cavity (Ghia Re=100). Checks (1) no regression with vmg OFF,
(2) vmg ON reaches the same Ghia centreline match + incompressibility. Run: PYTHONPATH=build_mpi python ...

Function Documentation

◆ run()

test_vmg_cavity.run (   N = 128,
  Re = 100.0,
  U = 1.0,
  nz = 4,
  max_steps = 4000,
  vmg = False,
  vlevels = 3,
  vcycles = 4,
  vel_iter = 60,
  dt = 1.0 
)

Definition at line 10 of file test_vmg_cavity.py.

Variable Documentation

◆ N

test_vmg_cavity.N = int(os.environ.get("VMG_N", 128))

Definition at line 52 of file test_vmg_cavity.py.

◆ cfgs

list test_vmg_cavity.cfgs
Initial value:
1= [("RB-GS 60 sweeps ", dict(vmg=False, vel_iter=60)),
2 ("RB-GS 20 sweeps ", dict(vmg=False, vel_iter=20)),
3 ("vmg L=8 v=2 (semi) ", dict(vmg=True, vlevels=8, vcycles=2)),
4 ("vmg L=8 v=4 (semi) ", dict(vmg=True, vlevels=8, vcycles=4))]

Definition at line 55 of file test_vmg_cavity.py.

◆ r

test_vmg_cavity.r = run(N=N, **kw)

Definition at line 60 of file test_vmg_cavity.py.