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

Dimensionless wall distance in UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 27, 2015, 10:22
Default Dimensionless wall distance in UDF
  #1
New Member
 
Abdullah Al Amin
Join Date: Oct 2011
Posts: 3
Rep Power: 14
nirjhor is on a distinguished road
Hi Everyone,

I am trying to calculate the dimensionless wall distance of a cell centroid. Are there any predefined macros available?

I have tried using C_WALL_DISTANCE(c,t) but to no avail. Can you please help me?

Best,
Abdullah
Case Western Reserve University
nirjhor is offline   Reply With Quote

Old   February 27, 2015, 12:39
Default
  #2
Member
 
Join Date: Jul 2013
Posts: 80
Rep Power: 12
upeksa is on a distinguished road
Quote:
Originally Posted by nirjhor View Post
Hi Everyone,

I am trying to calculate the dimensionless wall distance of a cell centroid. Are there any predefined macros available?

I have tried using C_WALL_DISTANCE(c,t) but to no avail. Can you please help me?

Best,
Abdullah
Case Western Reserve University

F_STORAGE_R(f,t,SV_WALL_YPLUS)

I think that you do not want to retrieve the value of y+ in a wall, but in a cell far from the wall.

In that case, you can't directly access with a macro, you must use the equations of the law of the wall (check your ANSYS Fluent theory guide) and do the calculations, but it is not that simple.

Check here the equations of the law of the wall:

http://www.arc.vt.edu/ansys_help/flu..._th_stdwf.html

Cheers
upeksa is offline   Reply With Quote

Reply

Tags
ansys, fluent - udf


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
Wave Generation via Flapping Wall UDF LenDawg0220 Fluent UDF and Scheme Programming 5 June 26, 2017 16:05
Minimum Allowable Wall Distance rks171 Main CFD Forum 7 June 16, 2012 15:39
Bug in wall distance calculation david OpenFOAM Bugs 3 March 15, 2011 09:32
udf variable for wall temperature Kiran FLUENT 0 July 31, 2008 08:31
wall conduction, UDF sudh FLUENT 0 June 28, 2004 08:09


All times are GMT -4. The time now is 17:21.