|
[Sponsors] |
February 15, 2018, 15:38 |
calculating first layer wall thickness
|
#1 |
Member
Tyler Richardson
Join Date: Jun 2017
Posts: 30
Rep Power: 9 |
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! |
|
February 15, 2018, 15:57 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,754
Rep Power: 66 |
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: |
|
February 15, 2018, 16:09 |
|
#3 |
Member
Tyler Richardson
Join Date: Jun 2017
Posts: 30
Rep Power: 9 |
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 |
|
Tags |
scheming, wall function, y plus, y star |
|
|
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 |