CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

UDF in DPM+Eulerian multiphase

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By pakk

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 12, 2015, 11:35
Default UDF in DPM+Eulerian multiphase
  #1
Senior Member
 
Cees Haringa
Join Date: May 2013
Location: Delft
Posts: 607
Rep Power: 0
CeesH is on a distinguished road
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)
to call the liquid density. How do I get the proper tr in multiphase?

Thanks in advance!

Best regards,
Cees
CeesH is offline   Reply With Quote

Old   May 13, 2015, 05:28
Default
  #2
Senior Member
 
Cees Haringa
Join Date: May 2013
Location: Delft
Posts: 607
Rep Power: 0
CeesH is on a distinguished road
THREAD_SUB_THREAD(t,0) - got it
CeesH is offline   Reply With Quote

Old   May 15, 2015, 04:02
Default
  #3
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27
pakk will become famous soon enough
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);
CeesH likes this.
pakk is offline   Reply With Quote

Old   June 27, 2015, 05:38
Default
  #4
Senior Member
 
B_Kia
Join Date: May 2014
Location: Ir
Posts: 123
Rep Power: 12
HyperNova is on a distinguished road
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.
HyperNova is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 21:22.