|
[Sponsors] |
I want to the velocity vector for the first node point to the wall. Can I use wallDis |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 13, 2012, 09:25 |
I want to the velocity vector for the first node point to the wall. Can I use wallDis
|
#1 |
New Member
Gregory
Join Date: Nov 2010
Location: Dresden
Posts: 14
Rep Power: 16 |
Hi there
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 ? Thanks |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wall function for velocity? | johnblund | OpenFOAM | 3 | September 6, 2022 08:22 |
Velocity and Temp. jump on wall | p_agoodboy | FLUENT | 0 | March 27, 2011 22:53 |
how to calculate flow properties along the first grid point near to the wall | kiran | OpenFOAM Post-Processing | 2 | September 12, 2010 13: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 |