Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Creating a grid is a straightforward process. The important principle is that for each grid, at least four splines are needed that intersect in four places. The splines should intersect each other at only point and the splines in the same orientation should not intersect each other. Follow these steps to create a simple grid:

  1. From the Splines menu, select Draw a New Spline or click on the Add a new spline button from the main menutoolbar (1149927666).
  2. LMC to start drawing a spline, and RMC to end drawing the spline. Draw a second spline close to parallel to the first spline.
  3. Next, draw to two more splines along each end of the domain. These two spline splines must intersect the previous two splines (Figure 11149927666)
  4. RMC on the Splines layer in the Layer Control panel, then select the Create Grid option or click on the Create Grid from Splines button from the main menutoolbar, as shown in Figure 21149927666
  5. Create Grid from Splines form will pop up as shown in Figure 3 1149927666. From this form, the number of grid cells between two splines needs to be defined by entering a number of cell cells in the I and J directions (default values are 4). The values input for Growth Factor will define the spacing distance for nodes of the grid, with default values (zero), nodes are distributed evenly in I and J directions. Figure 4 1149927666 shows an example for of the grid generated.


Anchor
Figure 1
Figure 1


Figure 1. Draw splines procedure.


Anchor
Figure 2
Figure 2

Image RemovedImage Added

Figure 2. Create Grid from Splines.

Anchor
Figure 3
Figure 3

Image RemovedImage Added

Figure 3. Create Grid from Splines.

Anchor
Figure 4
Figure 4

Image Added

Figure 4. Define the number of grid cells.

Anchor
Figure 45
Figure 45

Image RemovedImage Added

Figure 4 5. An example of the generated grid.


Info
titleTip

When drawing splines to generate a grid, splines should not be too long, and the length of the splines should be less than approximately five times the width of splinesYou can control the intensity of the grid for each region by dividing the computational domain into subregions between splines.

It is faster for grid generation if all splines in the same orientation have the same directions.