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

calculating first layer wall thickness

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 15, 2018, 15:38
Default calculating first layer wall thickness
  #1
Member
 
Tyler Richardson
Join Date: Jun 2017
Posts: 30
Rep Power: 9
tricha122 is on a distinguished road
Hi,

I am trying to calculate y* during the fluent solution within a UDF. From what I can tell from the available cell / face variables, I can retrieve the turbulent kinetic energy (Kp), and then using this and the cell center height (Yp) I can calculate y*.

turbulent kinetic energy can be retrieved with F_K(f,tf)

How can I retrieve the height of the cell adjacent to the wall? certainly this has to be available as it uses it to evaluate the wall function

Any help would be greatly appreciated!

Thanks!
tricha122 is offline   Reply With Quote

Old   February 15, 2018, 15:57
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,762
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
What version of Fluent are you using????? Depending on the version you might be able to use:

C_WALL_DIST
Calc_Cell_Wall_Distance_New
Calc_Cell_Wall_Distance_Alternative

Check out this thread:
LuckyTran is offline   Reply With Quote

Old   February 15, 2018, 16:09
Default
  #3
Member
 
Tyler Richardson
Join Date: Jun 2017
Posts: 30
Rep Power: 9
tricha122 is on a distinguished road
I am using Fluent 18.2

is there documentation for C_WALL_DIST?

otherwise I guess I could get the centroid of the face, centroid of the cell, and get the length of the vector between them
tricha122 is offline   Reply With Quote

Reply

Tags
scheming, wall function, y plus, y star


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
y+ = 1 boundary layer mesh with snappyHexMesh Arzed23 OpenFOAM Running, Solving & CFD 6 November 23, 2022 16:15
[snappyHexMesh] Meshing a very thin meatus with SnappyHexMesh enginpower OpenFOAM Meshing & Mesh Conversion 29 September 9, 2017 04:46
Radiation interface hinca CFX 15 January 26, 2014 18:11
Boundary Layer roughness/ low reynolds wall treatment Luigi_ STAR-CCM+ 1 March 14, 2012 09:40
[snappyHexMesh] Boundary layer generation problems ivan_cozza OpenFOAM Meshing & Mesh Conversion 0 October 6, 2010 14:47


All times are GMT -4. The time now is 03:11.