Input datafiles into the GAMBIT preprocessor software

  • Thread starter Thread starter Goodman
  • Start date Start date
  • Tags Tags
    Input Software
Click For Summary
SUMMARY

To input datafiles into the GAMBIT preprocessor, users should convert files in *.dat or *.txt formats containing two columns of 2D curvature points into DXF format using the dat2dxf tool. After conversion, the DXF files can be edited in CATIA or similar software, exported to IGS format, and then imported into GAMBIT. It is essential to note that GAMBIT does not handle DXF files directly, and users should be cautious of GAMBIT's limitations with IGS curves. This process is particularly useful for handling airfoil data.

PREREQUISITES
  • Familiarity with GAMBIT preprocessor software
  • Understanding of data file formats: *.dat, *.txt, DXF, and IGS
  • Basic knowledge of CATIA or similar CAD software
  • Experience with Linux command line for running dat2dxf
NEXT STEPS
  • Research how to use the dat2dxf tool for file conversion
  • Learn about importing and exporting files in CATIA
  • Explore GAMBIT's capabilities and limitations with IGS curves
  • Investigate alternative methods for handling airfoil data in GAMBIT
USEFUL FOR

Engineers, CAD designers, and computational fluid dynamics (CFD) specialists who need to import and manipulate airfoil data within the GAMBIT preprocessor software.

Goodman
Messages
1
Reaction score
0
Dear Friends
How can I input a series of datafiles into the Gambit preprocessor package? Let assume that these datafiles contain 2 columns representing the points of a 2D curvature. There is no text header above the column, and datafiles are available in both *.dat and *.txt extensions. Also the data can be stored in both point and block patterns according to the Tecplot software standard for writing the datafiles.:smile:

Thanks in advance,
Kevin.
 
Engineering news on Phys.org
Are you talking about airfoil data by any chance? I ask because it usually comes in dat or txt, and consists of two columns which you described. I am not sure if it is the same format that tecplot uses (but it sounds very similar). Since I am 99% sure you are talking about airfoils, so I'll just tell you my experience in doing the presumably exact same thing that you are doing. There is a program floating around called dat2dxf, but it is quite hard to find. I think I have a copy sitting on my remote folder all the way at school in AZ (gotta love the internet). You can find it attached.

http://infernalandroid.tripod.com/dat2dxf-0.8.3a.tar.gz"

I always would convert to dxf, edit in CATIA (or whatever), export to IGS, then import back into gambit. It does beat coding things in by hand though. Beware of GAMBIT's wacky and craptastic handling of IGS curves. I always split my airfoil into the top and bottom surfaces, built top and boundary sketches in catia, then converted those to areas, then exported to IGS, and meshed the areas, set up boundaries, etc... So you have to go from dat to dxf to IGS (I don't believe GAMBIT handles DXF). You probably won't need CATIA to do it, but that is what I used- anything should do.

As for running the dat2dxf program, it compiles and runs fine on Linux (I tried Ubuntu on a PC and an old version of something else running on an SGI). Probably runs fine in OS X (maybe), any Unix, or BSD. Couldn't get it running in Cygwin on Windows (but it should if you get the right dependencies).

Despite all the hurdles you have to jump through, you will probably use this more than once. I used it in two classes for design work and CFD work. Good luck.

Cheers.

BTW- if you weren't talking about airfoils, then I'll feel a bit dumb, but at least you'll know how to get airfoil data into gambit. :)
 
Last edited by a moderator:

Similar threads

  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 89 ·
3
Replies
89
Views
38K