CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Extract body points coordinate snappyhexmesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 8, 2019, 10:01
Default Extract body points coordinate snappyhexmesh
  #1
Member
 
Andrew
Join Date: Mar 2018
Posts: 82
Rep Power: 8
Astan is on a distinguished road
Hi guys, i have done a simple mesh of an airfoil, i would like to know how to extract the coordinates of points of the mesh that are on the airfoil patch


Thanks you for any answers

Anstan
Astan is offline   Reply With Quote

Old   August 14, 2019, 03:45
Default
  #2
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
Hi!

You need it for external processing? This is a pretty brute force solution, but in the polyMesh/boundary file you can find the starting face of that patch and the number of faces. then in the polyMesh/faces file you can find the points for these faces. In the polyMesh/points file you find the coordinates for these points.


But there is a much simpler way using paraView. Open the case, load only the needed patch, create a SpreadSheet view, and you will find the coordinates in the Points column. And you can export it as a csv file. This is simpler, but the first method is more challenging
simrego is offline   Reply With Quote

Old   August 15, 2019, 03:02
Default
  #3
Member
 
Andrew
Join Date: Mar 2018
Posts: 82
Rep Power: 8
Astan is on a distinguished road
Hi simrego thanks you very much for the help!


Astan
Astan is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] snappyHexMesh, new timestep creation and field and mesh dont have the same #points Loekatoni OpenFOAM Meshing & Mesh Conversion 1 November 23, 2018 09:11
Deformations in a Coordinate System that rotates (moves) with the solid body Pumpov Structural Mechanics 4 September 10, 2018 08:00
sample utility of OF2.3.1 provides less points aCFDuser OpenFOAM Post-Processing 7 May 1, 2017 21:25
TimeVaryingMappedFixedValue best practice to extract subset points and fields podallaire OpenFOAM Running, Solving & CFD 6 May 21, 2014 10:25
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 07:36


All times are GMT -4. The time now is 19:40.