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

Go to the source code of this file.

Namespaces

namespace  run_mpi
 

Functions

 run_mpi.arg (name, default)
 
 run_mpi.one ()
 
 run_mpi.gather (a)
 

Variables

 run_mpi.CASE_DIR
 
 run_mpi.CKPT
 
 run_mpi.N = int(sys.argv[1])
 
str run_mpi.WARM = int(sys.argv[sys.argv.index("--warm") + 1]) if "--warm" in sys.argv else 5
 
 run_mpi.RTOL = float(arg("--rtol", 1e-8))
 
 run_mpi.DUMP = arg("--dump", None)
 
 run_mpi.comm = MPI.COMM_WORLD
 
 run_mpi.rank = comm.Get_rank()
 
int run_mpi.SINGLE = 1
 
 run_mpi.S = case.CELLS_PER_D
 
 run_mpi.NX
 
 run_mpi.NY
 
 run_mpi.NZ
 
 run_mpi.step
 
 run_mpi.t
 
 run_mpi.blocks
 
 run_mpi.vel
 
 run_mpi.pres
 
 run_mpi.series
 
 run_mpi.org
 
 run_mpi.siz
 
 run_mpi.sl = tuple(slice(o, o + n) for o, n in zip(org, siz))
 
 run_mpi.s = pf.Solver(*siz)
 
 run_mpi.vol = comm.allreduce(sum(b["volume"] for b in s.diagnostics.vof_block_stats()), op=MPI.SUM)
 
 run_mpi.alpha = vol / (NX * NY * NZ)
 
 run_mpi.rho_av = case.RHO_L + (case.RHO_G - case.RHO_L) * alpha
 
 run_mpi._closure = getattr(s, "set_superficial_velocity", None) or getattr(s, "set_bulk_velocity", None)
 
 run_mpi.HOST_FLUX = _closure is None
 
 run_mpi.w0 = time.perf_counter()
 
 run_mpi.it
 
 run_mpi.dts
 
 run_mpi.wall = time.perf_counter() - w0
 
 run_mpi.flush
 
dict run_mpi.fields
 
tuple run_mpi.cols
 
 run_mpi.iters