How to calculate the particles number by paraview?
Hi all,
Recently, I used simplereactingparcleFoam to simulate the particle problem. The simulation run well, however, I have a small question. How can I calculate the particles number in a specified area of the mesh after simulation? In my simulation, I have two different sized particles, can I calculate the number for each size particles? Am I able to use the preview to achieve these goals? Thanks. |
Hi Ping
In paraview, if you select a region of interest, then use use the histogram function and define the bins manually for your particle sizes of interest, you should be able to count them, and extract the data. Regards, brian |
Quote:
I have already found that function. Anyway, thank you very much. Kind Regards, PING |
Hi Brian,
I tried the method you said for counting particles. However, I'm only able to see the number of particles in my region of interest in a certain time step. Is there a way to count the total number of particles in a region throughout my whole simulation? (basically, I'm trying to find out the total number of particles that impact a particular surface). Regards, Ela |
Quote:
Did you find solutions to your problem? I am facing exactly the same situation and I am in desperate need of your hints. Thank you in advance. Best, Karekle |
Quote:
I would like to know which function you used. Could you share your method in a more specific way here so that it can help others? Thanks. Best, Karelke |
Hi Karekle,
For counting the total number of particles that impact a particular surface, in "kinematicCloudProperties" I changed "localInteractionCoeffs" from rebound to stick for that particular surface. Then in the log file, I could see the number and mass of the particles that impact (i.e. stick to) that particular surface at different time steps. You should check to see if changing from rebound to stick doesn't impact your simulation results. In my case it didn't change the results I was interested in. Ela |
Sticking the particles might change the overall statistics. Better use patchPostProcessing in cloudFunctions
patchPostProcessing { type patchPostProcessing; functionObjectLibs ("libcloudFunctionObjects.so"); // Optional new entry fields (age d nParticle); maxStoredParcels 2000; patches ( wallsNoSlip ); |
Quote:
|
All times are GMT -4. The time now is 00:35. |