Input datafiles into the GAMBIT preprocessor software

  • Thread starter Thread starter Goodman
  • Start date Start date
  • Tags Tags
    Input Software
AI Thread Summary
To input datafiles into the GAMBIT preprocessor, users can convert *.dat or *.txt files containing two columns of 2D curvature points into DXF format using a program called dat2dxf. This conversion allows for easier editing in CAD software like CATIA, which can then export the data to IGS format for GAMBIT. It's important to note that GAMBIT has limitations with IGS curves, so users often split airfoil data into top and bottom surfaces for better handling. The dat2dxf program is compatible with various operating systems, though it may require specific dependencies to run on Windows. Overall, while the process involves several steps, it is a valuable method for importing data into GAMBIT.
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:
Posted June 2024 - 15 years after starting this class. I have learned a whole lot. To get to the short course on making your stock car, late model, hobby stock E-mod handle, look at the index below. Read all posts on Roll Center, Jacking effect and Why does car drive straight to the wall when I gas it? Also read You really have two race cars. This will cover 90% of problems you have. Simply put, the car pushes going in and is loose coming out. You do not have enuff downforce on the right...
I'm trying to decide what size and type of galvanized steel I need for 2 cantilever extensions. The cantilever is 5 ft. The space between the two cantilever arms is a 17 ft Gap the center 7 ft of the 17 ft Gap we'll need to Bear approximately 17,000 lb spread evenly from the front of the cantilever to the back of the cantilever over 5 ft. I will put support beams across these cantilever arms to support the load evenly
Thread 'Physics of Stretch: What pressure does a band apply on a cylinder?'
Scenario 1 (figure 1) A continuous loop of elastic material is stretched around two metal bars. The top bar is attached to a load cell that reads force. The lower bar can be moved downwards to stretch the elastic material. The lower bar is moved downwards until the two bars are 1190mm apart, stretching the elastic material. The bars are 5mm thick, so the total internal loop length is 1200mm (1190mm + 5mm + 5mm). At this level of stretch, the load cell reads 45N tensile force. Key numbers...
Back
Top