|
[Sponsors] |
May 12, 2015, 11:35 |
UDF in DPM+Eulerian multiphase
|
#1 |
Senior Member
Cees Haringa
Join Date: May 2013
Location: Delft
Posts: 607
Rep Power: 0 |
dear all,
I'm writing a DPM_SCALAR_UPDATE to use in an Euler-Euler-Lagrange simulation. Several terms in my UDF reference liquid properties, and because of the multiphase domain I assume I have to call the proper phase thread in order for the UDF to work. However, I'm a bit lost on how to do that. For example, when I use DPM in combination with a single liquid phase, I can use Code:
C_R(c,tr) Thanks in advance! Best regards, Cees |
|
May 13, 2015, 05:28 |
|
#2 |
Senior Member
Cees Haringa
Join Date: May 2013
Location: Delft
Posts: 607
Rep Power: 0 |
THREAD_SUB_THREAD(t,0) - got it
|
|
May 15, 2015, 04:02 |
|
#3 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
And to be more complete for other people who might find this using google, since you mention DPM: use P_CELL_THREAD(p) to find the cell thread of the cell that the particle is currently in, so it will be:
THREAD_SUB_THREAD(P_CELL_THREAD(p),0); |
|
June 27, 2015, 05:38 |
|
#4 |
Senior Member
B_Kia
Join Date: May 2014
Location: Ir
Posts: 123
Rep Power: 12 |
Hi friends,
is it possible to use DPM with Eulerian multiphase together? i am modelling bubble plume, for bubbles i am using DPM, for the reservoir i used to use VOF(water and air above it) but eulerian can solve energy equation for both phases. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF for coal combustion in multiphase flow | niisha24 | Fluent UDF and Scheme Programming | 13 | September 19, 2022 05:01 |
multiphase udf | ak2009 | Fluent UDF and Scheme Programming | 0 | June 7, 2012 01:15 |
DPM UDF particle position using the macro P_POS(p)[i] | dm2747 | FLUENT | 0 | April 17, 2009 02:29 |
DPM with UDF - Step-by-Step Procedure???? | Prashanth | FLUENT | 3 | April 3, 2009 18:45 |
So many questions in DPM & UDF - Help! URGENT! | Prashanth | FLUENT | 0 | March 3, 2009 23:26 |