|
[Sponsors] |
April 15, 2014, 09:07 |
Multi block hybrid CGNS .
|
#1 |
Senior Member
Vino
Join Date: Mar 2013
Posts: 130
Rep Power: 13 |
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. |
|
April 17, 2014, 05:01 |
|
#2 |
Senior Member
Tom-Robin Teschner
Join Date: Dec 2011
Location: Cranfield, UK
Posts: 204
Rep Power: 16 |
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 |
|
April 17, 2014, 16:04 |
|
#3 |
Senior Member
Vino
Join Date: Mar 2013
Posts: 130
Rep Power: 13 |
Thank you for your reply Tom-Robin Teschner.!!! This code is very useful to me. Once again Thanks.!!!
|
|
|
|
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 |