com1DFA.particleTools.mergePartArea

mergePartArea(particles, cfg, dem)[source]

merge small particles

merge particles to avoid too many particles within the kernel radius. place the new merge particle between the two old ones. The new position and velocity are the mass averaged ones

Parameters
  • particles (dict) – particles dictionary

  • cfg (configParser) – GENERAL configuration for com1DFA

  • dem (dict) – dem dictionary

Returns

particles – particles dictionary

Return type

dict