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 Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 15, 2018, 14:38
Default calculating first layer wall thickness
  #1
New Member
 
Tyler Richardson
Join Date: Jun 2017
Posts: 28
Rep Power: 5
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, 14:57
Default
  #2
Senior Member
 
Lucky Tran
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 4,130
Rep Power: 50
LuckyTran 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, 15:09
Default
  #3
New Member
 
Tyler Richardson
Join Date: Jun 2017
Posts: 28
Rep Power: 5
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 1 July 10, 2019 08:56
[snappyHexMesh] Meshing a very thin meatus with SnappyHexMesh enginpower OpenFOAM Meshing & Mesh Conversion 29 September 9, 2017 03:46
Radiation interface hinca CFX 15 January 26, 2014 17:11
Boundary Layer roughness/ low reynolds wall treatment Luigi_ STAR-CCM+ 1 March 14, 2012 08:40
[snappyHexMesh] Boundary layer generation problems ivan_cozza OpenFOAM Meshing & Mesh Conversion 0 October 6, 2010 13:47


All times are GMT -4. The time now is 23:22.