CFD Online URL
[Sponsors]
Home > Forums > Pointwise & Gridgen

gridgen

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 13, 2006, 09:30
Default gridgen
  #1
Naz
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.
  Reply With Quote

Old   June 13, 2006, 10:40
Default Re: gridgen
  #2
bajjal
Guest
 
Posts: n/a
hi ,how u where importing aerofoil in gambit is it ur importing aerofoil points or profile by itself
  Reply With Quote

Old   June 17, 2006, 13:11
Default Re: gridgen
  #3
John Chawner
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.
  Reply With Quote

Old   June 20, 2006, 07:15
Default Re: gridgen
  #4
Naz
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.
  Reply With Quote

Old   June 24, 2006, 15:40
Default Re: gridgen
  #5
John Chawner
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.
  Reply With Quote

Old   June 27, 2006, 11:51
Default Re: gridgen
  #6
Naz
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.
  Reply With Quote

Old   June 27, 2006, 12:16
Default Re: gridgen
  #7
John Chawner
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".
  Reply With Quote

Old   June 27, 2006, 12:36
Default Re: gridgen
  #8
Naz
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.
  Reply With Quote

Old   June 27, 2006, 12:49
Default Re: gridgen
  #9
John Chawner
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.
  Reply With Quote

Old   June 27, 2006, 12:57
Default Re: gridgen
  #10
Naz
Guest
 
Posts: n/a
thanks email just sent!
  Reply With Quote

Old   June 28, 2006, 11:00
Default Re: gridgen
  #11
John Chawner
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.
  Reply With Quote

Old   July 14, 2006, 14:03
Default Re: gridgen
  #12
Russell
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
  Reply With Quote

Old   July 15, 2006, 14:55
Default Re: gridgen
  #13
John Chawner
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.

  Reply With Quote

Reply

Thread Tools
Display Modes

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


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


All times are GMT -4. The time now is 16:46.