Hi Dominic You might want to use a DataPointMapping for then you can change the individual grid points. ...Bill #DOMINIC DENVER JOHN CHANDAR# wrote:
Hi Bill, Thanks a lot. It worked fine. I'm now trying to modfiy the surface grid points based on the originial airfoil profile. I call the NurbsMapping class to create a new surface from the existing vertices (as in the code I had attached previously). But when I pass this surface as the "initial surface" to the hyperbolic grid generator, it throws the same error...Also Is it possible to modify the vertex information from AirfoilMapping and then update it? Regards, Dominic-----Original Message----- From: overture-bounce@xxxxxxxxxxxxx [mailto:overture-bounce@xxxxxxxxxxxxx] On Behalf Of Bill Henshaw Sent: Wednesday, January 30, 2008 12:22 PM To: freelists Subject: [overture] Re: Hyberbolic grid generation without Ogen Hi Dominic, The attached file contains the main program airfoil.C that shows how to generate the naca airfoil grid with the hyperbolic grid generator. I have also attached some new versions of Overture files that you should use, replacing the ones you have. regards, Bill. #DOMINIC DENVER JOHN CHANDAR# wrote:Hi,I'm trying to write up a small code to generate a a grid around an airfoil without ogen using the HyperbolicMapping class. I followed thenaca.hype.cmd ogen command file and i still think that i have missed some information in the code since i always end up in getting a negative volume error (Some problem in the T.E). But the naca.hype.cmdworks very well using ogen...(I've used similar parameters for both the cmd file and the source code). The code is as follows. Any ways torectify this error ?... Many thanks....Dominic