CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

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

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By chpjz0391

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 10, 2016, 05:25
Default How to calculate the particles number by paraview?
  #1
Member
 
Ping Chang
Join Date: Feb 2016
Location: Perth
Posts: 93
Rep Power: 6
chpjz0391 is on a distinguished road
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.
chpjz0391 is offline   Reply With Quote

Old   May 17, 2016, 04:22
Default
  #2
Member
 
Brian Willis
Join Date: Mar 2011
Location: Cape Town, South Africa
Posts: 58
Rep Power: 11
Dipsomaniac is on a distinguished road
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
Dipsomaniac is offline   Reply With Quote

Old   May 17, 2016, 23:21
Default
  #3
Member
 
Ping Chang
Join Date: Feb 2016
Location: Perth
Posts: 93
Rep Power: 6
chpjz0391 is on a distinguished road
Quote:
Originally Posted by Dipsomaniac View Post
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
Dipsomaniac likes this.
chpjz0391 is offline   Reply With Quote

Old   January 5, 2017, 11:42
Default
  #4
New Member
 
Alberta
Join Date: Aug 2016
Posts: 3
Rep Power: 5
Ela89 is on a distinguished road
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
Ela89 is offline   Reply With Quote

Old   April 7, 2017, 20:19
Default
  #5
Member
 
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 7
cfdopenfoam is on a distinguished road
Quote:
Originally Posted by Ela89 View Post
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
cfdopenfoam is offline   Reply With Quote

Old   April 7, 2017, 20:22
Default
  #6
Member
 
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 7
cfdopenfoam is on a distinguished road
Quote:
Originally Posted by chpjz0391 View Post
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
cfdopenfoam is offline   Reply With Quote

Old   April 10, 2017, 11:32
Default
  #7
New Member
 
Alberta
Join Date: Aug 2016
Posts: 3
Rep Power: 5
Ela89 is on a distinguished road
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
Ela89 is offline   Reply With Quote

Old   June 7, 2020, 16:37
Default
  #8
New Member
 
Jairo A. Gutiérrez S
Join Date: Nov 2014
Posts: 22
Rep Power: 7
jairoandres is on a distinguished road
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

);
jairoandres is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
parallel run OpenFoam Srinath Reddy OpenFOAM Running, Solving & CFD 13 February 27, 2019 09:15
[OpenFOAM.org] OF2.3.1 + OS13.2 - Trying to use the dummy Pstream library aylalisa OpenFOAM Installation 23 June 15, 2015 14:49
Cluster ID's not contiguous in compute-nodes domain. ??? Shogan FLUENT 1 May 28, 2014 15:03
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 07:36
how to determine the number of particles injected. welch FLUENT 1 November 1, 2005 05:11


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