|
[Sponsors] |
[OpenFOAM] How to calculate the particles number by paraview? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 10, 2016, 05:25 |
How to calculate the particles number by paraview?
|
#1 |
Member
Ping Chang
Join Date: Feb 2016
Location: Perth
Posts: 93
Rep Power: 10 |
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, 04:22 |
|
#2 |
Member
Brian Willis
Join Date: Mar 2011
Location: Cape Town, South Africa
Posts: 58
Rep Power: 15 |
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 17, 2016, 23:21 |
|
#3 | |
Member
Ping Chang
Join Date: Feb 2016
Location: Perth
Posts: 93
Rep Power: 10 |
Quote:
I have already found that function. Anyway, thank you very much. Kind Regards, PING |
||
January 5, 2017, 11:42 |
|
#4 |
New Member
Alberta
Join Date: Aug 2016
Posts: 3
Rep Power: 9 |
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, 20:19 |
|
#5 | |
Member
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 11 |
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 |
||
April 7, 2017, 20:22 |
|
#6 |
Member
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 11 |
||
April 10, 2017, 11:32 |
|
#7 |
New Member
Alberta
Join Date: Aug 2016
Posts: 3
Rep Power: 9 |
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, 16:37 |
|
#8 |
Member
Jairo A. Gutiérrez S
Join Date: Nov 2014
Posts: 57
Rep Power: 11 |
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 ); |
|
June 15, 2022, 01:43 |
|
#9 | |
New Member
RAJ GAURAV
Join Date: Mar 2022
Location: NIT MANIPUR
Posts: 4
Rep Power: 4 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to determine the number of particles injected. | welch | FLUENT | 2 | January 18, 2024 04:08 |
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 |