UDF in DPM+Eulerian multiphase
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 |
THREAD_SUB_THREAD(t,0) - got it ;)
|
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); |
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. |
All times are GMT -4. The time now is 10:30. |