CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Convert 2d, diagonalized, unstructured grid to structured -- CGNS

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 28, 2014, 05:15
Default Convert 2d, diagonalized, unstructured grid to structured -- CGNS
  #1
New Member
 
James
Join Date: Mar 2012
Posts: 8
Rep Power: 14
jgrisham is on a distinguished road
I have developed a C++ code for mesh adaptation (2d, structured). I read and write meshes using CGNS. We are currently using Fluent to run flow solves, but have discovered that Fluent exports the grid and data in an unstructured CGNS format. I have the initial grid in (structured) CGNS format (generated by Pointwise), and I need to find a way to convert the unstructured flow solve data back to the structured grid. The flow solve data is needed to control the adaptation.

I've spent a while in Fluent and CGNS docs, but can't seem to figure out how to do this. Basically, I need to know how the nodes are numbered (I think).

Any pointers or references are greatly appreciated.
jgrisham is offline   Reply With Quote

Old   May 16, 2014, 19:26
Default
  #2
New Member
 
James
Join Date: Mar 2012
Posts: 8
Rep Power: 14
jgrisham is on a distinguished road
Wound up doing a brute-force re-ordering by comparing x- and y-coordinates in the unstructured grid with the structured grid. Fixed all my issues.
jgrisham is offline   Reply With Quote

Reply

Tags
cgns, fluent, grid adaptation, pointwise


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
Structured to Unstructured grid Sen Main CFD Forum 2 March 2, 2011 12:33
write unstructured grid on cgns manaliac Main CFD Forum 0 June 1, 2010 04:52
structured grid and/or increase convergence rate Ashish Pande FLUENT 0 May 12, 2006 04:36
unstructured vs. structured grids Frank Muldoon Main CFD Forum 1 January 5, 1999 11:09
Mesh Compatibility Andrew Epp Main CFD Forum 5 December 10, 1998 01:50


All times are GMT -4. The time now is 16:29.