[OpenFOAM] How to calculate the particles number by paraview?

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 May 10, 2016, 06:25 How to calculate the particles number by paraview? #1 Member   Ping Chang Join Date: Feb 2016 Location: Perth Posts: 93 Rep Power: 8 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.

 May 17, 2016, 05:22 #2 Member   Brian Willis Join Date: Mar 2011 Location: Cape Town, South Africa Posts: 58 Rep Power: 13 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

May 18, 2016, 00:21
#3
Member

Ping Chang
Join Date: Feb 2016
Location: Perth
Posts: 93
Rep Power: 8
Quote:
 Originally Posted by Dipsomaniac 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
Hi, Brian
I have already found that function. Anyway, thank you very much.

Kind Regards,
PING

 January 5, 2017, 12:42 #4 New Member   Alberta Join Date: Aug 2016 Posts: 3 Rep Power: 8 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

April 7, 2017, 21:19
#5
Member

Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 10
Quote:
 Originally Posted by Ela89 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
Hi Alberta,

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

April 7, 2017, 21:22
#6
Member

Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 10
Quote:
 Originally Posted by chpjz0391 Hi, Brian I have already found that function. Anyway, thank you very much. Kind Regards, PING
Hi Ping,

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

 April 10, 2017, 12:32 #7 New Member   Alberta Join Date: Aug 2016 Posts: 3 Rep Power: 8 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

 June 7, 2020, 17:37 #8 Member   Jairo A. Gutiérrez S Join Date: Nov 2014 Posts: 50 Rep Power: 10 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 ); CFD-HSNR likes this.

June 15, 2022, 02:43
#9
New Member

RAJ GAURAV
Join Date: Mar 2022
Location: NIT MANIPUR
Posts: 4
Rep Power: 2
Quote:
 Originally Posted by chpjz0391 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.
Dear Sir, how did you define the bins manually? I am using the same solver in OF.

 Thread Tools Search this Thread Search this Thread: Advanced Search Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are Off Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Srinath Reddy OpenFOAM Running, Solving & CFD 13 February 27, 2019 10:15 aylalisa OpenFOAM Installation 23 June 15, 2015 15:49 Shogan FLUENT 1 May 28, 2014 16:03 [blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 08:36 welch FLUENT 1 November 1, 2005 06:11

All times are GMT -4. The time now is 17:17.

 Contact Us - CFD Online - Privacy Statement - Top