|
[Sponsors] |
GHow to define UDF for Density in Ansys Fluent? and How to remove Error? |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Azim Memon
Join Date: Jul 2019
Posts: 12
Rep Power: 7 ![]() |
i want to define the density in the in the form of Equation by UDF in ansys fluent of the following equation.
rho = 885/(0.0008(temp-321.35)+1) i have written the following UDF ![]() and it shows the following Error https://www.cfd-online.com/Forums/at...1&d=1564485883 How can i solve this problem or any other way i can simply Define UDf in Easy way????? |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 ![]() ![]() |
next time put here code, not picture
you've defined temperature as Code:
real temp = C_T(c,t); change t to temp in equation best regards |
|
![]() |
![]() |
![]() |
|
|