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

how to distinguish DPM injections in UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 3, 2020, 12:51
Default how to distinguish DPM injections in UDF
  #1
New Member
 
Yang Yaji
Join Date: Jul 2020
Posts: 2
Rep Power: 0
yyj-sy is on a distinguished road
Hello,all!
I want to ask how to distinguish DPM injections in UDF programming. I am modeling underwater oil/gas leakage with DPM and I set two injections in DPM for oil and gas respectively.
I write a macro to define gas bubble sizes in DEFINE_EXECUTE_AT_END. Now I want this macro to work only on gas particles when called by FLUENT, i think maybe i can use Get_DPM_injections() to differentiate two injection streams with their respective ID numbers,my question are as follows:
1.for injecioon-0 and injecioon-1 in DPM,are their ID 0 and 1 respectively?
2.Get_DPM_injections(0) or Get_DPM_injections(1), is this usage right or false?

Thank you!
yyj-sy is offline   Reply With Quote

Reply

Tags
udf;fluent;dpm


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
how to distinguish different injections in UDF yyj-sy Fluent UDF and Scheme Programming 2 November 24, 2022 05:23
Viscous resistance UDF with DPM AyrtonZotelle Fluent UDF and Scheme Programming 2 December 17, 2019 23:48
DPM UDF Help Eanna.Kennedy Fluent UDF and Scheme Programming 4 February 14, 2019 12:28
UDF for sampling particles from multiple injections JaC Fluent UDF and Scheme Programming 0 March 31, 2010 11:43
please help me. i have question about the UDF at the DPM motallebi FLUENT 0 July 6, 2009 12:27


All times are GMT -4. The time now is 16:24.