|
[Sponsors] | |||||
Vertical distance from each cell to patch using modified yPlus utility? |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
|
#1 |
|
Member
Marcelino Montero
Join Date: Mar 2009
Location: Madrid
Posts: 30
Rep Power: 6 ![]() |
Hi all,
The point is that I need to calculate the vertical distance ( z axis) from each cell of the mesh to the wall ( patch "terrain"). I was thinking about using yPlusRAS utility but changing wallDist ( and so, PatchWave) to calculate the distance in a different way. I have some doubts about if it is possible to do it in this way. My second option is to use meshSearch::intersection to modify PatchWave to do what I need but I do not know what is the correct sintax of this approach. What do you think it is the easier way to do it? Could someone help me how to use meshSearch.intersection? Something like this? meshSearch ms(mesh); pointIndexHit point=ms.intersection (p1,p2); distance=point-p1; Thank you very much |
|
|
|
|
|
|
|
|
#2 |
|
Member
Marcelino Montero
Join Date: Mar 2009
Location: Madrid
Posts: 30
Rep Power: 6 ![]() |
Please, any suggestion?
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CGNS converters available | mbeaudoin | OpenFOAM Meshing & Mesh Conversion | 123 | April 9, 2013 09:53 |
| Cyclic BC's: Possible face ordering problem? (Channel flow) | sega | OpenFOAM Native Meshers: blockMesh | 3 | September 28, 2010 12:46 |
| FvMatrix coefficients | shrina | OpenFOAM Running, Solving & CFD | 8 | November 22, 2006 10:31 |
| Warning 097- | AB | CD-adapco | 6 | November 15, 2004 04:41 |
| Multicomponent fluid | Andrea | CFX | 2 | October 11, 2004 05:12 |