CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Special Topics > Mesh Generation & Pre-Processing

Convert mesh from unstructured Openfoam to structured

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 10, 2017, 12:24
Default Convert mesh from unstructured Openfoam to structured
  #1
New Member
 
Ayush Agrawal
Join Date: Jun 2014
Posts: 16
Rep Power: 12
ayushmorx is on a distinguished road
Hello,

I have a 3d mesh in openfoam which I have solved for a flow field. I want to import this data into my C++ program and work on it, for which I need the points to be represented in a text file as just
Cellid X Y Z U V W
1 0 0 0 1 0.2 0
2 0 1 0 1 0.3 0.1
.
.
.
.
and so on.

But OpenFoam does not support converting to this file format. Basically, I just want the points and the data without the connectivity info, sorted in a way such that cellx+1 is to the right of cell x, celly+1 is above celly, cellz+1 is in front of cellz. Help? My mesh is structured only, but is stored as unstructured.
ayushmorx is offline   Reply With Quote

Reply

Tags
mesh 3d, openfoam 2.1


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
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 15:24
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
3D Hybrid Mesh Errors DarrenC ANSYS Meshing & Geometry 11 August 5, 2013 07:42
convert a structured multiblock grid to an one unstructured: modification of cells Mirage ANSYS 0 July 18, 2012 10:14
unstructured mesh phoenics user Phoenics 26 March 22, 2012 13:17


All times are GMT -4. The time now is 10:44.