CFD Online Logo CFD Online URL
Home > Forums > Pointwise & Gridgen


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

LinkBack Thread Tools Display Modes
Old   September 28, 2007, 10:54
Default Gridgen
Posts: n/a
Hi Does anyone know how grids are numbered in Gridgen? Considering a square domain, is the top left corner (i,j)=(1,jlast), where jlast is the last grid point in the positive y-direction.

What function do I use to see the indices of any point?


  Reply With Quote

Old   September 30, 2007, 14:51
Default Re: Gridgen
John Chawner
Posts: n/a

The computational origin (i=1,j=1) of a structured surface grid (domain) is created automatically by the software and can't be determined simply by looking at the grid's orientation in 3D space.

There are two ways to find the i,j coordinates of a structured domain's grid points: one interactive and one scripted.

Interactively, use the Examine command in the Domain menu and turn On the Hiliter. Using the cross-hairs, you can highlight any point on the screen and its coordinates are shown in the Blackboard window.

Using the Glyph scripting language, try gg::domGetPt and gg::domReport to query the domain's grid points. Of course, this approach works in the opposite direction: give it the i,j and get back x,y,z. But it all depends on what you're trying to accomplish.

Hope this helps.
  Reply With Quote


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 13: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 14: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 09:14.