|
[Sponsors] |
June 20, 2008, 05:08 |
Input datafiles into the GAMBIT
|
#1 |
Guest
Posts: n/a
|
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. |
|
June 20, 2008, 07:06 |
Re: Input datafiles into the GAMBIT
|
#2 |
Guest
Posts: n/a
|
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.
|
|
June 20, 2008, 09:22 |
Re: Input datafiles into the GAMBIT
|
#3 |
Guest
Posts: n/a
|
You need 3 columns x,y,z, the z column full of 0.
|
|
June 21, 2008, 05:46 |
Re: Input datafiles into the GAMBIT
|
#4 |
Guest
Posts: n/a
|
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 |
|
June 21, 2008, 06:20 |
Re: Input datafiles into the GAMBIT
|
#5 |
Guest
Posts: n/a
|
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.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Star_CD datafiles | Thomas | Siemens | 4 | February 24, 2009 08:37 |
[Gambit] length of the input line in Journal-Files | Thomas Vanneste | FLUENT | 0 | December 1, 2008 07:26 |
Tracer input | Bhaskar | Siemens | 0 | July 22, 2005 11:15 |
Gambit input files | Riaan | FLUENT | 1 | January 14, 2005 10:12 |
Input Geometry from Ideas to Gambit | Knick | FLUENT | 2 | December 11, 2002 04:59 |