|
[Sponsors] |
June 13, 2006, 09:30 |
gridgen
|
#1 |
Guest
Posts: n/a
|
hello,
i was wondering how could i import airfoil files into gridgen? I have always used gambit and now I have decided to use Gridgen. Moreover since my study involves a "different" airfoil such as the DHMTU I was wondering if this airfoils has the same process as the NACA ones. Thanks. Naz. |
|
June 13, 2006, 10:40 |
Re: gridgen
|
#2 |
Guest
Posts: n/a
|
hi ,how u where importing aerofoil in gambit is it ur importing aerofoil points or profile by itself
|
|
June 17, 2006, 13:11 |
Re: gridgen
|
#3 |
Guest
Posts: n/a
|
How airfoil files are imported depends on their format. If the airfoil shape is defined by a string of (x,y,z) points you can use Gridgen's segment file format (described in documentation) and import it either as a database curve or as a connector. If you have the curve in an IGES file, you can import that as a database.
Hope this helps. |
|
June 20, 2006, 07:15 |
Re: gridgen
|
#4 |
Guest
Posts: n/a
|
thanks for your replies.
i was wondering if the airfoil tutorial in gridgen is a naca 0012? does anyone know??? another question is that I have my profile in a dat file with x y z coordinates. does anyone know what i need to do to import in Gridgen? Thanks once again. Nazario. |
|
June 24, 2006, 15:40 |
Re: gridgen
|
#5 |
Guest
Posts: n/a
|
Nazario,
I don't know what airfoil is used in the Gridgen tutorial, but if you email support@pointwise.com they can probably tell you. If you have an airfoil profile defined by (x,y,z) points, you can put them in a Gridgen segment file and import them as database (geometry). The format of segment files is described in the user manual, but it's a very simple ASCII format: N x1 y1 z1 x2 y2 z2 ... xn yn zn M x1 y1 z1 x2 y2 z2 ... xm ym zn L ... Hope this helps. |
|
June 27, 2006, 11:51 |
Re: gridgen
|
#6 |
Guest
Posts: n/a
|
i cant seem to import mt dat file and i dont know why. I have problems when importing my DHMTU profile.
"An error occured during import. If due to incorrect attributes then make changes on the next menu and then press Done" thanks for everything in advance. Naz. |
|
June 27, 2006, 12:16 |
Re: gridgen
|
#7 |
Guest
Posts: n/a
|
Give the file a .dat extension. That will help Gridgen automatically recognize it on import.
On the File Attributes menu, make sure the file type is set to "segment". |
|
June 27, 2006, 12:36 |
Re: gridgen
|
#8 |
Guest
Posts: n/a
|
thanks I have done that. The file has a dat extension and I have selected segment but it wont import it!
any possibility that it has problems with the numbers after the comma. any chance I can send you the dat file? thanks once again, Naz. |
|
June 27, 2006, 12:49 |
Re: gridgen
|
#9 |
Guest
Posts: n/a
|
What comma? There are no commas in the segment file. Numbers on a line are delimited by spaces.
Yes, email the file to gridgen@pointwise.com. |
|
June 27, 2006, 12:57 |
Re: gridgen
|
#10 |
Guest
Posts: n/a
|
thanks email just sent!
|
|
June 28, 2006, 11:00 |
Re: gridgen
|
#11 |
Guest
Posts: n/a
|
There are 4 things wrong with the file. Fixing 3 of them allows the file to be imported.
The first line of the file should only have one integer: the number of points. I deleted the 2nd integer (a 2). One point's x coordinate was missing the decimal point. One point's y coordinate had a space between the number and the exponent. The fourth problem has something to do with a bad y coordinate for one point. |
|
July 14, 2006, 14:03 |
Re: gridgen
|
#12 |
Guest
Posts: n/a
|
I wrote this in Notepad and saved it as a .dat file. I also cannot get it to import. Any thoughts?
integer 2 integer ni(2) real x(2), y(2), z(2) do n=1, 2 write(1,*) ni(n) do i=1, 2 write(1,*) x(i,n), y(i,n), z(i,n) end do end do 1 3 0 2 5 0 |
|
July 15, 2006, 14:55 |
Re: gridgen
|
#13 |
Guest
Posts: n/a
|
It's hard to say what's wrong with the file based on psuedo-code.
The file format is simple ASCII: number of points x, y, z of 1st point, separated by spaces (no commas) x, y, z of 2nd point etc. Email the file to gridgen@pointwise.com and I'll take a look. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to import NACA 0012 Profile in Gridgen | maplepink | Main CFD Forum | 17 | May 7, 2013 14:01 |
gridgen memory allocation problem | ziad | Pointwise & Gridgen | 5 | February 27, 2010 21:16 |
Glyph command to close GRIDGEN? | chris | Pointwise & Gridgen | 2 | March 25, 2007 15:22 |
Gridgen question | vishwas | Pointwise & Gridgen | 2 | February 25, 2006 17:05 |
CFX & Gridgen user. Please help | Jane | CFX | 1 | March 15, 2004 01:17 |