Note
Go to the end to download the full example code.
Killing sphere for SPH simulation#
This simple example shows how to setup a killing sphere for sph simulations
9 import shamrock
10
11 # If we use the shamrock executable to run this script instead of the python interpreter,
12 # we should not initialize the system as the shamrock executable needs to handle specific MPI logic
13 if not shamrock.sys.is_initialized():
14 shamrock.change_loglevel(1)
15 shamrock.sys.init("0:0")
16
17
18 def is_in_sphere(pt):
19 x, y, z = pt
20 return (x**2 + y**2 + z**2) < 1
Setup parameters
27 dr = 0.1
28 pmass = 1
29
30 C_cour = 0.3
31 C_force = 0.25
32
33 bsize = 4
34
35
36 render_gif = True
37
38 dump_folder = "_to_trash"
39 sim_name = "kill_particle_sphere"
40
41 import os
42
43 # Create the dump directory if it does not exist
44 if shamrock.sys.world_rank() == 0:
45 os.makedirs(dump_folder, exist_ok=True)
Setup
50 ctx = shamrock.Context()
51 ctx.pdata_layout_new()
52
53 model = shamrock.get_Model_SPH(context=ctx, vector_type="f64_3", sph_kernel="M4")
54
55 cfg = model.gen_default_config()
56 # cfg.set_artif_viscosity_VaryingMM97(alpha_min = 0.1,alpha_max = 1,sigma_decay = 0.1, alpha_u = 1, beta_AV = 2)
57 # cfg.set_artif_viscosity_ConstantDisc(alpha_u=alpha_u, alpha_AV=alpha_AV, beta_AV=beta_AV)
58 # cfg.set_eos_locally_isothermalLP07(cs0=cs0, q=q, r0=r0)
59 cfg.set_artif_viscosity_VaryingCD10(
60 alpha_min=0.0, alpha_max=1, sigma_decay=0.1, alpha_u=1, beta_AV=2
61 )
62 cfg.set_boundary_periodic()
63 cfg.set_eos_adiabatic(1.00001)
The important part to enable killing
67 cfg.add_kill_sphere(center=(0.0, 0.0, 0.0), radius=4.0)
Rest of the setup
72 cfg.print_status()
73 model.set_solver_config(cfg)
74
75 model.init_scheduler(int(1e7), 1)
76
77 bmin = (-bsize, -bsize, -bsize)
78 bmax = (bsize, bsize, bsize)
79 model.resize_simulation_box(bmin, bmax)
80
81 model.set_particle_mass(pmass)
82
83 setup = model.get_setup()
84 lat = setup.make_generator_lattice_hcp(dr, (-bsize, -bsize, -bsize), (bsize, bsize, bsize))
85
86 thesphere = setup.make_modifier_filter(parent=lat, filter=is_in_sphere)
87
88 offset_sphere = setup.make_modifier_offset(
89 parent=thesphere, offset_position=(0.0, 0.0, 0.0), offset_velocity=(-1.0, -1.0, -1.0)
90 )
91
92 setup.apply_setup(offset_sphere)
93
94 model.set_value_in_a_box("uint", "f64", 1, bmin, bmax)
95
96 model.set_cfl_cour(C_cour)
97 model.set_cfl_force(C_force)
98
99 model.change_htolerance(1.3)
100 model.timestep()
101 model.change_htolerance(1.1)
----- SPH Solver configuration -----
units :
not set
part mass 0 ( can be changed using .set_part_mass() )
cfl force 0
cfl courant 0
--- artificial viscosity config
Config Type : VaryingCD10 (Cullen & Dehnen 2010)
alpha_min = 0
alpha_max = 1
sigma_decay = 0.1
alpha_u = 1
beta_AV = 2
--- artificial viscosity config (deduced)
-------------
EOS config f64_3 :
adiabatic :
gamma 1.00001
--- Bondaries config
Config Type : Periodic boundaries
--- Bondaries config config (deduced)
-------------
------------------------------------
Info: pushing data in scheduler, N = 735 [DataInserterUtility][rank=0]
Info: reattributing data ... [DataInserterUtility][rank=0]
Info: reattributing data done in 1369.75 us [DataInserterUtility][rank=0]
Info: Compute load ... [DataInserterUtility][rank=0]
Info: run scheduler step ... [DataInserterUtility][rank=0]
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.95 us (46.0%)
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 735 min = 735 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 735 min = 735 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 735
max = 735
avg = 735
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 1864.00 ns (0.4%)
patch tree reduce : 621.00 ns (0.1%)
gen split merge : 711.00 ns (0.1%)
split / merge op : 0/0
apply split merge : 892.00 ns (0.2%)
LB compute : 509.16 us (97.9%)
LB move op cnt : 0
LB apply : 2.90 us (0.6%)
Info: the setup took : 0.073013849 s [SPH setup][rank=0]
---------------- t = 0, dt = 0 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 735 min = 735 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 735 min = 735 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 735
max = 735
avg = 735
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.98 us (0.7%)
patch tree reduce : 341.00 ns (0.1%)
gen split merge : 411.00 ns (0.1%)
split / merge op : 0/0
apply split merge : 351.00 ns (0.1%)
LB compute : 395.12 us (97.7%)
LB move op cnt : 0
LB apply : 1783.00 ns (0.4%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.52 us (63.6%)
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.13 unconverged cnt = 735
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.169 unconverged cnt = 735
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.21970000000000003 unconverged cnt = 334
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.28561000000000003 unconverged cnt = 2
Info: smoothing length iteration converged [Smoothinglength][rank=0]
eps min = 0, max = 1.4912191007870045e-10
iterations = 3
Info: conservation infos : [sph::Model][rank=0]
sum v = (-735,-735,-735)
sum a = (0,3.2526065174565133e-19,-6.505213034913027e-19)
sum e = 1837.5
sum de = -8.673617379884035e-19
Info: cfl dt = 0.1305431643141645 cfl multiplier : 0.01 [sph::Model][rank=0]
Info: processing rate infos : [sph::Model][rank=0]
---------------------------------------------------------------------------------------
| rank | rate (N.s^-1) | Nobj | t compute (s) | MPI | alloc | mem (max) |
---------------------------------------------------------------------------------------
| 0 | 1.0472e+04 | 735 | 7.018e-02 | 0 % | 1 % | 179.85 MB |
---------------------------------------------------------------------------------------
Info: estimated rate : 0 (tsim/hr) [sph::Model][rank=0]
Draw utilities#
107 import matplotlib.pyplot as plt
108 import numpy as np
109
110
111 def plot_state(iplot):
112
113 pos = ctx.collect_data()["xyz"]
114
115 if shamrock.sys.world_rank() == 0:
116 X = pos[:, 0]
117 Y = pos[:, 1]
118 Z = pos[:, 2]
119
120 plt.cla()
121
122 ax.set_xlim3d(bmin[0], bmax[0])
123 ax.set_ylim3d(bmin[1], bmax[1])
124 ax.set_zlim3d(bmin[2], bmax[2])
125
126 ax.scatter(X, Y, Z, s=1)
127
128 ax.set_title(f"t = {model.get_time():.2f} ")
129
130 plt.savefig(os.path.join(dump_folder, f"{sim_name}_{iplot:04}.png"))
Run the simulation#
136 nstop = 28 # To be increased when epmty simulations will be fixed
137 dt_stop = 0.1
138
139 t_stop = [i * dt_stop for i in range(nstop + 1)]
140
141 # Init MPL
142 fig = plt.figure(dpi=120)
143 ax = fig.add_subplot(111, projection="3d")
144
145 iplot = 0
146 istop = 0
147 for ttarg in t_stop:
148
149 model.evolve_until(ttarg)
150
151 # if do_plots:
152 plot_state(iplot)
153
154 iplot += 1
155 istop += 1
156
157 plt.close(fig)
Info: iteration since start : 1 [SPH][rank=0]
Info: time since start : 39.148261145 (s) [SPH][rank=0]
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 0, dt = 0.1 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 735 min = 735 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 735 min = 735 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 735
max = 735
avg = 735
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 25.14 us (4.8%)
patch tree reduce : 1113.00 ns (0.2%)
gen split merge : 992.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1092.00 ns (0.2%)
LB compute : 485.97 us (92.5%)
LB move op cnt : 0
LB apply : 3.68 us (0.7%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.43 us (74.2%)
Info: smoothing length iteration converged [Smoothinglength][rank=0]
eps min = 4.506849888788517e-10, max = 9.314421244458321e-07
iterations = 0
Info: conservation infos : [sph::Model][rank=0]
sum v = (-735,-735.0000000000001,-735)
sum a = (-1.0842021724855044e-18,5.421010862427522e-19,-2.168404344971009e-19)
sum e = 1837.5000000099578
sum de = -8.673617379884035e-19
Info: cfl dt = 4.4384722909924195 cfl multiplier : 0.34 [sph::Model][rank=0]
Info: processing rate infos : [sph::Model][rank=0]
---------------------------------------------------------------------------------------
| rank | rate (N.s^-1) | Nobj | t compute (s) | MPI | alloc | mem (max) |
---------------------------------------------------------------------------------------
| 0 | 3.8472e+04 | 735 | 1.910e-02 | 0 % | 2 % | 179.85 MB |
---------------------------------------------------------------------------------------
Info: estimated rate : 18843.603638197368 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 2 [SPH][rank=0]
Info: time since start : 39.357718950000006 (s) [SPH][rank=0]
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 0.1, dt = 0.1 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 735 min = 735 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 735 min = 735 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 735
max = 735
avg = 735
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 11.96 us (2.4%)
patch tree reduce : 1242.00 ns (0.2%)
gen split merge : 882.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1403.00 ns (0.3%)
LB compute : 477.11 us (94.6%)
LB move op cnt : 0
LB apply : 4.19 us (0.8%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.23 us (73.7%)
Info: smoothing length iteration converged [Smoothinglength][rank=0]
eps min = 2.124200847621643e-12, max = 9.982985588018053e-07
iterations = 1
Info: conservation infos : [sph::Model][rank=0]
sum v = (-735.0000000000001,-735,-735.0000000000001)
sum a = (2.168404344971009e-18,5.421010862427522e-19,4.336808689942018e-19)
sum e = 1837.5000000099576
sum de = 0
Info: cfl dt = 7.310448194870652 cfl multiplier : 0.56 [sph::Model][rank=0]
Info: processing rate infos : [sph::Model][rank=0]
---------------------------------------------------------------------------------------
| rank | rate (N.s^-1) | Nobj | t compute (s) | MPI | alloc | mem (max) |
---------------------------------------------------------------------------------------
| 0 | 3.9017e+04 | 735 | 1.884e-02 | 0 % | 1 % | 179.85 MB |
---------------------------------------------------------------------------------------
Info: estimated rate : 19110.374889816747 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 3 [SPH][rank=0]
Info: time since start : 39.553064779 (s) [SPH][rank=0]
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 0.2, dt = 0.10000000000000003 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 735 min = 735 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 735 min = 735 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 735
max = 735
avg = 735
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.05 us (2.1%)
patch tree reduce : 1072.00 ns (0.2%)
gen split merge : 1203.00 ns (0.3%)
split / merge op : 0/0
apply split merge : 1252.00 ns (0.3%)
LB compute : 444.65 us (94.8%)
LB move op cnt : 0
LB apply : 3.32 us (0.7%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.21 us (75.1%)
Info: smoothing length iteration converged [Smoothinglength][rank=0]
eps min = 2.961414971330988e-12, max = 9.556907601290198e-07
iterations = 1
Info: conservation infos : [sph::Model][rank=0]
sum v = (-735.0000000000001,-734.9999999999999,-734.9999999999999)
sum a = (1.734723475976807e-18,-2.168404344971009e-19,2.168404344971009e-19)
sum e = 1837.5000000099571
sum de = 0
Info: cfl dt = 9.225138276950844 cfl multiplier : 0.7066666666666667 [sph::Model][rank=0]
Info: processing rate infos : [sph::Model][rank=0]
---------------------------------------------------------------------------------------
| rank | rate (N.s^-1) | Nobj | t compute (s) | MPI | alloc | mem (max) |
---------------------------------------------------------------------------------------
| 0 | 3.7211e+04 | 735 | 1.975e-02 | 0 % | 1 % | 179.85 MB |
---------------------------------------------------------------------------------------
Info: estimated rate : 18226.019039507028 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 4 [SPH][rank=0]
Info: time since start : 39.747400791000004 (s) [SPH][rank=0]
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 0.30000000000000004, dt = 0.09999999999999998 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 735 min = 735 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 735 min = 735 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 735
max = 735
avg = 735
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 11.17 us (2.4%)
patch tree reduce : 1362.00 ns (0.3%)
gen split merge : 952.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1142.00 ns (0.2%)
LB compute : 443.76 us (94.6%)
LB move op cnt : 0
LB apply : 3.80 us (0.8%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.23 us (73.5%)
Info: smoothing length iteration converged [Smoothinglength][rank=0]
eps min = 2.197685235501834e-12, max = 9.17510337157798e-07
iterations = 1
Info: conservation infos : [sph::Model][rank=0]
sum v = (-735,-734.9999999999999,-735)
sum a = (4.336808689942018e-19,6.505213034913027e-19,3.2526065174565133e-19)
sum e = 1837.5000000099576
sum de = -4.336808689942018e-19
Info: cfl dt = 10.501650417394147 cfl multiplier : 0.8044444444444444 [sph::Model][rank=0]
Info: processing rate infos : [sph::Model][rank=0]
---------------------------------------------------------------------------------------
| rank | rate (N.s^-1) | Nobj | t compute (s) | MPI | alloc | mem (max) |
---------------------------------------------------------------------------------------
| 0 | 3.8235e+04 | 735 | 1.922e-02 | 0 % | 1 % | 179.85 MB |
---------------------------------------------------------------------------------------
Info: estimated rate : 18727.235679503952 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 5 [SPH][rank=0]
Info: time since start : 39.947731236 (s) [SPH][rank=0]
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 0.4, dt = 0.09999999999999998 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 735 min = 735 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 735 min = 735 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 735
max = 735
avg = 735
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.23 us (2.1%)
patch tree reduce : 1202.00 ns (0.2%)
gen split merge : 892.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1102.00 ns (0.2%)
LB compute : 459.96 us (94.7%)
LB move op cnt : 0
LB apply : 4.81 us (1.0%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.85 us (73.8%)
Info: smoothing length iteration converged [Smoothinglength][rank=0]
eps min = 1.9173812264930808e-12, max = 9.744078310194687e-07
iterations = 1
Info: conservation infos : [sph::Model][rank=0]
sum v = (-735,-735.0000000000001,-734.9999999999999)
sum a = (2.168404344971009e-19,1.4094628242311558e-18,7.589415207398531e-19)
sum e = 1837.500000009957
sum de = 4.336808689942018e-19
Info: cfl dt = 11.352721173598153 cfl multiplier : 0.8696296296296296 [sph::Model][rank=0]
Info: processing rate infos : [sph::Model][rank=0]
---------------------------------------------------------------------------------------
| rank | rate (N.s^-1) | Nobj | t compute (s) | MPI | alloc | mem (max) |
---------------------------------------------------------------------------------------
| 0 | 3.8543e+04 | 735 | 1.907e-02 | 0 % | 1 % | 179.85 MB |
---------------------------------------------------------------------------------------
Info: estimated rate : 18878.36303616517 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 6 [SPH][rank=0]
Info: time since start : 40.141684760000004 (s) [SPH][rank=0]
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 0.5, dt = 0.10000000000000009 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 735 min = 735 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 735 min = 735 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 735
max = 735
avg = 735
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.77 us (2.2%)
patch tree reduce : 1272.00 ns (0.3%)
gen split merge : 812.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1092.00 ns (0.2%)
LB compute : 463.15 us (94.9%)
LB move op cnt : 0
LB apply : 3.79 us (0.8%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.62 us (72.4%)
Info: smoothing length iteration converged [Smoothinglength][rank=0]
eps min = 2.5583218446598126e-12, max = 9.119810587685201e-07
iterations = 1
Info: conservation infos : [sph::Model][rank=0]
sum v = (-735.0000000000001,-735.0000000000001,-734.9999999999999)
sum a = (1.734723475976807e-18,-8.673617379884035e-19,-3.2526065174565133e-19)
sum e = 1837.5000000099567
sum de = 1.3010426069826053e-18
Info: cfl dt = 11.92017386487619 cfl multiplier : 0.9130864197530864 [sph::Model][rank=0]
Info: processing rate infos : [sph::Model][rank=0]
---------------------------------------------------------------------------------------
| rank | rate (N.s^-1) | Nobj | t compute (s) | MPI | alloc | mem (max) |
---------------------------------------------------------------------------------------
| 0 | 3.9611e+04 | 735 | 1.856e-02 | 0 % | 1 % | 179.85 MB |
---------------------------------------------------------------------------------------
Info: estimated rate : 19401.2933333276 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 7 [SPH][rank=0]
Info: time since start : 40.334248392 (s) [SPH][rank=0]
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 0.6000000000000001, dt = 0.09999999999999998 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 735 min = 735 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 735 min = 735 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 735
max = 735
avg = 735
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.97 us (2.2%)
patch tree reduce : 1253.00 ns (0.3%)
gen split merge : 831.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1102.00 ns (0.2%)
LB compute : 471.77 us (94.9%)
LB move op cnt : 0
LB apply : 4.08 us (0.8%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.16 us (69.1%)
Info: smoothing length iteration converged [Smoothinglength][rank=0]
eps min = 2.08765428342454e-12, max = 9.906071958926754e-07
iterations = 1
Info: conservation infos : [sph::Model][rank=0]
sum v = (-735,-735.0000000000001,-735.0000000000002)
sum a = (-6.505213034913027e-19,5.421010862427522e-19,4.336808689942018e-19)
sum e = 1837.5000000099562
sum de = 8.673617379884035e-19
Info: cfl dt = 12.29855686966423 cfl multiplier : 0.9420576131687243 [sph::Model][rank=0]
Info: processing rate infos : [sph::Model][rank=0]
---------------------------------------------------------------------------------------
| rank | rate (N.s^-1) | Nobj | t compute (s) | MPI | alloc | mem (max) |
---------------------------------------------------------------------------------------
| 0 | 4.0020e+04 | 735 | 1.837e-02 | 0 % | 1 % | 179.85 MB |
---------------------------------------------------------------------------------------
Info: estimated rate : 19601.782172255338 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 8 [SPH][rank=0]
Info: time since start : 40.527979668 (s) [SPH][rank=0]
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 0.7000000000000001, dt = 0.09999999999999998 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 735 min = 735 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 735 min = 735 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 735
max = 735
avg = 735
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.76 us (2.1%)
patch tree reduce : 1142.00 ns (0.2%)
gen split merge : 872.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1102.00 ns (0.2%)
LB compute : 477.36 us (94.9%)
LB move op cnt : 0
LB apply : 4.09 us (0.8%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.92 us (71.9%)
Info: smoothing length iteration converged [Smoothinglength][rank=0]
eps min = 1.994812928313543e-12, max = 9.888275456436098e-07
iterations = 1
Info: conservation infos : [sph::Model][rank=0]
sum v = (-734.9999999999999,-734.9999999999999,-734.9999999999999)
sum a = (8.673617379884035e-19,-7.589415207398531e-19,2.168404344971009e-19)
sum e = 1837.5000000099558
sum de = 2.168404344971009e-18
Info: cfl dt = 12.550902239785634 cfl multiplier : 0.9613717421124829 [sph::Model][rank=0]
Info: processing rate infos : [sph::Model][rank=0]
---------------------------------------------------------------------------------------
| rank | rate (N.s^-1) | Nobj | t compute (s) | MPI | alloc | mem (max) |
---------------------------------------------------------------------------------------
| 0 | 3.8983e+04 | 735 | 1.885e-02 | 0 % | 1 % | 179.85 MB |
---------------------------------------------------------------------------------------
Info: estimated rate : 19093.700532067174 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 9 [SPH][rank=0]
Info: time since start : 40.722319507 (s) [SPH][rank=0]
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 0.8, dt = 0.09999999999999998 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 735 min = 735 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 735 min = 735 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 735
max = 735
avg = 735
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.53 us (2.1%)
patch tree reduce : 1082.00 ns (0.2%)
gen split merge : 882.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1152.00 ns (0.2%)
LB compute : 480.79 us (95.0%)
LB move op cnt : 0
LB apply : 3.96 us (0.8%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.04 us (74.8%)
Info: smoothing length iteration converged [Smoothinglength][rank=0]
eps min = 1.968472790464023e-12, max = 9.656696946264904e-07
iterations = 1
Info: conservation infos : [sph::Model][rank=0]
sum v = (-735,-735.0000000000001,-735.0000000000001)
sum a = (0,-2.168404344971009e-19,1.0842021724855044e-19)
sum e = 1837.5000000099553
sum de = 8.673617379884035e-19
Info: cfl dt = 12.719231298543177 cfl multiplier : 0.9742478280749886 [sph::Model][rank=0]
Info: processing rate infos : [sph::Model][rank=0]
---------------------------------------------------------------------------------------
| rank | rate (N.s^-1) | Nobj | t compute (s) | MPI | alloc | mem (max) |
---------------------------------------------------------------------------------------
| 0 | 4.1376e+04 | 735 | 1.776e-02 | 0 % | 1 % | 179.85 MB |
---------------------------------------------------------------------------------------
Info: estimated rate : 20265.80061143046 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 10 [SPH][rank=0]
Info: time since start : 40.915087152000005 (s) [SPH][rank=0]
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 0.9, dt = 0.09999999999999998 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 735 min = 735 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 735 min = 735 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 735
max = 735
avg = 735
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.92 us (2.1%)
patch tree reduce : 1092.00 ns (0.2%)
gen split merge : 972.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1092.00 ns (0.2%)
LB compute : 502.04 us (95.1%)
LB move op cnt : 0
LB apply : 3.96 us (0.7%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.40 us (74.8%)
Info: smoothing length iteration converged [Smoothinglength][rank=0]
eps min = 1.919840437096159e-12, max = 9.767133587833222e-07
iterations = 1
Info: conservation infos : [sph::Model][rank=0]
sum v = (-735.0000000000001,-735.0000000000002,-735.0000000000002)
sum a = (8.673617379884035e-19,-5.421010862427522e-19,-1.0842021724855044e-19)
sum e = 1837.5000000099544
sum de = 8.673617379884035e-19
Info: cfl dt = 12.831558291123326 cfl multiplier : 0.9828318853833258 [sph::Model][rank=0]
Info: processing rate infos : [sph::Model][rank=0]
---------------------------------------------------------------------------------------
| rank | rate (N.s^-1) | Nobj | t compute (s) | MPI | alloc | mem (max) |
---------------------------------------------------------------------------------------
| 0 | 3.9701e+04 | 735 | 1.851e-02 | 0 % | 1 % | 179.85 MB |
---------------------------------------------------------------------------------------
Info: estimated rate : 19445.43247046927 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 11 [SPH][rank=0]
Info: time since start : 41.107464805 (s) [SPH][rank=0]
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 1, dt = 0.10000000000000009 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 735 min = 735 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 735 min = 735 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 735
max = 735
avg = 735
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.23 us (2.0%)
patch tree reduce : 1223.00 ns (0.2%)
gen split merge : 922.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1352.00 ns (0.3%)
LB compute : 486.62 us (95.2%)
LB move op cnt : 0
LB apply : 3.63 us (0.7%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.80 us (72.5%)
Info: smoothing length iteration converged [Smoothinglength][rank=0]
eps min = 1.919468772414073e-12, max = 9.848167547797278e-07
iterations = 1
Info: conservation infos : [sph::Model][rank=0]
sum v = (-735.0000000000001,-735.0000000000001,-735)
sum a = (0,-2.168404344971009e-19,6.505213034913027e-19)
sum e = 1837.5000000099542
sum de = -8.673617379884035e-19
Info: cfl dt = 12.906559440326541 cfl multiplier : 0.9885545902555505 [sph::Model][rank=0]
Info: processing rate infos : [sph::Model][rank=0]
---------------------------------------------------------------------------------------
| rank | rate (N.s^-1) | Nobj | t compute (s) | MPI | alloc | mem (max) |
---------------------------------------------------------------------------------------
| 0 | 4.0090e+04 | 735 | 1.833e-02 | 0 % | 1 % | 179.85 MB |
---------------------------------------------------------------------------------------
Info: estimated rate : 19635.72672479134 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 12 [SPH][rank=0]
Info: time since start : 41.302564862000004 (s) [SPH][rank=0]
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 1.1, dt = 0.10000000000000009 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 735 min = 735 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 735 min = 735 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 735
max = 735
avg = 735
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 9.87 us (1.9%)
patch tree reduce : 1132.00 ns (0.2%)
gen split merge : 882.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1132.00 ns (0.2%)
LB compute : 502.88 us (95.5%)
LB move op cnt : 0
LB apply : 3.54 us (0.7%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.04 us (75.4%)
Info: smoothing length iteration converged [Smoothinglength][rank=0]
eps min = 1.962655003193e-12, max = 9.750224724841837e-07
iterations = 1
Info: conservation infos : [sph::Model][rank=0]
sum v = (-735,-735,-735)
sum a = (6.505213034913027e-19,-1.3010426069826053e-18,0)
sum e = 1837.500000009953
sum de = -1.3010426069826053e-18
Info: cfl dt = 12.956685627293245 cfl multiplier : 0.9923697268370336 [sph::Model][rank=0]
Info: processing rate infos : [sph::Model][rank=0]
---------------------------------------------------------------------------------------
| rank | rate (N.s^-1) | Nobj | t compute (s) | MPI | alloc | mem (max) |
---------------------------------------------------------------------------------------
| 0 | 4.0389e+04 | 735 | 1.820e-02 | 0 % | 1 % | 179.85 MB |
---------------------------------------------------------------------------------------
Info: estimated rate : 19782.228437261118 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 13 [SPH][rank=0]
Info: time since start : 41.49544023 (s) [SPH][rank=0]
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 1.2000000000000002, dt = 0.09999999999999987 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 735 min = 735 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 735 min = 735 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 735
max = 735
avg = 735
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 11.04 us (2.2%)
patch tree reduce : 1273.00 ns (0.3%)
gen split merge : 982.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1132.00 ns (0.2%)
LB compute : 474.67 us (94.9%)
LB move op cnt : 0
LB apply : 3.50 us (0.7%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.31 us (69.5%)
Info: smoothing length iteration converged [Smoothinglength][rank=0]
eps min = 2.0553811871946734e-12, max = 9.920092121069658e-07
iterations = 1
Info: conservation infos : [sph::Model][rank=0]
sum v = (-734.9999999999999,-735,-734.9999999999998)
sum a = (2.168404344971009e-18,4.336808689942018e-19,-2.168404344971009e-19)
sum e = 1837.5000000099521
sum de = 8.673617379884035e-19
Info: cfl dt = 12.990237500990482 cfl multiplier : 0.9949131512246892 [sph::Model][rank=0]
Info: processing rate infos : [sph::Model][rank=0]
---------------------------------------------------------------------------------------
| rank | rate (N.s^-1) | Nobj | t compute (s) | MPI | alloc | mem (max) |
---------------------------------------------------------------------------------------
| 0 | 3.8721e+04 | 735 | 1.898e-02 | 0 % | 1 % | 179.85 MB |
---------------------------------------------------------------------------------------
Info: estimated rate : 18965.229674726266 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 14 [SPH][rank=0]
Info: time since start : 41.690161266000004 (s) [SPH][rank=0]
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 1.3, dt = 0.10000000000000009 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 735 min = 735 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 735 min = 735 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 735
max = 735
avg = 735
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.41 us (2.1%)
patch tree reduce : 1372.00 ns (0.3%)
gen split merge : 972.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1093.00 ns (0.2%)
LB compute : 461.07 us (94.8%)
LB move op cnt : 0
LB apply : 4.21 us (0.9%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.94 us (74.2%)
Info: smoothing length iteration converged [Smoothinglength][rank=0]
eps min = 1.9221950367838413e-12, max = 9.17003762299985e-07
iterations = 1
Info: conservation infos : [sph::Model][rank=0]
sum v = (-735,-735.0000000000001,-735.0000000000002)
sum a = (8.673617379884035e-19,3.2526065174565133e-19,-5.421010862427522e-19)
sum e = 1837.5000000099515
sum de = 1.3010426069826053e-18
Info: cfl dt = 13.012748880137543 cfl multiplier : 0.9966087674831261 [sph::Model][rank=0]
Info: processing rate infos : [sph::Model][rank=0]
---------------------------------------------------------------------------------------
| rank | rate (N.s^-1) | Nobj | t compute (s) | MPI | alloc | mem (max) |
---------------------------------------------------------------------------------------
| 0 | 3.8181e+04 | 735 | 1.925e-02 | 0 % | 1 % | 179.85 MB |
---------------------------------------------------------------------------------------
Info: estimated rate : 18701.007257029778 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 15 [SPH][rank=0]
Info: time since start : 41.883849891000004 (s) [SPH][rank=0]
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 1.4000000000000001, dt = 0.09999999999999987 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 735 min = 735 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 735 min = 735 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 735
max = 735
avg = 735
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.97 us (2.2%)
patch tree reduce : 1643.00 ns (0.3%)
gen split merge : 872.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1193.00 ns (0.2%)
LB compute : 473.98 us (94.7%)
LB move op cnt : 0
LB apply : 4.20 us (0.8%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.45 us (77.6%)
Info: smoothing length iteration converged [Smoothinglength][rank=0]
eps min = 2.2183984148201267e-12, max = 9.851195071570592e-07
iterations = 1
Info: conservation infos : [sph::Model][rank=0]
sum v = (-735,-735,-735.0000000000001)
sum a = (-1.0842021724855044e-18,1.0842021724855044e-19,2.168404344971009e-19)
sum e = 1837.5000000099508
sum de = -1.734723475976807e-18
Info: cfl dt = 13.027909020178868 cfl multiplier : 0.997739178322084 [sph::Model][rank=0]
Info: processing rate infos : [sph::Model][rank=0]
---------------------------------------------------------------------------------------
| rank | rate (N.s^-1) | Nobj | t compute (s) | MPI | alloc | mem (max) |
---------------------------------------------------------------------------------------
| 0 | 3.7803e+04 | 735 | 1.944e-02 | 0 % | 1 % | 179.85 MB |
---------------------------------------------------------------------------------------
Info: estimated rate : 18515.58593163148 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 16 [SPH][rank=0]
Info: time since start : 42.077477056 (s) [SPH][rank=0]
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 1.5, dt = 0.10000000000000009 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 735 min = 735 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 735 min = 735 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 735
max = 735
avg = 735
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.78 us (2.2%)
patch tree reduce : 1272.00 ns (0.3%)
gen split merge : 932.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1102.00 ns (0.2%)
LB compute : 467.13 us (94.9%)
LB move op cnt : 0
LB apply : 3.91 us (0.8%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.11 us (70.6%)
Info: smoothing length iteration converged [Smoothinglength][rank=0]
eps min = 2.0800247431421725e-12, max = 7.439064039606458e-07
iterations = 1
Info: conservation infos : [sph::Model][rank=0]
sum v = (-735,-735,-734.9999999999999)
sum a = (-6.505213034913027e-19,-2.168404344971009e-19,5.421010862427522e-19)
sum e = 1837.5000000099494
sum de = 4.336808689942018e-19
Info: cfl dt = 13.038177458584492 cfl multiplier : 0.998492785548056 [sph::Model][rank=0]
Info: processing rate infos : [sph::Model][rank=0]
---------------------------------------------------------------------------------------
| rank | rate (N.s^-1) | Nobj | t compute (s) | MPI | alloc | mem (max) |
---------------------------------------------------------------------------------------
| 0 | 4.0765e+04 | 735 | 1.803e-02 | 0 % | 1 % | 179.85 MB |
---------------------------------------------------------------------------------------
Info: estimated rate : 19966.337863602974 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 17 [SPH][rank=0]
Info: time since start : 42.269854031 (s) [SPH][rank=0]
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 1.6, dt = 0.10000000000000009 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 735 min = 735 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 735 min = 735 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 735
max = 735
avg = 735
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.76 us (2.2%)
patch tree reduce : 1242.00 ns (0.3%)
gen split merge : 922.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1132.00 ns (0.2%)
LB compute : 461.43 us (94.8%)
LB move op cnt : 0
LB apply : 4.14 us (0.8%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.00 us (72.1%)
Info: smoothing length iteration converged [Smoothinglength][rank=0]
eps min = 2.355090016490985e-12, max = 7.91566811414966e-07
iterations = 1
Info: conservation infos : [sph::Model][rank=0]
sum v = (-735,-735,-735.0000000000001)
sum a = (-2.168404344971009e-19,-6.505213034913027e-19,-2.168404344971009e-19)
sum e = 1837.500000009949
sum de = 8.673617379884035e-19
Info: cfl dt = 13.045193913020135 cfl multiplier : 0.9989951903653708 [sph::Model][rank=0]
Info: processing rate infos : [sph::Model][rank=0]
---------------------------------------------------------------------------------------
| rank | rate (N.s^-1) | Nobj | t compute (s) | MPI | alloc | mem (max) |
---------------------------------------------------------------------------------------
| 0 | 3.7177e+04 | 735 | 1.977e-02 | 0 % | 1 % | 179.85 MB |
---------------------------------------------------------------------------------------
Info: estimated rate : 18209.32253581206 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 18 [SPH][rank=0]
Info: time since start : 42.465655865 (s) [SPH][rank=0]
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 1.7000000000000002, dt = 0.09999999999999987 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 735 min = 735 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 735 min = 735 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 735
max = 735
avg = 735
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 11.08 us (2.3%)
patch tree reduce : 1092.00 ns (0.2%)
gen split merge : 881.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1213.00 ns (0.2%)
LB compute : 460.46 us (94.8%)
LB move op cnt : 0
LB apply : 3.77 us (0.8%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.50 us (70.6%)
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.2962445542109251 unconverged cnt = 4
Info: smoothing length iteration converged [Smoothinglength][rank=0]
eps min = 0, max = 6.66797846285358e-08
iterations = 2
Info: conservation infos : [sph::Model][rank=0]
sum v = (-723.9990621681543,-723.9989589588941,-723.999080836305)
sum a = (-1.3010426069826053e-18,-1.0842021724855044e-19,0)
sum e = 1809.9971019165425
sum de = 0
Info: cfl dt = 12.89661811090234 cfl multiplier : 0.9993301269102473 [sph::Model][rank=0]
Info: processing rate infos : [sph::Model][rank=0]
---------------------------------------------------------------------------------------
| rank | rate (N.s^-1) | Nobj | t compute (s) | MPI | alloc | mem (max) |
---------------------------------------------------------------------------------------
| 0 | 2.0473e+04 | 724 | 3.536e-02 | 0 % | 1 % | 179.85 MB |
---------------------------------------------------------------------------------------
Info: estimated rate : 10180.010006384266 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 19 [SPH][rank=0]
Info: time since start : 42.675765966 (s) [SPH][rank=0]
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 1.8, dt = 0.10000000000000009 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 724 min = 724 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 724 min = 724 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 724
max = 724
avg = 724
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.67 us (2.2%)
patch tree reduce : 1162.00 ns (0.2%)
gen split merge : 851.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1142.00 ns (0.2%)
LB compute : 461.48 us (94.9%)
LB move op cnt : 0
LB apply : 4.11 us (0.8%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.54 us (76.7%)
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.30056167192620137 unconverged cnt = 19
Info: smoothing length iteration converged [Smoothinglength][rank=0]
eps min = 0, max = 9.095389359210056e-07
iterations = 3
Info: conservation infos : [sph::Model][rank=0]
sum v = (-681.9968714883286,-681.9966204670961,-681.9967286191294)
sum a = (4.336808689942018e-19,1.0842021724855044e-19,-8.131516293641283e-19)
sum e = 1704.9902204838572
sum de = -4.336808689942018e-19
Info: cfl dt = 12.789615550227142 cfl multiplier : 0.9995534179401648 [sph::Model][rank=0]
Info: processing rate infos : [sph::Model][rank=0]
---------------------------------------------------------------------------------------
| rank | rate (N.s^-1) | Nobj | t compute (s) | MPI | alloc | mem (max) |
---------------------------------------------------------------------------------------
| 0 | 1.8941e+04 | 682 | 3.601e-02 | 0 % | 1 % | 179.85 MB |
---------------------------------------------------------------------------------------
Info: estimated rate : 9998.336387917685 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 20 [SPH][rank=0]
Info: time since start : 42.887604663000005 (s) [SPH][rank=0]
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 1.9000000000000001, dt = 0.09999999999999987 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 682 min = 682 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 682 min = 682 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 682
max = 682
avg = 682
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.61 us (2.3%)
patch tree reduce : 1222.00 ns (0.3%)
gen split merge : 882.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1102.00 ns (0.2%)
LB compute : 444.82 us (94.5%)
LB move op cnt : 0
LB apply : 4.31 us (0.9%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.11 us (76.0%)
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.29625970614486274 unconverged cnt = 34
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.29755427911452514 unconverged cnt = 2
Info: smoothing length iteration converged [Smoothinglength][rank=0]
eps min = 0, max = 1.2051220907441327e-08
iterations = 3
Info: conservation infos : [sph::Model][rank=0]
sum v = (-612.9949011129379,-612.9946819821321,-612.9947797392335)
sum a = (2.168404344971009e-19,-3.7947076036992655e-19,-9.0801931945661e-19)
sum e = 1532.484362757864
sum de = -2.168404344971009e-19
Info: cfl dt = 12.861008218464518 cfl multiplier : 0.9997022786267765 [sph::Model][rank=0]
Info: processing rate infos : [sph::Model][rank=0]
---------------------------------------------------------------------------------------
| rank | rate (N.s^-1) | Nobj | t compute (s) | MPI | alloc | mem (max) |
---------------------------------------------------------------------------------------
| 0 | 1.0701e+04 | 613 | 5.729e-02 | 0 % | 1 % | 179.85 MB |
---------------------------------------------------------------------------------------
Info: estimated rate : 6284.356555468053 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 21 [SPH][rank=0]
Info: time since start : 43.116794215000006 (s) [SPH][rank=0]
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 2, dt = 0.10000000000000009 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 613 min = 613 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 613 min = 613 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 613
max = 613
avg = 613
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 11.35 us (2.2%)
patch tree reduce : 1223.00 ns (0.2%)
gen split merge : 932.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1172.00 ns (0.2%)
LB compute : 479.84 us (94.9%)
LB move op cnt : 0
LB apply : 3.69 us (0.7%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.21 us (77.7%)
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.30671834896297384 unconverged cnt = 47
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.307306761640605 unconverged cnt = 2
Info: smoothing length iteration converged [Smoothinglength][rank=0]
eps min = 0, max = 5.2610397646714225e-08
iterations = 2
Info: conservation infos : [sph::Model][rank=0]
sum v = (-532.9935533115204,-532.9935945920529,-532.9934668702183)
sum a = (-2.168404344971009e-19,1.3010426069826053e-18,1.0842021724855044e-19)
sum e = 1332.4806147210952
sum de = 4.336808689942018e-19
Info: cfl dt = 12.685397983886743 cfl multiplier : 0.9998015190845176 [sph::Model][rank=0]
Info: processing rate infos : [sph::Model][rank=0]
---------------------------------------------------------------------------------------
| rank | rate (N.s^-1) | Nobj | t compute (s) | MPI | alloc | mem (max) |
---------------------------------------------------------------------------------------
| 0 | 1.1305e+04 | 533 | 4.715e-02 | 0 % | 1 % | 179.85 MB |
---------------------------------------------------------------------------------------
Info: estimated rate : 7635.9230898796795 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 22 [SPH][rank=0]
Info: time since start : 43.332656458 (s) [SPH][rank=0]
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 2.1, dt = 0.10000000000000009 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 533 min = 533 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 533 min = 533 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 533
max = 533
avg = 533
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.40 us (2.2%)
patch tree reduce : 1152.00 ns (0.2%)
gen split merge : 861.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1153.00 ns (0.2%)
LB compute : 455.68 us (94.9%)
LB move op cnt : 0
LB apply : 3.97 us (0.8%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.32 us (72.4%)
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.2962764478718123 unconverged cnt = 55
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.31069429926209974 unconverged cnt = 2
Info: smoothing length iteration converged [Smoothinglength][rank=0]
eps min = 0, max = 3.263563024361828e-07
iterations = 3
Info: conservation infos : [sph::Model][rank=0]
sum v = (-433.99273387360574,-433.9925086146639,-433.9924959785828)
sum a = (2.168404344971009e-19,-4.336808689942018e-19,2.168404344971009e-19)
sum e = 1084.9777384174881
sum de = 0
Info: cfl dt = 12.731993623699823 cfl multiplier : 0.9998676793896785 [sph::Model][rank=0]
Info: processing rate infos : [sph::Model][rank=0]
---------------------------------------------------------------------------------------
| rank | rate (N.s^-1) | Nobj | t compute (s) | MPI | alloc | mem (max) |
---------------------------------------------------------------------------------------
| 0 | 9.7818e+03 | 434 | 4.437e-02 | 0 % | 1 % | 179.85 MB |
---------------------------------------------------------------------------------------
Info: estimated rate : 8113.9135767231 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 23 [SPH][rank=0]
Info: time since start : 43.541232939000004 (s) [SPH][rank=0]
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 2.2, dt = 0.10000000000000009 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 434 min = 434 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 434 min = 434 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 434
max = 434
avg = 434
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.36 us (2.2%)
patch tree reduce : 1293.00 ns (0.3%)
gen split merge : 872.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1092.00 ns (0.2%)
LB compute : 454.23 us (94.6%)
LB move op cnt : 0
LB apply : 4.33 us (0.9%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 5.64 us (51.1%)
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.3109500729833232 unconverged cnt = 57
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.3156077724953211 unconverged cnt = 4
Info: smoothing length iteration converged [Smoothinglength][rank=0]
eps min = 0, max = 4.7606112321809197e-07
iterations = 3
Info: conservation infos : [sph::Model][rank=0]
sum v = (-341.99193142018504,-341.9921450989846,-341.99250440938164)
sum a = (0,-8.673617379884035e-19,-3.2526065174565133e-19)
sum e = 854.9765809341819
sum de = 8.673617379884035e-19
Info: cfl dt = 12.667051368296761 cfl multiplier : 0.9999117862597856 [sph::Model][rank=0]
Info: processing rate infos : [sph::Model][rank=0]
---------------------------------------------------------------------------------------
| rank | rate (N.s^-1) | Nobj | t compute (s) | MPI | alloc | mem (max) |
---------------------------------------------------------------------------------------
| 0 | 7.7377e+03 | 342 | 4.420e-02 | 0 % | 1 % | 179.85 MB |
---------------------------------------------------------------------------------------
Info: estimated rate : 8144.924450735149 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 24 [SPH][rank=0]
Info: time since start : 43.743817029000006 (s) [SPH][rank=0]
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 2.3000000000000003, dt = 0.10000000000000009 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 342 min = 342 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 342 min = 342 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 342
max = 342
avg = 342
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 11.35 us (2.4%)
patch tree reduce : 1163.00 ns (0.2%)
gen split merge : 881.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1123.00 ns (0.2%)
LB compute : 456.30 us (94.5%)
LB move op cnt : 0
LB apply : 4.74 us (1.0%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.56 us (74.1%)
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.3020184485298713 unconverged cnt = 56
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.328576480695004 unconverged cnt = 7
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.3614341287645044 unconverged cnt = 1
Info: smoothing length iteration converged [Smoothinglength][rank=0]
eps min = 0, max = 1.722161459026013e-09
iterations = 2
Info: conservation infos : [sph::Model][rank=0]
sum v = (-245.9921769555506,-245.99263707959494,-245.99229063406636)
sum a = (-4.87890977618477e-19,1.3552527156068805e-19,-3.9302328752599536e-19)
sum e = 614.9771046889904
sum de = -2.9544509200229996e-18
Info: cfl dt = 12.502435326683461 cfl multiplier : 0.9999411908398571 [sph::Model][rank=0]
Info: processing rate infos : [sph::Model][rank=0]
---------------------------------------------------------------------------------------
| rank | rate (N.s^-1) | Nobj | t compute (s) | MPI | alloc | mem (max) |
---------------------------------------------------------------------------------------
| 0 | 4.5875e+03 | 246 | 5.362e-02 | 0 % | 1 % | 179.85 MB |
---------------------------------------------------------------------------------------
Info: estimated rate : 6713.360200325182 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 25 [SPH][rank=0]
Info: time since start : 43.952422104 (s) [SPH][rank=0]
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 2.4000000000000004, dt = 0.09999999999999964 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 246 min = 246 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 246 min = 246 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 246
max = 246
avg = 246
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.77 us (2.2%)
patch tree reduce : 1213.00 ns (0.2%)
gen split merge : 922.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1122.00 ns (0.2%)
LB compute : 466.81 us (94.8%)
LB move op cnt : 0
LB apply : 4.21 us (0.9%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.39 us (74.1%)
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.32774218784270714 unconverged cnt = 53
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.343573140831559 unconverged cnt = 10
Info: smoothing length iteration converged [Smoothinglength][rank=0]
eps min = 0, max = 3.849342176047899e-07
iterations = 3
Info: conservation infos : [sph::Model][rank=0]
sum v = (-166.99278662167782,-166.99320940422416,-166.99324858622313)
sum a = (1.6940658945086007e-19,-4.54009659728305e-19,5.149960319306146e-19)
sum e = 417.47924469434525
sum de = -2.1141942363467336e-18
Info: cfl dt = 12.481349233596474 cfl multiplier : 0.999960793893238 [sph::Model][rank=0]
Info: processing rate infos : [sph::Model][rank=0]
---------------------------------------------------------------------------------------
| rank | rate (N.s^-1) | Nobj | t compute (s) | MPI | alloc | mem (max) |
---------------------------------------------------------------------------------------
| 0 | 4.0551e+03 | 167 | 4.118e-02 | 0 % | 1 % | 179.85 MB |
---------------------------------------------------------------------------------------
Info: estimated rate : 8741.604932926484 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 26 [SPH][rank=0]
Info: time since start : 44.141932534000006 (s) [SPH][rank=0]
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 2.5, dt = 0.10000000000000009 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 167 min = 167 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 167 min = 167 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 167
max = 167
avg = 167
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.05 us (2.2%)
patch tree reduce : 1152.00 ns (0.3%)
gen split merge : 882.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1142.00 ns (0.2%)
LB compute : 435.32 us (94.7%)
LB move op cnt : 0
LB apply : 3.61 us (0.8%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 2.87 us (70.8%)
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.3058811268159916 unconverged cnt = 40
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.3364692394975908 unconverged cnt = 17
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.36630356642675027 unconverged cnt = 5
Info: smoothing length iteration converged [Smoothinglength][rank=0]
eps min = 0, max = 5.195240295790689e-07
iterations = 3
Info: conservation infos : [sph::Model][rank=0]
sum v = (-91.99460804607467,-91.99491947485237,-91.99457795712206)
sum a = (2.168404344971009e-19,1.7618285302889447e-19,2.0328790734103208e-19)
sum e = 229.98410556558173
sum de = 2.168404344971009e-19
Info: cfl dt = 12.1850822359298 cfl multiplier : 0.999973862595492 [sph::Model][rank=0]
Info: processing rate infos : [sph::Model][rank=0]
---------------------------------------------------------------------------------------
| rank | rate (N.s^-1) | Nobj | t compute (s) | MPI | alloc | mem (max) |
---------------------------------------------------------------------------------------
| 0 | 1.7603e+03 | 92 | 5.226e-02 | 0 % | 1 % | 179.85 MB |
---------------------------------------------------------------------------------------
Info: estimated rate : 6888.108117581847 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 27 [SPH][rank=0]
Info: time since start : 44.337838504000004 (s) [SPH][rank=0]
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 2.6, dt = 0.10000000000000009 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 92 min = 92 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 92 min = 92 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 92
max = 92
avg = 92
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 10.52 us (2.1%)
patch tree reduce : 1183.00 ns (0.2%)
gen split merge : 872.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1131.00 ns (0.2%)
LB compute : 486.06 us (95.1%)
LB move op cnt : 0
LB apply : 3.88 us (0.8%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.39 us (76.6%)
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.33322739338798624 unconverged cnt = 28
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.3665501327267849 unconverged cnt = 18
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.4032051459994634 unconverged cnt = 9
Info: smoothing length iteration converged [Smoothinglength][rank=0]
eps min = 0, max = 8.729084407800424e-07
iterations = 3
Info: conservation infos : [sph::Model][rank=0]
sum v = (-43.996389524961266,-43.996148049667234,-43.996195016207054)
sum a = (1.4907779871675686e-19,1.0842021724855044e-19,-1.6263032587282567e-19)
sum e = 109.9887327309434
sum de = 1.3552527156068805e-19
Info: cfl dt = 11.902519640066306 cfl multiplier : 0.9999825750636614 [sph::Model][rank=0]
Info: processing rate infos : [sph::Model][rank=0]
---------------------------------------------------------------------------------------
| rank | rate (N.s^-1) | Nobj | t compute (s) | MPI | alloc | mem (max) |
---------------------------------------------------------------------------------------
| 0 | 8.6765e+02 | 44 | 5.071e-02 | 0 % | 1 % | 179.85 MB |
---------------------------------------------------------------------------------------
Info: estimated rate : 7098.965674785385 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 28 [SPH][rank=0]
Info: time since start : 44.528963136 (s) [SPH][rank=0]
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
---------------- t = 2.7, dt = 0.10000000000000009 ----------------
Info: summary : [LoadBalance][rank=0]
Info: - strategy "psweep" : max = 44 min = 44 [LoadBalance][rank=0]
Info: - strategy "round robin" : max = 44 min = 44 [LoadBalance][rank=0]
Info: Loadbalance stats : [LoadBalance][rank=0]
npatch = 1
min = 44
max = 44
avg = 44
efficiency = 100.00%
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 11.21 us (2.3%)
patch tree reduce : 1443.00 ns (0.3%)
gen split merge : 882.00 ns (0.2%)
split / merge op : 0/0
apply split merge : 1112.00 ns (0.2%)
LB compute : 457.60 us (94.7%)
LB move op cnt : 0
LB apply : 3.59 us (0.7%)
Info: Scheduler step timings : [Scheduler][rank=0]
metadata sync : 3.13 us (75.0%)
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.3175808603008827 unconverged cnt = 11
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.34933894633097096 unconverged cnt = 11
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.3842728409640681 unconverged cnt = 11
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.42270012506047494 unconverged cnt = 11
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.46497013756652245 unconverged cnt = 8
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.5114671513231748 unconverged cnt = 7
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.5610681639786606 unconverged cnt = 3
Warning: smoothing length is not converged, rerunning the iterator ... [Smoothinglength][rank=0]
largest h = 0.609277261524694 unconverged cnt = 3
Info: smoothing length iteration converged [Smoothinglength][rank=0]
eps min = 0, max = 9.681678695688308e-08
iterations = 3
Info: conservation infos : [sph::Model][rank=0]
sum v = (-10.998438229211487,-10.998627137787167,-10.998397802857001)
sum a = (-6.776263578034403e-21,0,2.710505431213761e-20)
sum e = 27.495463315833934
sum de = -1.3552527156068805e-20
Info: cfl dt = 15.643421624235584 cfl multiplier : 0.9999883833757742 [sph::Model][rank=0]
Info: processing rate infos : [sph::Model][rank=0]
---------------------------------------------------------------------------------------
| rank | rate (N.s^-1) | Nobj | t compute (s) | MPI | alloc | mem (max) |
---------------------------------------------------------------------------------------
| 0 | 1.0733e+02 | 11 | 1.025e-01 | 0 % | 1 % | 179.85 MB |
---------------------------------------------------------------------------------------
Info: estimated rate : 3512.766554824736 (tsim/hr) [sph::Model][rank=0]
Info: iteration since start : 29 [SPH][rank=0]
Info: time since start : 44.769874744000006 (s) [SPH][rank=0]
Info: collected : 1 patches [PatchScheduler][rank=0]
adding -> xyz
adding -> vxyz
adding -> axyz
adding -> axyz_ext
adding -> hpart
adding -> uint
adding -> duint
adding -> alpha_AV
adding -> divv
adding -> dtdivv
adding -> curlv
adding -> soundspeed
Convert PNG sequence to Image sequence in mpl#
162 import matplotlib.animation as animation
163
164
165 def show_image_sequence(glob_str):
166
167 if render_gif and shamrock.sys.world_rank() == 0:
168
169 import glob
170
171 files = sorted(glob.glob(glob_str))
172
173 from PIL import Image
174
175 image_array = []
176 for my_file in files:
177 image = Image.open(my_file)
178 image_array.append(image)
179
180 if not image_array:
181 raise RuntimeError(f"Warning: No images found for glob pattern: {glob_str}")
182
183 pixel_x, pixel_y = image_array[0].size
184
185 # Create the figure and axes objects
186 # Remove axes, ticks, and frame & set aspect ratio
187 dpi = 200
188 fig = plt.figure(dpi=dpi)
189 plt.gca().set_position((0, 0, 1, 1))
190 plt.gcf().set_size_inches(pixel_x / dpi, pixel_y / dpi)
191 plt.axis("off")
192
193 # Set the initial image with correct aspect ratio
194 im = plt.imshow(image_array[0], animated=True, aspect="auto")
195
196 def update(i):
197 im.set_array(image_array[i])
198 return (im,)
199
200 # Create the animation object
201 ani = animation.FuncAnimation(
202 fig,
203 update,
204 frames=len(image_array),
205 interval=50,
206 blit=True,
207 repeat_delay=10,
208 )
209
210 return ani
211
212
213 # If the animation is not returned only a static image will be shown in the doc
214 glob_str = os.path.join(dump_folder, f"{sim_name}_*.png")
215 ani = show_image_sequence(glob_str)
216
217 if render_gif and shamrock.sys.world_rank() == 0:
218 # To save the animation using Pillow as a gif
219 # writer = animation.PillowWriter(fps=15,
220 # metadata=dict(artist='Me'),
221 # bitrate=1800)
222 # ani.save('scatter.gif', writer=writer)
223
224 # Show the animation
225 plt.show()
Total running time of the script: (0 minutes 11.350 seconds)
Estimated memory usage: 63 MB