flow 1.3.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
vof_cutcell.py File Reference

Go to the source code of this file.

Namespaces

namespace  vof_cutcell
 

Functions

 vof_cutcell.sphere_array_sdf (n, centres, radius)
 
 vof_cutcell.packing (n)
 
 vof_cutcell.stokes_state (n, steps=60, mu=0.2, force=(2e-3, 1e-3, 5e-4))
 
 vof_cutcell.g2 (n=48, nadv=500, cfl=0.2)
 
 vof_cutcell.g4 (n=48, steps=400, ratio=10.0, grav=2e-3, momentum=True)
 
 vof_cutcell.g5 (diam=24, steps=200, sigma=1.0, mu=0.05, cfl=0.5)
 

Variables

int vof_cutcell.PRESS_MAXIT = 300
 
list vof_cutcell.DEFAULT_CENTRES = [(6.0, 7.0, 8.0), (20.0, 9.0, 23.0), (11.0, 24.0, 19.0), (26.0, 22.0, 6.0)]
 
dict vof_cutcell.GATES = {"g2": g2, "g4": g4, "g5": g5}
 
list vof_cutcell.names = [a for a in sys.argv[1:] if not a.startswith("-")] or list(GATES)
 
str vof_cutcell.quick = "--quick" in sys.argv
 
dict vof_cutcell.results = {}
 
dict vof_cutcell.fn = GATES[nm]
 
 vof_cutcell.n
 
 vof_cutcell.nadv
 
 vof_cutcell.steps
 
 vof_cutcell.diam