CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

udf for Roughness Constant, Cs > 1

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 7, 2013, 04:51
Default udf for Roughness Constant, Cs > 1
  #1
New Member
 
Samuel
Join Date: Nov 2012
Location: Malaysia
Posts: 4
Rep Power: 14
saayo3 is on a distinguished road
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.
saayo3 is offline   Reply With Quote

Old   October 18, 2013, 13:34
Default
  #2
Member
 
Negin Nazarian
Join Date: Jan 2012
Location: San Diego
Posts: 61
Rep Power: 14
nenazarian is on a distinguished road
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
nenazarian is offline   Reply With Quote

Old   February 2, 2020, 22:35
Default Ask for UDF code
  #3
New Member
 
Kim Min Kyu
Join Date: Jan 2020
Posts: 4
Rep Power: 6
minque is on a distinguished road
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,
minque is offline   Reply With Quote

Old   February 3, 2020, 00:40
Default
  #4
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
Ansys FLuent Customization manual,
look for DEFINE_PROFILE macro
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
parse error while interpreting udf Kristin Fluent UDF and Scheme Programming 3 March 15, 2012 07:43
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 23:14
Condensation of water if humidity > 100% via UDF Wikie Fluent UDF and Scheme Programming 0 November 9, 2010 17:41
Really big problems when creating own materials da Jop FLUENT 0 June 28, 2007 12:15
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 05:01


All times are GMT -4. The time now is 20:59.