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

Go to the source code of this file.

Namespaces

namespace  d1_tolerance
 

Functions

 d1_tolerance.arg (name, default, cast=str)
 
 d1_tolerance.run_static (rtol)
 
 d1_tolerance.run_hysing (rtol)
 
 d1_tolerance.run_column (rtol)
 

Variables

 d1_tolerance.A = list(sys.argv)
 
 d1_tolerance.OUT = arg("--out", "d1")
 
 d1_tolerance.CASES = arg("--cases", "static,hysing,column").split(",")
 
list d1_tolerance.RTOLS = [float(r) for r in arg("--rtols", "1e-10,1e-9,1e-8,1e-7,1e-6").split(",")]
 
 d1_tolerance.NCOL = arg("--column-steps", 2000, int)
 
 d1_tolerance.CASE_DIR
 
 d1_tolerance.CKPT
 
 d1_tolerance.argv
 
dict d1_tolerance.RUN = {"static": run_static, "hysing": run_hysing, "column": run_column}
 
 d1_tolerance.exist_ok
 
 d1_tolerance.flush
 
 d1_tolerance.path = os.path.join(OUT, f"{case}_rtol{rtol:.0e}.json")
 
 d1_tolerance.t0 = time.time()
 
dict d1_tolerance.res = RUN[case](rtol)