|
[Sponsors] |
[Gmsh] Cell to node connectivity after 'gmshToFoam' |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 1, 2015, 08:11 |
Cell to node connectivity after 'gmshToFoam'
|
#1 |
Member
|
Hello Foamers,
Objective: I am interested in obtaining the cell to node connectivity in a particular order for my mesh. Description: I use gmsh to create my mesh and I can see from the .msh file that the cell to node connectivity is in the order as specified by the gmsh manual (which I need). However when I run 'gmshToFoam testCase.msh' that order is disturbed if I check the cell to node connectivity through 'mesh.cellPoints()'. Now the connectivity is not in any particular order as shown below. Results: 1. Connectivity before gmshToFoam (from .msh file): Cell 0 --> ( 0 4 20 19 36 38 56 55 ) Cell 1 --> ( 19 20 21 18 55 56 57 54 ) 2. Connectivity after gmshToFoam (from mesh.cellPoints()): Cell 0 --> ( 0 4 19 20 36 38 55 56 ) Cell 1 --> ( 18 19 20 21 54 55 56 57 ) As can be seen from the text in red the ordering is changed. I also tried 'gmshToFoam -keepOrientation testCase.msh' but it gave the same result. Any help in this regard will be appreciated. Thanks!
__________________
Jibran Haider Last edited by Jibran; May 3, 2015 at 11:23. |
|
June 8, 2015, 10:09 |
|
#2 |
Member
|
Dear All,
I am still not able to figure out how it works. Any hints? Regards
__________________
Jibran Haider |
|
Tags |
connectivity, gmshtofoam, openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] Error in mesh writing | helios | ANSYS Meshing & Geometry | 21 | August 19, 2021 15:18 |
How does connectivity macros work for cell zones | doruk | Fluent UDF and Scheme Programming | 11 | June 15, 2020 06:58 |
Journal file error | magicalmarshmallow | FLUENT | 3 | April 4, 2014 13:25 |
The fluent stopped and errors with "Emergency: received SIGHUP signal" | yuyuxuan | FLUENT | 0 | December 3, 2013 23:56 |
FvMatrix coefficients | shrina | OpenFOAM Running, Solving & CFD | 10 | October 3, 2013 15:38 |