|
[Sponsors] |
Sampling surface at a fixed distance perpendicular to each surface's cell |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 31, 2018, 06:16 |
Sampling surface at a fixed distance perpendicular to each surface's cell
|
#1 |
New Member
Join Date: Jan 2018
Posts: 1
Rep Power: 0 |
Hello,
I am new in openFoam. I have a .openFoam project modeling flow over an island. For the latter, I have converted a DEM into a .stl and used it in openFoam. What I want to do now is to sample the model's results (e.g. Mean U, Pressure etc.) at 2 meters perpendicular to the surface (please forgive me for the low-quality image). Trying to make it more clear, I am not looking to just increase Z by 2, I want both X and Y to change accordingly, so that the new point has Z so that the vertical distance from the surfaces is equal to 2 and perpendicular to the cell of the surface that the points are located in. I tried several different filters, and I think the "transform" filter is closer to what I need. However, I cannot understand how to use the translation and the scale parameters (if possible) to achieve what I need. In essence, I think what I am looking for, is to sample normal to the surface and at a fixed distance of 3 meters. Any help will be much appreciated. Thank you! Last edited by manos4u; February 1, 2018 at 10:40. Reason: extra clarification |
|
November 16, 2020, 14:45 |
|
#2 |
Member
Rishikesh
Join Date: Apr 2016
Posts: 63
Rep Power: 9 |
Sorry to bump this but does anyone have an idea on this.
I am looking to measure perpendicular distance to the VOF interface, which I assume to be the alpha = 0.5 contour. It is however not a searchable surface. If I couple a level-set at the said contour and then solve for it, I can get a gradient field which will give the said value. However, this operation is computationally expensive and slows down the process considerably. Any suggestions towards a simpler method to extract perpedicular distance from the contour would be appreciated. |
|
November 29, 2020, 13:55 |
|
#3 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40 |
Would need to see what is missing, but extracting an iso-surface gives you a meshed surface that should also be closed. Searchable surfaces have a triSurfaceMesh form that you should be able to use to wrap the iso-surface.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] refineWallLayer Error | Yuby | OpenFOAM Meshing & Mesh Conversion | 2 | November 11, 2021 11:04 |
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops | avinashjagdale | OpenFOAM Meshing & Mesh Conversion | 53 | March 8, 2019 09:42 |
[snappyHexMesh] problem with snappyHexMesh | kanes | OpenFOAM Meshing & Mesh Conversion | 10 | January 26, 2016 06:11 |
[snappyHexMesh] SHM not snapping to some surfaces | Swift | OpenFOAM Meshing & Mesh Conversion | 13 | January 4, 2016 01:56 |
CFX4.3 -build analysis form | Chie Min | CFX | 5 | July 12, 2001 23:19 |