CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   Input datafiles into the GAMBIT (

Kevin June 20, 2008 04:08

Input datafiles into the GAMBIT
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.

Thanks in advance, Kevin.

red lemon June 20, 2008 06:06

Re: Input datafiles into the GAMBIT
you need to use the vertex input form but the format of the data may need adjusting. check the UG on the file requirements for vertex input from text file. Once in use NURBS fit for curve to points. Otherwise you can create a journal file using the data.

abm June 20, 2008 08:22

Re: Input datafiles into the GAMBIT
You need 3 columns x,y,z, the z column full of 0.

Kevin June 21, 2008 04:46

Re: Input datafiles into the GAMBIT
Thanks my friend "red lemon" for your suggestions. After leaving this question, I found a way to settle this problem. First I pasted the x and y values into a Excel sheet, then I fill their left column with the phrase "vertex create coordinates". Then I copied and pasted the three resultant columns into a *.txt file. Finally I called that from the submenu "Run Journal" of the Gambit. Now I wanna know is there any simpler way to do this. This approach may need too much computer resources if I want to import large numbers of data points.

Best wishes

red lemon June 21, 2008 05:20

Re: Input datafiles into the GAMBIT
when you say you pasted the data into an Excel file, where are they pasted from? You can write a script that transfers and re-orders data as well as adding the header lines so Gambit can recognise the journal. You could also write a little program to do this re-organising as well.

All times are GMT -4. The time now is 04:45.