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

Gambit geometry creation: loading data to gambit

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By mp

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 12, 2002, 09:43
Default 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?
  Reply With Quote

Old   December 12, 2002, 12:44
Default 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?
  Reply With Quote

Old   December 12, 2002, 13:05
Default 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.
  Reply With Quote

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

Old   December 14, 2002, 11:22
Default 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...
  Reply With Quote

Old   December 16, 2002, 15:56
Default 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
  Reply With Quote

Old   December 17, 2002, 08:38
Default 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!
  Reply With Quote

Old   December 18, 2002, 08:57
Default 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
  Reply With Quote

Old   December 18, 2002, 09:39
Default 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.
  Reply With Quote

Old   December 18, 2002, 10:22
Default 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

----------------

  Reply With Quote

Old   March 17, 2011, 17:39
Default
  #11
New Member
 
Atabak Sadeghi
Join Date: Mar 2011
Posts: 1
Rep Power: 0
ATABAK is on a distinguished road
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
ATABAK is offline   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
Mesh geometry over airfoil with Gambit laith FLUENT 5 March 9, 2018 02:56
[GAMBIT] meshing in GAMBIT, a flow through a pipe having complex inflow geometry mazhar1613 ANSYS Meshing & Geometry 1 January 12, 2012 00:18
Loading geometry to OF 1.5 pa-ma OpenFOAM 0 July 22, 2009 07:36
vitual _ real deneb FLUENT 3 January 22, 2007 05:31
How to construct complex 3D geometry using GAMBIT? Feng FLUENT 5 October 11, 2005 05:13


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