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 toolbar (Figure 21149927666).
  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 two more splines along each end of the domain. These two 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 toolbar, as shown in Figure 31149927666
  5. Create Grid from Splines form will pop up as shown in Figure 4 1149927666. From this form, the number of grid cells between two splines needs to be defined by entering a number of cells in the I and J directions (default values are 4). Figure 5 1149927666 shows an example of the grid generated.

...

Anchor
Figure 1
Figure 1


Figure 1. Draw splines procedure.


Anchor
Figure 2
Figure 2

Figure 2. Create Splines.

Anchor
Figure 3
Figure 3


Figure 3. Create Grid from Splines.

Anchor
Figure 4
Figure 4


Figure 4. Define the number of grid cells.

Anchor
Figure 5
Figure 5


Figure 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.