The following steps introduce how to create Creating a grid is a straightforward process. The important principle is that for each grid, at least four splines are needed. 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:
- From the Splines menu, select Draw a New Spline or click on the Add a new spline button from the main menutoolbar (1149927666).
- LMC to start drawing a spline, and RMC to end drawing the spline. Two first splines need to be done.Next, keep using the drawing splines mode, LMC on the beginning node of the first spline then RMC on the beginning node of the second Draw a second spline close to parallel to the first spline.
- Next, LMC on the ending node of the first spline then RMC on the ending node of the second spline.
- Result is a closed splines created from four splines.
- Next, select the Select object button from main toolbar, LMC on inside the splines, then splines will be highlighted (turn into red)
- From the Splines menu, select Create Grid from Splines or click on the Create draw two more splines along each end of the domain. These two splines must intersect the previous two splines (1149927666)
- 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 1149927666
- Create Grid from Splines form will pop up as shown in Figure 2.
...
Figure 1 Select splines to highlight.
...
- 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)
...
- . 1149927666 shows an example of the grid generated.
Anchor | ||||
---|---|---|---|---|
|
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 form.
2 Anchor Figure
24 Figure 4
Figure 3 An example of generated grid (12x10) with growth factor = 0 for I and J direction.
Figure 4 An example of generated grid (12x10) with growth factor = 2 for I and J direction4. Define the number of grid cells.
Anchor Figure 5 Figure 5
Figure 5. An example of the generated grid.
Info | ||
---|---|---|
| ||
You 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. |