|
[Sponsors] |
July 27, 2023, 05:36 |
Udmi
|
#1 |
New Member
HRSD
Join Date: Jul 2023
Posts: 11
Rep Power: 3 |
Hi Dears,
i wrote a UDF which can see in below, in this UDF, after calculating, UDMI value not saved and is zero. please help me for solving this problem. thank. begin_c_loop(c,t) { inst_tabs = C_T(c,t); inst_rdot = aprexp * exp((-acte) / (ugc * inst_tabs)); inst_mdot = frho * burn_area * inst_rdot; C_PROFILE(c,t,i) = inst_mdot; sum_inst_tabs += inst_tabs; C_UDMI(c,t,0) = inst_rdot; } end_c_loop(c,t) |
|
July 28, 2023, 01:20 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
if each variable here is defined well no problems should exist
Code:
inst_rdot = aprexp * exp((-acte) / (ugc * inst_tabs));
__________________
best regards ****************************** press LIKE if this message was helpful |
|
July 28, 2023, 08:37 |
Udmi
|
#3 | |
New Member
HRSD
Join Date: Jul 2023
Posts: 11
Rep Power: 3 |
Quote:
thank you. |
||
July 28, 2023, 10:54 |
|
#4 |
Member
Odisha
Join Date: Jan 2020
Posts: 59
Rep Power: 6 |
You have to allocate a memory location inside ansys fluent before you can call C_UDMI macro. See if this helps.
|
|
July 28, 2023, 13:41 |
|
#5 |
New Member
HRSD
Join Date: Jul 2023
Posts: 11
Rep Power: 3 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDMI and DEFINE_EXECUTE_AT_END | MsRuby | Fluent UDF and Scheme Programming | 2 | July 2, 2018 03:43 |
Running out of UDMI, what can in use to replace it ? | Sdvk | Fluent UDF and Scheme Programming | 0 | May 23, 2014 14:16 |
problems with UDMI... !!! | Nady | FLUENT | 0 | May 16, 2007 03:38 |
Problem with Dissipation rate storage in UDMI | Sam | FLUENT | 0 | January 26, 2006 06:19 |
UDMI error when memorizing Dissipation of TKE | Lohen | FLUENT | 0 | June 23, 2005 10:59 |