|
[Sponsors] |
Particle Field Variables in Lagrangian Particle Tracking - CFX |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 27, 2022, 05:29 |
Particle Field Variables in Lagrangian Particle Tracking - CFX
|
#1 |
New Member
Majeed
Join Date: Feb 2017
Posts: 6
Rep Power: 9 |
Hi all,
I am working on droplet transmission from human exhalation in a room using Lagrangian Particle Tracking (LPT) with evaporation model. Both steady state and transient simulations ran well without error. However, I'm having issues extracting the particle variables (diameter, number rate, temperature, velocity, components' mass fraction, etc) at any point (spatially) within the room. From CFX documentation, particle variables in LPT can be track variables or field variables and that spatial values of particle information are captured with particle field variables. Unfortunately, I've been unable to get these variables for any points in the domain. I am wondering if anyone have worked on LPT in CFX and how the particle field variables are extracted. Thanks in anticipation of your feedback. |
|
May 27, 2022, 16:23 |
|
#2 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,929
Rep Power: 28 |
I have done multiple simulations using LPT don't recognize the problems you noticed. Have you tried opening, the results in Post and plot the tracks? Then you have positions and properties. So, I don't see the problem, or I don't understand what your real problem is.
|
|
May 30, 2022, 12:40 |
|
#3 | |
New Member
Majeed
Join Date: Feb 2017
Posts: 6
Rep Power: 9 |
Quote:
Thanks for your reply. It is interesting to note that you have done many LPT simulations without noticing the problems I have noticed. What type of problems (geometry, inlet, etc)? As mentioned before, I am working with a room model of a room with an occupant lying on a bed with face upward. The room has inlet and outlet with additional inlet for breathing through mouth. Particle in injected into the domain through the mouth. The model runs fine without error. When the results is opened in CFD Post, I can visualize the particle track variables by enabling the "Res PT for Droplet Mixture" (the particle material is defined as "Droplet Mixture"). My main interest is to be able to get quantitative particle variables (e.g. particle diameter, particle number rate, droplet component mass fraction, etc) at different points of interest (say P1, P2, P3, etc). However, attempts to get such data at different points has not been successful. Your help is highly appreciated. It may also be of help to share what you have done in your simulations. Thanks, Majeed |
||
May 30, 2022, 19:38 |
|
#4 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,929
Rep Power: 28 |
What is P1, P2 & P3? Are these points somewhere in your geometry? Then you indeed might have a problem. Because the particles are discrete and the air is a continuum. So if you determine continuum variables in a point, like pressure then you always get a number, but with discrete particles, you would be very lucky to have the particle on exactly that location. Unless you have as many particles as molecules. Sure you don't do that.
There are two options. 1. In Pre, go to Output Control > Export results. There you can tell the solver to export particle data when particles hit a certain boundary. This can be the hand of the body, its nose, feet, the floor, outlet, ceiling, etc. You can select any surface aith a unique name. 2. In Pre, go to Output Control > Results. There you can select "Extra Output Variables List". Look for e.g. <Name of particle>.Averaged Mass Fraction Then averaged particle data is transferred from the discrete particle phase to the continuum phase. In this way you can read it out in your points. The value you get is the value that is stored in the numerical element of the continuum phase where your point is. It is therefore quite grid dependent. The value is the average af all particles (small, large) in that numerical element. |
|
May 30, 2022, 19:56 |
|
#5 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144 |
This is starting to sound like an application where Eulerian particle tracking might work better. This will give you the particle field variables directly as that is what it models, and the Eulerian approach is often better when to get good statistical results the number of Lagrangian particle tracks is overwhelming.
Have you considered Eulerian particle tracking?
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
May 31, 2022, 04:46 |
|
#6 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,929
Rep Power: 28 |
Agree, Eulerian is also a good option, but if you have a huge range in particle size, then I consider Lagrangian particle tracking more convenient since it is easy to specify a distirbution. Also, you can do this one-way coupling, when the flow field is finished, making the calculation time limited.
With Eulerian, it is necessary to create a phase for every range in particle size of interest. If you need 10 ranges to cover the distribution, you need to solve 10 extra equations from the start. That takes more time, memory and disk space. But it is doable, certainly. If you go for this option, then use double precision, since your massfraction might be very low (1e-20) far away from the source. |
|
May 31, 2022, 06:13 |
|
#7 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144 |
There is also the Algebraic slip model which vastly simplifies things (if its inherent assumptions are appropriate) and MUSIG models to handle a range of droplet sizes rather than just a single one. There are lots of ways to improve the performance of the Eulerian particle model.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
May 31, 2022, 14:27 |
|
#8 | |
New Member
Majeed
Join Date: Feb 2017
Posts: 6
Rep Power: 9 |
Quote:
Cheers |
||
May 31, 2022, 14:28 |
|
#9 | |
New Member
Majeed
Join Date: Feb 2017
Posts: 6
Rep Power: 9 |
Quote:
Thanks for your reply and useful insights. Yes, Points P1, P2, & P3 are points within the geometry. They are defined as monito points (Output Control > Monitor > Add new item > [Set Name] > OK > Option > Catersian Coordinates). On your first suggested option (i.e., Output Control > Export results), in my model setup, I didn't consider the Export results option as, similar to Particle Histograms, it based on surfaces and not monitor points within the domain. From your experience, is it possible to create a small surface rather than monitor points for the export results and/or particle histogram? On the second option (i.e., Output Control > Results > Enable Extra Output Variable > Select Output Var. List). First I need a clarification on this. A similar setting is available under the Trn Results Tab of Output Control (Transient Results 1 > Option > Selected Variables > Output Variable List). Should both settings be made (in case of transient simulation) under Results and Trn Results Tab by selecting the same type of additional variables? In the model setup, I selected the same additional variables under both Tabs (Results and Trn Results). Then, while defining the monitor points (P1, P2, & P3), I added the ouput varaibles defined under the Results/Trn Results Tab to the "Output Variable List" field of the monitor points. This is done with the understanding that the selected variables under "Results Tab" are particle field variables that can be monitored (according to CFX Pre documentation). Are these correct? If YES, why are the monitor points returning zero for all the selected particle variables? Once again, thanks for your help. |
||
May 31, 2022, 14:49 |
|
#10 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,929
Rep Power: 28 |
You cannot monitor LPT data during the run on points P1, P2, etc. The LPT data is discrete, the monitoring points look for continuum variables.
Monitoring LPT averaged data in a transient run ...... I don't know. I have no experience. Better save data to trn files and do the transient postprocessing in Post. Or do the Eulerian approach in double precision. |
|
May 31, 2022, 14:51 |
|
#11 | |
New Member
Majeed
Join Date: Feb 2017
Posts: 6
Rep Power: 9 |
Quote:
|
||
Tags |
cfx, lagrange particle, particle data |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Doubts related to LPT (Lagrangian Particle Tracking / CFD-DEM) | sourav90 | Main CFD Forum | 0 | September 6, 2021 09:08 |
Lagrangian particle tracking cannot be run in parallel for the cases with AMI patches | Armin.Sh | OpenFOAM Running, Solving & CFD | 7 | March 28, 2021 23:33 |
Eulerian Multiphase Model vs Lagrangian Particle Tracking | ajjadhav | CFX | 14 | December 7, 2020 17:22 |
Lagrangian particle tracking and cell size | Julian K. | CFX | 4 | May 27, 2014 12:35 |
Ubuntu 12.10 + openfoam2.2.0 ==> paraview error message | peteryuan | OpenFOAM Installation | 6 | August 18, 2013 19:00 |