#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# # SIMULATION STOP # #.......................................# max_step = 10 # Max number of time steps #¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# # SOLVER SETTINGS # #.......................................# ns.init_shrink = 1.0 #¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# # Algorithm options #¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# ns.do_mom_diff=0 ns.do_cons_trac=0 ns.do_trac2 = 1 ns.do_cons_trac2=0 #¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# # TIME STEP COMPUTATION # #.......................................# ns.cfl = 0.3 #¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# # INPUT AND OUTPUT # #.......................................# amr.plot_int = 50 # Steps between plot files amr.check_int = 1000 # Steps between checkpoint files #¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# # PHYSICS # #.......................................# ns.gravity = -9.8 ns.vel_visc_coef = 0.1 ns.scal_diff_coefs = 0.1 0.03 #¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# # ADAPTIVE MESH REFINEMENT # #.......................................# amr.n_cell = 32 96 # Grid cells at coarsest AMRlevel amr.max_level = 1 # Max AMR level in hierarchy # Refinement around the EB by default amr.n_error_buf = 8 #¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# # GEOMETRY # #.......................................# geometry.prob_lo = -0.2 -0.6 -0.05 # Lo corner coordinates geometry.prob_hi = 0.2 0.6 0.05 # Hi corner coordinates geometry.is_periodic = 0 0 1 # Periodicity x y z (0/1) geometry.coord_sys = 0 # 0 = Interior/Periodic 3 = Symmetry # 1 = Inflow 4 = SlipWall # 2 = Outflow 5 = NoSlipWal # Boundary conditions on the low end of the domain. ns.lo_bc = 5 1 0 # Boundary conditions on the high end of the domain. ns.hi_bc = 4 2 0 ylo.velocity = 0. 10. 0. ylo.density = 1. ylo.tracer = 0. ylo.tracer2 = 1. # Add cylinder eb2.geom_type = sphere eb2.sphere_radius = 0.05001 eb2.sphere_center = 0.0 -0.45 0.0 eb2.sphere_has_fluid_inside =0 #¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# # PROBLEM PARAMETERS # #.......................................# prob.probtype = 4 prob.blob_center = -0.05 -0.55 0.5 prob.blob_radius = 0.04 # Constant density initial condition prob.density_ic = 1.0 # Set up a flow, defaults to zero prob.velocity_ic = 0. 10. 0. #¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# # VERBOSITY # #.......................................# ns.v = 1 # NS solver #¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# # for testing # #.......................................# # turn tiling on for testing fabarray.mfiter_tile_size = 8 8 8