|
[Sponsors] |
Fluent udf give zero instead of coordinate location |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 2, 2020, 03:35 |
Fluent udf give zero instead of coordinate location
|
#1 |
Member
Join Date: Feb 2019
Posts: 65
Rep Power: 7 |
I am working on DEFINE_TURBULENT_PROFILE. However, x[ND_ND] doesn't seems to work for me as it gives me zero. When I try monitoring its output (e.g. Message("x=%g and y=%g \n", x[0], x[1]) on Fluent's console, I saw this instead - x=0 and y=0.
Basically it just keeps showing me zero. Even when I try "Message("x=%g and y=%g \n", x[0], 2);" but it shows 0 instead of 2! When I try outputting other output like S, the message doesn't show 0. Is x[ND_ND] ONLY for the "DEFINE_PROFILE" udf? Does it works for others like mine case? |
|
Tags |
ansys, fluent, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Passing udf value to fluent | durg | Fluent UDF and Scheme Programming | 2 | February 11, 2019 12:55 |
Fluent do not use my velocity field(by UDF) to solve energy equation | tangleiplus | Fluent UDF and Scheme Programming | 6 | January 21, 2019 21:28 |
Fluent Boundary Condition with UDF | amitjoshi | FLUENT | 0 | November 16, 2018 02:21 |
Integrating data from UDF to Fluent | say2017 | FLUENT | 0 | October 20, 2017 13:50 |
Beginner help, coordinate udf with output file | nb92 | Fluent UDF and Scheme Programming | 0 | March 20, 2014 04:16 |