Register Blogs Members List Search Today's Posts Mark Forums Read

 December 12, 2002, 09:43 Gambit geometry creation: loading data to gambit #1 C Ariyaratne Guest   Posts: n/a Hello, I have a spreadsheet of x,y,z data and want to plot the points in gambit to create geometry. Since it's a lot of data it is not possible to input manually. Is there a way to load the data onto Gambit and make it plot?

 December 12, 2002, 12:44 Re: Gambit geometry creation: loading data to gamb #2 njoy Guest   Posts: n/a yes, i would also like to know this if it is possible? How?

 December 12, 2002, 13:05 Re: Gambit geometry creation: loading data to gamb #3 An Modh Coinniolach Guest   Posts: n/a You can import xyz type point data in Gambit from the menuy using File/Import/Vertex Data.

 December 12, 2002, 13:29 Re: Gambit geometry creation: loading data to gamb #4 njoy Guest   Posts: n/a What type of file it should be?

 December 14, 2002, 11:22 Re: Gambit geometry creation: loading data to gamb #5 charlis Guest   Posts: n/a you can write your jou file ,which can autorun in gambit, it is very easy to learn , just like this: vortex create... edge create...

 December 16, 2002, 15:56 Re: Gambit geometry creation: loading data to gamb #6 Taher Guest   Posts: n/a I have tried this once before and used and .dat file and works fine

 December 17, 2002, 08:38 Re: Gambit geometry creation: loading data to gamb #7 njoy Guest   Posts: n/a Dear Taher, Can you please write the procedure in detail. Thanks in advance!

 December 18, 2002, 08:57 Re: Gambit geometry creation: loading data to gamb #8 Taher Guest   Posts: n/a 1. This is an example of how to import three columns - x,y z, vertex data. The first line must contain the number of points and the number of curves example: 1 129 for 1 curve and 129 points. open the file 2. get rid of all text 3. get rid of duplicate set of data 4. get rid of any blank line 5. Save this page as a text file in the C:\temp directory - "filename.txt" 6. Run GAMBIT (from the run command) 7. In GAMBIT - in the Command Text box enter import vertexdata "C:\temp\|filename.txt" 8. If all goes well you should see 129 points in the graphics window

 December 18, 2002, 09:39 Re: Gambit geometry creation: loading data to gamb #9 mp Guest   Posts: n/a Dear Taher, Thanks for your explanation, I tried the same, but the got the following ERROR: Error reading number of points per curve and number of curves. ERROR(850) - UNTERMINATED STRING VALUE I took care of no text, no duplicate data and no blank line in my .txt file. I just have 1 in the first line and 129 in the second line where did i do mistake.....please let me know. Thanks and Regards - mp aerosjc and NIGHTWING like this.

 December 18, 2002, 10:22 Re: Gambit geometry creation: loading data to gamb #10 Taher Guest   Posts: n/a your text file should look something like this- the first error is because 1 and 129 are both on the first line with a space inbetween. For example: ----------------- 1 5 0.0 1.0 0 0.1 1.1 0 0.2 1.2 0 0.3 1.3 0 0.4 1.4 0 ----------------

March 17, 2011, 17:39
#11
New Member

Join Date: Mar 2011
Posts: 1
Rep Power: 0
Quote:
 Originally Posted by Taher ;103832 1. This is an example of how to import three columns - x,y z, vertex data. The first line must contain the number of points and the number of curves example: 1 129 for 1 curve and 129 points. open the file 2. get rid of all text 3. get rid of duplicate set of data 4. get rid of any blank line
number of curves must be greater than 1

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post mazhar1613 ANSYS Meshing & Geometry 1 January 12, 2012 00:18 pa-ma OpenFOAM 0 July 22, 2009 06:36 deneb FLUENT 3 January 22, 2007 05:31 laith FLUENT 4 November 12, 2006 11:04 Feng FLUENT 5 October 11, 2005 04:13

All times are GMT -4. The time now is 15:32.