|January 13, 2012, 09:25||
I want to the velocity vector for the first node point to the wall. Can I use wallDis
Join Date: Nov 2010
Posts: 14Rep Power: 6
I have a particle P(xp,yp,zp) somewhere in the mesh. I need the index of the nearest wall cell to my point P so I can calculate the velocity vector of the first node point to the wall. I first thought of using the library "wallDist.H". It unfortunately only returns the distance of the closest cell at the wall and not the index of this latter.
in other words:
//create field containg wall distances
volScalarField wd = wallDist(mesh)
//create field of the indexes of the closest wall cells
volField<label> = wd.labelOfTheWallCells() <- how do I get this?
Is there any such functions already implemented in OF? If not, what could I do to achieve this ?
|Thread||Thread Starter||Forum||Replies||Last Post|
|Velocity and Temp. jump on wall||p_agoodboy||FLUENT||0||March 27, 2011 21:53|
|Wall function for velocity?||johnblund||OpenFOAM||0||March 10, 2011 09:50|
|how to calculate flow properties along the first grid point near to the wall||kiran||OpenFOAM Post-Processing||2||September 12, 2010 12:59|
|what the result is negatif pressure at inlet||chong chee nan||FLUENT||0||December 29, 2001 06:13|
|Wall functions||Abhijit Tilak||Main CFD Forum||6||February 5, 1999 02:16|