CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Input datafiles into the GAMBIT

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 20, 2008, 05:08
Default Input datafiles into the GAMBIT
  #1
Kevin
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.

  Reply With Quote

Old   June 20, 2008, 07:06
Default Re: Input datafiles into the GAMBIT
  #2
red lemon
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.
  Reply With Quote

Old   June 20, 2008, 09:22
Default Re: Input datafiles into the GAMBIT
  #3
abm
Guest
 
Posts: n/a
You need 3 columns x,y,z, the z column full of 0.

  Reply With Quote

Old   June 21, 2008, 05:46
Default Re: Input datafiles into the GAMBIT
  #4
Kevin
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
  Reply With Quote

Old   June 21, 2008, 06:20
Default Re: Input datafiles into the GAMBIT
  #5
red lemon
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.
  Reply With Quote

Reply


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
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


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