TAGGED: face_loop, store-results, udf, udmi
-
-
May 21, 2023 at 5:31 am
Selawe97
SubscriberHelloÂWhen I store temperature value in UDMIFor exampleÂ[CODE]#include "udf.h"ÂDEFINE_PROFILE(htc, t, i){cell_t c;face_t f;Domain *domain = Get_Domain(1);Thread *ft1 = Lookup_Thread(domain, 2); // Fluid thread ID 2Âreal temp;Âbegin_f_loop(f, ft1){temp = F_T(f, ft1);ÂÂF_UDMI(f, ft1, 0) = F_T(f, ft1);ÂF_PROFILE(f,ft1,i) = temp;}end_f_loop(f,ft1)Â}[/CODE]It doesn't store the value at boundaries, so how to store temperature boundary values, or did I make a mistake?ÂWhen I compare the countors by UDMI and fluent post it shows different temperature values unless I deactivate boundary values in fluent, fluent will show the same contours of the UDF (Image Attached)ÂThanks -
May 29, 2023 at 10:23 am
Essence
Ansys EmployeeHello,
Try using DEFINE_PROPERTY macro.
-
Viewing 1 reply thread
- The topic ‘store temperature value in udmi’ is closed to new replies.
Ansys Innovation Space
Trending discussions
Top Contributors
-
3597
-
1208
-
1092
-
1068
-
952
Top Rated Tags
© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.