CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

Connectivity data in GAMBIT

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   December 13, 2007, 17:43
Default Connectivity data in GAMBIT
Rajveer Kaur
Posts: n/a
Hi.... I am trying to link the mesh created in GAMBIT with an indeginous solver. I wonder as to how and where GAMBIT stores the connectivity data of the geometry and the mesh created. I intend to study the format of the connectivity-data in GAMBIT and use it in my solver.

Please help

Thanx n regards Rajveer Kaur
  Reply With Quote

Old   December 13, 2007, 22:23
Default Re: Connectivity data in GAMBIT
Posts: n/a
Create a mesh, then select at solver the GENERIC solver option, and export the mesh in Gambit neutral file format. You could read this file with any text editor.

The output should be something like this (for a 2D mesh made of triangles):

the mesh nodes coordinates

n1 x1 y1

n2 x2 y2


conectivity list

n1 n2 n3


I hope this is what you need.

  Reply With Quote

Old   December 14, 2007, 20:01
Default Re: Connectivity data in GAMBIT
Rajveer Kaur
Posts: n/a
Thanx newbie. It's insightful for a beginner like me. I have tested for a rectangular (5X3)geometry, and i m analysing the result. Two things are clear by now - 1. I have the co-ordinates of every node. 2. the nodes comprising a particular cell are also known.

However, I am still trying to figure out if the file has the information about the neighbourhood of each node (like which nodes lie in the immediate neighbourhood a particular node).

And one more thing - how and where can I programme this information so that I can arrange it in a particular format which would be amanable to my solver.

Thanx n regards Rajveer
  Reply With Quote

Old   December 14, 2007, 23:09
Default Re: Connectivity data in GAMBIT
Posts: n/a
Well for the neighbors of a node you have to write yourself a program, depends on what language you master this could be an easy task or ...

You could start for example by making a list with the edges of your mesh, then find the adjacent edges for a particular node, respectively the neighbor nodes. The data structure depends on what your solver will be. My suggestion is to use, if your programming language permits, linked lists for storing the data, make this in a code independent of your solver then you could save the data structure in a file - this approach permits to use the same mesh (data structure) for more simulations.

If you need more advices let me know what are your programming skills.

  Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Loading MRI data in Gambit jinrong_li Main CFD Forum 5 May 16, 2010 13:03
Element Connectivity data in Gambit mecipema ANSYS Meshing & Geometry 1 May 15, 2010 08:39
Importing CMRtools data into Gambit jinrong_li Main CFD Forum 0 March 9, 2010 04:06
import of cylindrical coordinates data in Gambit usman FLUENT 1 January 2, 2008 13:38
Feeding Data using File in Gambit Sharad FLUENT 7 March 24, 2003 01:49

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