CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Particles captured on walls

Register Blogs Community New Posts Updated Threads Search

Like Tree21Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 13, 2022, 19:04
Default
  #61
Member
 
Join Date: May 2022
Posts: 61
Rep Power: 3
lgtmelo is on a distinguished road
Zoomed in pressure: https://i.imgur.com/fGsmLQF.mp4


Zoomed in velocity: https://i.imgur.com/qaWtUrp.mp4
lgtmelo is offline   Reply With Quote

Old   July 13, 2022, 19:13
Default
  #62
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,719
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You can see the velocity field flapping about. So it definitely is transient. Whether that transient nature is significant for your model is another question, but the flow definitely has a major transient feature.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   July 13, 2022, 21:39
Default
  #63
Member
 
Join Date: May 2022
Posts: 61
Rep Power: 3
lgtmelo is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
You can see the velocity field flapping about. So it definitely is transient. Whether that transient nature is significant for your model is another question, but the flow definitely has a major transient feature.
thanks Glenn

any suggestion on how do I count the particles collision?

best regards
lgtmelo is offline   Reply With Quote

Old   July 13, 2022, 21:52
Default
  #64
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,719
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I use the particle fate summary at the end of the simulation. You can also use the per-time step summaries as well. But if you run it transient you are going to have to run it for quite a while before enough particles go through for you to have reasonable statistics.

But note that the particle trapping performance might not be affected by the transient nature of the flow. If a steady state particle tracking model gives the same answers as a transient particle tracking model despite the transient flow then a steady state particle track model will be OK. And that will be orders of magnitude faster to run.

A final comment - have you considered using a Eularian particle tracking for for this rather than a Lagrangian one? If you only have one particle size and type the Eularian model can be quite efficient.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   July 13, 2022, 22:00
Default
  #65
Member
 
Join Date: May 2022
Posts: 61
Rep Power: 3
lgtmelo is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
I use the particle fate summary at the end of the simulation. You can also use the per-time step summaries as well. But if you run it transient you are going to have to run it for quite a while before enough particles go through for you to have reasonable statistics.
I did that when it was steady state, but now as transient it is confusing to me. this is the last particle fate summary:

+--------------------------------------------------------------------+
| Particle Fate Diagnostics |
+--------------------------------------------------------------------+
| Particle type | Fate type Particles |
+--------------------------------------------------------------------+
| BACTERIA | Entered domain : 5 |
| | Continue from last time step : 5745 |
| | Left domain : 1 |
| | Collected on walls : 2 |
| | Waiting for next time step : 5747 |
+--------------------------------------------------------------------+






Quote:
Originally Posted by ghorrocks View Post
But note that the particle trapping performance might not be affected by the transient nature of the flow. If a steady state particle tracking model gives the same answers as a transient particle tracking model despite the transient flow then a steady state particle track model will be OK. And that will be orders of magnitude faster to run.
I don't know much, but considering the flow only has the "dancing" after the infill, it seems steady state would be fine to me, as all that matter is up to the infill... how do I run the steady state model when it should be transient then?

Quote:
Originally Posted by ghorrocks View Post
A final comment - have you considered using a Eularian particle tracking for for this rather than a Lagrangian one? If you only have one particle size and type the Eularian model can be quite efficient.
I haven't, I went straight to Lagrangian because from what I read, it would be more reliable as it tracks each particle individually.


thank you for your inputs once again
lgtmelo is offline   Reply With Quote

Old   July 13, 2022, 23:49
Default
  #66
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,719
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Make sur eyou understand what the categories are:

Continue from last time step : These are the number of particles in the flow and carrying over from the previous time step.

Left domain : These are the particle which exitted the domain, probably via the outlet.

Collected on walls : Obvious

Waiting for next time step : These particles are still in the domain at the end of the time step, so they will become "Continue from last time step" in the next time step.

Also note that if your domain is 1m long, with a velocity of 1m/s and 1E-6s time steps it will take 1000000 time steps for a particle to get from the inlet to outlet. This is no doubt what is happening in your case - you just need to wait longer.

The dancing as it exits the infill (which is clearly visible) means there might be dancing inside the infill which you cannot see. The stuff inside the infill might be important for particle deposition.

Definitely look at Eularian particle tracking. In many cases it is faster and more accurate than Lagrangian.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   July 14, 2022, 05:46
Default
  #67
Member
 
Join Date: May 2022
Posts: 61
Rep Power: 3
lgtmelo is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Also note that if your domain is 1m long, with a velocity of 1m/s and 1E-6s time steps it will take 1000000 time steps for a particle to get from the inlet to outlet. This is no doubt what is happening in your case - you just need to wait longer.

but if i wait longer, more particles are injected, and ill never have a definite number of particles to analyze. there will always be particles in between the boundaries (didnt reach an "exit" yet). can I exclude these from the count so I'll know something like "out of X particles from INLET, Y were captured in the infill and Z went ahead to outlet" ?
lgtmelo is offline   Reply With Quote

Old   July 17, 2022, 21:34
Default
  #68
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,719
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Yes, you only count the particles which are relevant to what you are trying to measure.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   July 18, 2022, 06:10
Default
  #69
Member
 
Join Date: May 2022
Posts: 61
Rep Power: 3
lgtmelo is on a distinguished road
how do i exclude the ones that are still travelling?
lgtmelo is offline   Reply With Quote

Old   July 18, 2022, 21:07
Default
  #70
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,719
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
By excluding the ones labelled as "Waiting for next time step".
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   July 19, 2022, 05:16
Default
  #71
Member
 
Join Date: May 2022
Posts: 61
Rep Power: 3
lgtmelo is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
By excluding the ones labelled as "Waiting for next time step".
but how? the only way to filter I found was to select the ones that exit by each boundary.
lgtmelo is offline   Reply With Quote

Old   July 19, 2022, 19:14
Default
  #72
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,719
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Are you using the output file to get your particle fates or CFD-Post? I get it from the output file as it is much easier.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   July 19, 2022, 20:52
Default
  #73
Member
 
Join Date: May 2022
Posts: 61
Rep Power: 3
lgtmelo is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Are you using the output file to get your particle fates or CFD-Post? I get it from the output file as it is much easier.
hey glenn!

ive been using post, but i can switch to output. any tips?
lgtmelo is offline   Reply With Quote

Old   July 19, 2022, 20:55
Default
  #74
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,719
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I am doing some work on particle capturing as well at the moment. I found the easiest way to get particle fates is to parse the output file. I have a python script which extracts the particle fates from the output file - so no need to fire up the post processor at all.
lgtmelo likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   July 19, 2022, 20:56
Default
  #75
Member
 
Join Date: May 2022
Posts: 61
Rep Power: 3
lgtmelo is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
I am doing some work on particle capturing as well at the moment. I found the easiest way to get particle fates is to parse the output file. I have a python script which extracts the particle fates from the output file - so no need to fire up the post processor at all.
can you share the script?
lgtmelo is offline   Reply With Quote

Old   July 19, 2022, 21:46
Default
  #76
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,719
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
It has been archived so will take me a bit to get it back. But it is very simple, just open the file and use a regular expression to find the right bit of the output file (or even just a simple text.split() command) to extract the text.

If you have not programmed in python before then this is a good introductory example to start with
lgtmelo likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   August 16, 2022, 11:03
Default
  #77
Member
 
Join Date: May 2022
Posts: 61
Rep Power: 3
lgtmelo is on a distinguished road
hi everyone, just wanted to give some updates and show some appreciation for all the help i got here

so i finished running a 30s simulation - long enough to have reasonable statistics -, and then I built two parsers to get the information i needed.

this is the graph i made from the output from solver:

glenn.png

and this is the info I got from the PT.trk file:
Quote:
Particles shot: 29885

In transit/recirculation: 6447
Before infill: 3721
After infill: 2726

Finalized: 23438
Captured in infill: 10168 (43.38%)
Left domain: 13270 (56.62%)
I can upload the .py if anyone wants

thanks!


feedbacks will be appreciated! especially from you, Glenn!
lgtmelo is offline   Reply With Quote

Old   August 16, 2022, 18:33
Default
  #78
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,719
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Make sure you are OK with those "exceeded time limit" particles. They are probably stuck in a recirculation - so if you want to know what happens to them you will need to make the particle time limits longer. If you are not interested in these longer lived particles then don't worry about it.
lgtmelo likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   August 21, 2022, 12:38
Default
  #79
Member
 
Join Date: May 2022
Posts: 61
Rep Power: 3
lgtmelo is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Make sure you are OK with those "exceeded time limit" particles. They are probably stuck in a recirculation - so if you want to know what happens to them you will need to make the particle time limits longer. If you are not interested in these longer lived particles then don't worry about it.
thanks, just increased particle time limit and i like the result accuracy better now. no more time limit exceeded
lgtmelo is offline   Reply With Quote

Old   February 8, 2023, 15:20
Default
  #80
Member
 
Join Date: May 2022
Posts: 61
Rep Power: 3
lgtmelo is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Then do a quick calc to see if the filter flow is turbulent: You say the diameter is ~3mm, and look at your simulations to see a typical velocity in them (or estimate the velocity if you can). Then you can get a representative Reynolds Number for the flow in the filter.

(But I know the answer already from experience: If the main flow is laminar then the flow in this infill is going to be laminar as well. This means you can turn off the turbulence model and just model it as laminar, and the turbulent dispersion force option is not available. This will greatly simplify your model.)
Dear Glenn, its been a long time

I am working on this model again, and I'd like to understand this quote: "If the main flow is laminar then the flow in this infill is going to be laminar as well". Is this empirical or is there any justification behind it?

All the best,

Leo
lgtmelo is offline   Reply With Quote

Reply


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
DEM Particles protruding through walls connor.dio12 STAR-CCM+ 1 March 2, 2023 10:29
dsmcFoam setup hherbol OpenFOAM Pre-Processing 1 November 19, 2021 01:52
UDF for deleting particles in DPM imanmirzaii Fluent UDF and Scheme Programming 12 November 25, 2020 19:27
Boundary Conditions k-omega-SST with slip walls shock77 OpenFOAM Running, Solving & CFD 6 October 23, 2020 16:57
[DPM-UDF] Re-injecting escaping particles at different position CeesH Fluent UDF and Scheme Programming 7 May 13, 2020 10:34


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