Dear all,
Recently,i want to use particles to trace my compositional elements. I ran this program on two identical servers, both using 40,000,000 particles. The only difference is in the parameter set Cells along circumference
, where one used the default value of 12 and the other used 4. The error occurs in the program that used the value of 4. What could be the reason for this error, and how can it be resolved?
@SunnyQbang - I’m not sure as the exact reason this error is appearing, but the first thing that stands out is 40 millions particles is quite a large number when there are only 4 cells along along the circumference of the model.
How many cells are there total in your model and what are the other settings related to particles in your prm file?
Perhaps the issue is arising when there is a very large number of particles in each cell (usually this number is on the order of 10s-100s)?
Cheers,
John
@SunnyQbang I bet this is happening because you are running out of memory. Can you run the program top
(or some other way of monitoring how much memory ASPECT is using) in a separate window and see how much memory is being used in the 11 time steps before? Then compare that with the total amount of memory you have on that machine. My best guess is that in time step 12, you finally cross the limit of using too much memory, and this error is just a symptom.
Best
W.
PS: Would you mind also showing us the remainder of the error message, after the lines numbered as #0
, #1
, and #2
?
sir,I am so sorry for delayed response.
I believe you are correct; it’s possible that when the number of particles within a unit becomes too large, the memory on my server is insufficient, which leads to this kind of error. I am sorry, sir, but my server is currently running my model, so I can’t stop it right now to test the memory comparison between steps 11 and 12 as you suggested. However, there is still one thing I don’t quite understand: as my model continues to run, the number of particles decreases. Could you please explain why this happens?Thank you for your reply!Best wishes!
sir,l am so sorry for delayed response.ln my current model, the global refinement is set to 6, adaptive refinementto 3, and the aspect ratio is 12, and l no longer encounter this error. l completely understand what you meansuch an issue may occur when the number of particles in a single cell becomes too large if i set the aspect ratio 4.The other particle settings in my prm file are shown in the attachment. Thank you for your reply! Best wishes!