|
[Sponsors] |
[DPM-UDF] Re-injecting escaping particles at different position |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 10, 2017, 06:12 |
[DPM-UDF] Re-injecting escaping particles at different position
|
#1 |
Senior Member
Cees Haringa
Join Date: May 2013
Location: Delft
Posts: 607
Rep Power: 0 |
Dear all,
I am currently modeling a system with an external pumped cooling loop. I have no need to model the loop itself explicitly, so it's included as an inlet/outlet system with a forced flowrate. I add massless particles to my system to represent micro-organisms living inside the tank, which have to be tracked for long timespans. These particles can physically enter the cooling loop, and should not leave the system. Hence, I'm aiming to re-inject the particles that leave the outlet at the inlet of the system, to allow for this prolonged tracking without having to resolve the flow-loop completely. However, I have trouble finding a proper solution to this. Conceptually, I recognize the following possibilities [with issue in brackets]: DPM_BC at outlet, X particles leave at time t--> surface injection or group injection of X particles at the inlet [but I can not dynamically control the number of streams X in either case] DPM_BC at outlet, re-inject particles via a file [but this requires dynamic updating of the file to adapt the number of particles, and seems to be a rather slow option computationally as such] Change TP_POS(tp) and TP_VEL(tp) for particles close to the outlet, to "teleport" them to the inlet [but this simply doesn't seem to work - the position is not changeable directly] Do any of you have any (conceptual) solutions to this problem? Best regards, Cees |
|
May 13, 2020, 07:47 |
|
#2 | |
New Member
Ullas P K
Join Date: Jan 2017
Posts: 10
Rep Power: 9 |
Quote:
Did you find an answer to this. I am also trying to get an idea regarding the same. It would be helpful if anyone can suggest some methods. Thanks in advance |
||
May 13, 2020, 08:12 |
Simulation
|
#3 |
Senior Member
|
It depends on whether the simulation is steady or transient. If it is steady, then it does not really make sense to transfer particles from the outlet to the inlet. If it is transient, then it does make sense because number of particles will increase slowly. However, since the particles are massless, they do not add any value. So, 100 particles or 1000 particles are all the same. Except that you will be able to see 1000 particle tracks.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
May 13, 2020, 10:30 |
|
#4 | |
New Member
Ullas P K
Join Date: Jan 2017
Posts: 10
Rep Power: 9 |
Quote:
|
||
May 13, 2020, 10:34 |
Objective
|
#5 |
Senior Member
|
Why do you want particles to recirculate? It's the objective of doing this that defines the approach to be used.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
May 13, 2020, 11:06 |
|
#6 |
New Member
Ullas P K
Join Date: Jan 2017
Posts: 10
Rep Power: 9 |
I am actually working on air purification. So I am passing the air with particles through a filter and the remaining particles which escaped through the outlet need to be recirculated. Thanks in advance
|
|
May 13, 2020, 11:16 |
Define_dpm_bc
|
#7 |
Senior Member
|
You can use UDF, DEFINE_DPM_BC. It acts on those particles that hit a particular boundary where the function is hooked. Within this UDF, you can change the positions of all the particles to their initial injection position. Look at
https://www.afs.enea.it/project/nept...udf/node66.htm
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
May 13, 2020, 11:34 |
|
#8 | |
New Member
Ullas P K
Join Date: Jan 2017
Posts: 10
Rep Power: 9 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
initialize particles position in kinematiccloudpositions | chpjz0391 | OpenFOAM Running, Solving & CFD | 1 | May 25, 2020 04:26 |
[DPM problem] infinite particles loop in domain (twin cyclone - double cyclone)) | ghost82 | FLUENT | 6 | May 19, 2020 15:19 |
export a position contour on a surface for tracked particles | tsh850227 | CFX | 0 | April 14, 2016 04:30 |
Accessing the position and diameter of lagrangian particles | ahcai007 | OpenFOAM Programming & Development | 3 | March 31, 2014 20:22 |
DPM UDF particle position using the macro P_POS(p)[i] | dm2747 | FLUENT | 0 | April 17, 2009 02:29 |