CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   udf for Roughness Constant, Cs > 1 (https://www.cfd-online.com/Forums/fluent-udf/118955-udf-roughness-constant-cs-1-a.html)

saayo3 June 7, 2013 03:51

udf for Roughness Constant, Cs > 1
 
Hi, everyone,

I am modeling a domain that has the surrounding area with non-uniform & non-homogenous surface roughness, in which case the surface Roughness Constant, Cs, is outside the upper limit of the range (0.5 - 1.0) that can be specified in Fluent.

I desire to specify a value of Cs greater than 1.0 as has been done in previous researches, and this requires udf.

Pls., could someone kindly help me with the udf codes for writing constant-value Roughness Constant, Cs.

Thanks, and hoping to get a response soon.

Samuel.

nenazarian October 18, 2013 12:34

Hi Samuel,

I was wondering if you have wrote a udf for a wall roughness.
I was similar problem and I would appreciate your help.

Cheers,
Negin

minque February 2, 2020 21:35

Ask for UDF code
 
I've read your post though it's bit old post.

However, it was so challenging because I do not have lots of experiences about both CFD and C++ language coding.


If you don't mind me asking, can I get your UDF (User Defined Fucntions) codes?


I would like to unlimit wall roughness constant more than 1. (0.5~1.0 as default in FLUENT)


I've spending a tremendous time to have homogeneous profile in ANSYS Fluent but all attempts were doomed to failure.



I would really appreciate your deep consideration for the beginner who really struggles with ANSYS Fluent's UDF coding.


Sincerely,

AlexanderZ February 2, 2020 23:40

Ansys FLuent Customization manual,
look for DEFINE_PROFILE macro


All times are GMT -4. The time now is 02:47.