-
-
September 1, 2018 at 9:40 am
Devank12
SubscriberÂ
I have given a udf which define the specific heat of fluid. i have one doubt in this udf. here how to define the Tref in the UDF. explain in detail
#include "udf.h"
DEFINE_SPECIFIC_HEAT(my_user_cp, T, Tref, h, yi)
{
real cp=2000.;
*h = cp*(T-Tref);
return cp;
}
-
September 2, 2018 at 3:29 am
raul.raghav
Subscriber
Solution updated based on abenhadj's comment below. My apologies!
Tref is available inside the Fluent solver under the Materials tab. See attached screenshot.
-
September 2, 2018 at 6:29 am
DrAmine
Ansys EmployeeNo that is not correct. Tref is the reference temperature for enthalpy calculation from material definitionÂ
-
Viewing 2 reply threads
- The topic ‘HOW TO DEFINE REFERENCE TEMPERATURE????’ is closed to new replies.
Ansys Innovation Space
Trending discussions
Top Contributors
-
3587
-
1193
-
1086
-
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.