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

Multi block hybrid CGNS .

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By t.teschner

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 15, 2014, 09:07
Default Multi block hybrid CGNS .
  #1
Senior Member
 
Vino
Join Date: Mar 2013
Posts: 130
Rep Power: 13
Vino is on a distinguished road
Hi ,

I am exploring CGNS data structure for my research work. I am looking for some example files/tutorials of CGNS which can handle multi block hybrid grids, (i.e. both triangular and quadrilateral grid in case of 2D). In CGNS site , its not available for for the case of hybrid grids. Looking for your suggestions.!!!

Thanks in Advance.
Vino is offline   Reply With Quote

Old   April 17, 2014, 05:01
Default
  #2
Senior Member
 
Tom-Robin Teschner
Join Date: Dec 2011
Location: Cranfield, UK
Posts: 204
Rep Power: 16
t.teschner is on a distinguished road
i have done some extensive work with CGNS, also for my own fluid solver i used CGNS for mesh reading (2D), all based on unstructured meshes. If you want to combine tri and quad elements, as far as I can tell, you have to use an unstructured mesh (of course you can always handle hexa elements in an unstructured manner, in fact that is what i am doing in my code, but you can't have structured grids, or multi block grids in that manner, with tri elements).

if you want to have a look at my mesh reading, i've uploaded the file here:
http://www.siteless.de/cfdonline/cReadMeshPOINTWISE.cpp

first i am reading the mesh normally, then i get the boundary conditions and afterwards i get the elements in the method getElements(). For the moment I am only interested in quad and bar elements (2D structured meshes therefore, ignore for the moment what i am doing afterwards with those elements, that's just some lattice boltzmann specific stuff i have to do) but I also gave the commands for reading tri/tetra and hexa elements. all that is done in an unstructured manner and if i remember correctly i also tried reading those elements which was working fine.

let me know if you have any further questions
Vino likes this.
t.teschner is offline   Reply With Quote

Old   April 17, 2014, 16:04
Default
  #3
Senior Member
 
Vino
Join Date: Mar 2013
Posts: 130
Rep Power: 13
Vino is on a distinguished road
Thank you for your reply Tom-Robin Teschner.!!! This code is very useful to me. Once again Thanks.!!!
Vino 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
[blockMesh] Mixer mesh - negative volume problem jadtwo OpenFOAM Meshing & Mesh Conversion 2 November 6, 2014 16:37
[ICEM] Hybrid Mesh: Free Block meshflo ANSYS Meshing & Geometry 2 September 7, 2014 07:59
when I use multi block the condition of stability can not be fulfilled mostafa_khan FLOW-3D 2 April 19, 2012 12:17
multi block error ava FLOW-3D 3 December 12, 2011 11:06
[Commercial meshers] Icem Mesh to Foam jphandrigan OpenFOAM Meshing & Mesh Conversion 4 March 9, 2010 02:58


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