|
[Sponsors] |
July 3, 2020, 12:51 |
how to distinguish DPM injections in UDF
|
#1 |
New Member
Yang Yaji
Join Date: Jul 2020
Posts: 2
Rep Power: 0 |
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! |
|
Tags |
udf;fluent;dpm |
|
|
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 |