CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Pointwise & Gridgen (
-   -   Gridgen node spacing (

Vincent July 27, 2006 03:06

Gridgen node spacing
When I constrain the node spacing on both ends of a connector, the resulting distribution gives a maximum node spacing that is larger than the node spacing specified at both ends. I want to create a connector with a delta s of 2 on one end and 20 on the other end, and the maximum delta s on the connector should not exceed 20. So I need for instance a geometric progression starting with 2 and increasing to 20 on the first part of the connector, and a constant sizing for the rest of the connector. How can I do this without splitting the connector?

ag July 27, 2006 07:51

Re: Gridgen node spacing
You can put a breakpoint on the connector and use that to set spacings internally. Go to the "Redistribute" menu and look at the breakpoint functions.

John Chawner July 30, 2006 12:33

Re: Gridgen node spacing
ag's suggestion about adding a break point at the location where the point spacing reaches 20 and then remains constant is a good one.

If you don't want to have to constrain the location at which the spacing achieves a value of 20 (which you have to do with the break point idea), and if the number of grid points on the connector doesn't have to remain fixed at a specified value, there's a script on the Glyph Script Exchange ( that does pretty much what you want: given the spacing constraints and a maximum spacing allowed anywhere on the connector, it automatically adds points until those criteria are reached.

Also, strictly speaking, geometric progression won't work because it's a 1-sided function - you can only specify the constraint at one end.

All times are GMT -4. The time now is 01:55.