|
[Sponsors] |
Vertical distance from each cell to patch using modified yPlus utility? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 16, 2013, 10:30 |
Vertical distance from each cell to patch using modified yPlus utility?
|
#1 |
Senior Member
M. Montero
Join Date: Mar 2009
Location: Madrid
Posts: 155
Rep Power: 17 |
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 |
|
May 7, 2013, 06:28 |
|
#2 |
Senior Member
M. Montero
Join Date: Mar 2009
Location: Madrid
Posts: 155
Rep Power: 17 |
Please, any suggestion?
|
|
June 10, 2019, 05:59 |
|
#3 |
New Member
HBR
Join Date: Jun 2018
Posts: 6
Rep Power: 8 |
Did you find any solution to this problem? I am really interested on this.
I've tried with patchWave function, but I don't know how to use it properly. Thank you in Advance, Héctor |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[CGNS] CGNS converters available | mbeaudoin | OpenFOAM Meshing & Mesh Conversion | 137 | December 14, 2018 05:20 |
FvMatrix coefficients | shrina | OpenFOAM Running, Solving & CFD | 10 | October 3, 2013 15:38 |
[blockMesh] Cyclic BC's: Possible face ordering problem? (Channel flow) | sega | OpenFOAM Meshing & Mesh Conversion | 3 | September 28, 2010 13:46 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 05:41 |
Multicomponent fluid | Andrea | CFX | 2 | October 11, 2004 06:12 |