Refine grid based on guide points from an adjacent grid
Before connecting two grids, we usually orthogonalize each grid first. The advantage of this activity is that Grid+ does orthogonalization quickly as the grid domain is small. However, grid nodes near the contact segment between two grids are not aligned, which can be a barrier when connecting two grids. So, this page will introduce steps on how to resolve this issue by using a feature from Grid+. Besides supporting grid connection, another purpose of using this option is to keep or fix the grid nodes from the first grid, and the grid nodes of the second grid must follow the first grid.
Suppose that we have two grids, as shown in Figure 1. These two grids are orthogonalized. We can see that grid nodes from two grids are not aligned in the contact segment.
Left-mouse click (LMC) on a grid in the Layer Control panel (e.g., Grid 001), then LMC on a grid node, hold the Shift key, and left mouse click on the second node on the same grid segment. In this case, Grid 001 has six cells, so there are seven nodes, but we just select five nodes in between, not including two boundary nodes. It will be highlighted, as shown in Figure 2. After that, right-mouse click (RMC) to show options, then select Copy to Memory as Guide Points.
LMC on the second grid in the Layer Control panel (e.g., Grid 003), hold the Shift key, and LMC on the second node on the same grid segment. For Grid 003, there are six cells, so there are seven nodes. We need to select six nodes, including two boundary nodes. It will be highlighted, as shown in Figure 3. After that, RMC to show options, then select Refine Grid according to Guide Points.
As a result, a new grid is generated in the Layer Control (e.g., Grid 004). In this grid, we can see that the grid nodes in the contact area are aligned with the grid nodes of Grid 001, as shown in Figure 4. Now, we can connect Grid 001 with Grid 004 easily.
Figure 1. Two orthogonalized grids.
Figure 2. Copy to Memory as Guide Points applied for Grid 1.
Figure 3. Refine the Grid according to Guide Points applied for Grid 2.
Figure 4. A New refined grid was generated.