|
[Sponsors] |
July 13, 2022, 19:04 |
|
#61 |
Member
Join Date: May 2022
Posts: 61
Rep Power: 3 |
Zoomed in pressure: https://i.imgur.com/fGsmLQF.mp4
Zoomed in velocity: https://i.imgur.com/qaWtUrp.mp4 |
|
July 13, 2022, 19:13 |
|
#62 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,719
Rep Power: 143 |
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. |
|
July 13, 2022, 21:39 |
|
#63 | |
Member
Join Date: May 2022
Posts: 61
Rep Power: 3 |
Quote:
any suggestion on how do I count the particles collision? best regards |
||
July 13, 2022, 21:52 |
|
#64 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,719
Rep Power: 143 |
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. |
|
July 13, 2022, 22:00 |
|
#65 | |||
Member
Join Date: May 2022
Posts: 61
Rep Power: 3 |
Quote:
+--------------------------------------------------------------------+ | 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:
Quote:
thank you for your inputs once again |
||||
July 13, 2022, 23:49 |
|
#66 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,719
Rep Power: 143 |
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. |
|
July 14, 2022, 05:46 |
|
#67 | |
Member
Join Date: May 2022
Posts: 61
Rep Power: 3 |
Quote:
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" ? |
||
July 17, 2022, 21:34 |
|
#68 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,719
Rep Power: 143 |
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. |
|
July 18, 2022, 06:10 |
|
#69 |
Member
Join Date: May 2022
Posts: 61
Rep Power: 3 |
how do i exclude the ones that are still travelling?
|
|
July 18, 2022, 21:07 |
|
#70 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,719
Rep Power: 143 |
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. |
|
July 19, 2022, 05:16 |
|
#71 |
Member
Join Date: May 2022
Posts: 61
Rep Power: 3 |
||
July 19, 2022, 19:14 |
|
#72 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,719
Rep Power: 143 |
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. |
|
July 19, 2022, 20:52 |
|
#73 |
Member
Join Date: May 2022
Posts: 61
Rep Power: 3 |
||
July 19, 2022, 20:55 |
|
#74 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,719
Rep Power: 143 |
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.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
July 19, 2022, 20:56 |
|
#75 | |
Member
Join Date: May 2022
Posts: 61
Rep Power: 3 |
Quote:
|
||
July 19, 2022, 21:46 |
|
#76 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,719
Rep Power: 143 |
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
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
August 16, 2022, 11:03 |
|
#77 | |
Member
Join Date: May 2022
Posts: 61
Rep Power: 3 |
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:
thanks! feedbacks will be appreciated! especially from you, Glenn! |
||
August 16, 2022, 18:33 |
|
#78 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,719
Rep Power: 143 |
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.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
August 21, 2022, 12:38 |
|
#79 | |
Member
Join Date: May 2022
Posts: 61
Rep Power: 3 |
Quote:
|
||
February 8, 2023, 15:20 |
|
#80 | |
Member
Join Date: May 2022
Posts: 61
Rep Power: 3 |
Quote:
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 |
||
|
|
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 |