|
[Sponsors] |
Gambit geometry creation: loading data to gambit |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
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? |
|
![]() |
![]() |
![]() |
#2 |
Guest
Posts: n/a
|
yes, i would also like to know this if it is possible? How?
|
|
![]() |
![]() |
![]() |
#3 |
Guest
Posts: n/a
|
You can import xyz type point data in Gambit from the menuy using File/Import/Vertex Data.
|
|
![]() |
![]() |
![]() |
#4 |
Guest
Posts: n/a
|
What type of file it should be?
|
|
![]() |
![]() |
![]() |
#5 |
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...
|
|
![]() |
![]() |
![]() |
#6 |
Guest
Posts: n/a
|
I have tried this once before and used and .dat file and works fine
|
|
![]() |
![]() |
![]() |
#7 |
Guest
Posts: n/a
|
Dear Taher,
Can you please write the procedure in detail. Thanks in advance! |
|
![]() |
![]() |
![]() |
#8 |
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 |
|
![]() |
![]() |
![]() |
#9 |
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 |
|
![]() |
![]() |
![]() |
#10 |
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 ---------------- |
|
![]() |
![]() |
![]() |
#11 | |
New Member
Atabak Sadeghi
Join Date: Mar 2011
Posts: 1
Rep Power: 0 ![]() |
Quote:
|
||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mesh geometry over airfoil with Gambit | laith | FLUENT | 5 | March 9, 2018 01:56 |
[GAMBIT] meshing in GAMBIT, a flow through a pipe having complex inflow geometry | mazhar1613 | ANSYS Meshing & Geometry | 1 | January 11, 2012 23:18 |
Loading geometry to OF 1.5 | pa-ma | OpenFOAM | 0 | July 22, 2009 06:36 |
vitual _ real | deneb | FLUENT | 3 | January 22, 2007 04:31 |
How to construct complex 3D geometry using GAMBIT? | Feng | FLUENT | 5 | October 11, 2005 04:13 |