CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Gambit output files format (https://www.cfd-online.com/Forums/main/11181-gambit-output-files-format.html)

B. R. Guirguis April 6, 2006 17:27

Gambit output files format
 
I'm using Gambit software to create 2-D flow test cases grids for the solvers I develop in my master thesis. I want to export the mesh in an easy format in order to read it back in my solvers. I tried the *.msh files but it seemed strange and i couldn't find any materials about it. I will appreciate any help in this issue.

Thanks,

B. R. Guirguis April 6, 2006 17:37

Re: Gambit output files format
 
I already have a technique that works now but i think it is too silly and time consuming. the steps are as follows:

1) export *.msh files from gambit 2) open fluent (don't ask why lol) and read the *.msh file 3) export the *.cas file from fluent 4) open tecplot (don't say why again lol) import the *.cas file 5) export the grid zone in a tecplot format, finally you can read the mesh from the tecplot ASCII file.

the main problem that still exist is the boundary points!!

shubidu April 7, 2006 08:36

Re: Gambit output files format
 
Try *CGNS which is the nearest to a standard mesh interface that there currently is.


Mohamed April 7, 2006 20:02

Re: Gambit output files format
 
Dear Guirguis, Here the format of Gambit *.msh file ------------------------------------- ( point 1 to np) All x and y coordinates..

Face (Edge) ( 1 to nf)... All are Hexa decimal format

out of that

(3 1 to n1)--- Some boundary condition for ex:: wall (iden no :3) totalnodes in that edge, 1st node, 2nd node, outcell(R),Incell(L)... ... then other BCs continues.. (8 n5 to nf)..(Here 8 is interior edges identification no) ... atlast (1 to nc) nc- total no of cells.. Then idea abt Various BCs and their numbering...

If you want to know more.. Plz mention Ur id..

Regards Mohamed

Mohamed April 7, 2006 20:03

Re: Gambit output files format
 
Dear Guirguis, Here the format of Gambit *.msh file ------------------------------------- ( point 1 to np) All x and y coordinates..

Face (Edge) ( 1 to nf)... All are Hexa decimal format

out of that

(3 1 to n1)--- Some boundary condition for ex:: wall (iden no :3) totalnodes in that edge, 1st node, 2nd node, outcell(R),Incell(L)... ... then other BCs continues.. (8 n5 to nf)..(Here 8 is interior edges identification no) ... atlast (1 to nc) nc- total no of cells.. Then idea abt Various BCs and their numbering...

If you want to know more..You can find in Gambit help. if not Plz mention Ur id..

Regards Mohamed


All times are GMT -4. The time now is 14:06.