|
[Sponsors] |
Implementation of Van Driest Damping Function |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 25, 2014, 21:46 |
Implementation of Van Driest Damping Function
|
#1 |
Member
Manan
Join Date: Oct 2013
Location: Göteborg
Posts: 37
Rep Power: 13 |
Hello,
I am trying to put in the Van Driest damping function for a turbulence model. One of the statements that go in it, is: Code:
volScalarField Re_t = sqrt(k_)*(y_/nu()); Is there an inbuilt function to access the y position of the cell centers as a volScalarField for this pupose? Can anyone recommend an alternative strategy to implement the above? Thanks! |
|
May 25, 2014, 22:15 |
|
#2 |
Member
Manan
Join Date: Oct 2013
Location: Göteborg
Posts: 37
Rep Power: 13 |
I found some information on this post:
http://www.cfd-online.com/Forums/ope...-walldist.html #include "wallDist.H" ... ... volScalarField y = wallDist(mesh_).y(); This seems to do get the wall distance! Last edited by MaLa; June 6, 2014 at 15:31. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] How to define to right point for locationInMesh | Mirage12 | OpenFOAM Meshing & Mesh Conversion | 7 | March 13, 2016 15:07 |
Droplet Evaporation | Christian | Main CFD Forum | 2 | February 27, 2007 07:27 |
viscous damping function | maria | Main CFD Forum | 0 | August 21, 2006 02:30 |
Implementation of wall function with SA model | Bala | Main CFD Forum | 0 | October 8, 2004 00:54 |
damping function for EARSM model | Vincent | Main CFD Forum | 0 | January 17, 2001 11:41 |