# 1. Load the size-relevant particle data for the first time step Bounds_t0, Diameter_t0, Density_t0, Mass_t0, GlobalID_t0 = CG.data_sampling() # 2. Calculate the particle size range d43, d32 = CG.get_particle_size_statistics(Diameter_t0, Mass_t0) # 3. Get the phases CG.get_particle_phases(Diameter_t0, Density_t0, GlobalID_t0, 8) # 4. Calculate the CG mesh spacing CG.set_resolution(d43) # can input different number # 5. Generate the CG mesh CG.generate_grid() # 6. Calculate the CG fields CG.fields_in_time()