Applying the Growth Distribution Function to Connectors (2D T-Rex)
After 2D T-Rex grids are created, you may find that the distribution of grid points on connectors that touch the edge from which anisotropic triangles grow may not match the growth of anisotropic layers. These distributions can be set to match your T-Rex grid easily by applying the Growth distribution function to the connectors.
Begin with a 2D T-Rex grid like the example shown below of a wing where the curvature of the leading edge was resolved by anisotropic triangles. Notice that the Chordwise Connectors near the leading edge do not have the same initial spacing or growth rate as the T-Rex grids.
Refer to the example and apply the steps to your own geometry. Note that the numbers in the following steps apply to the example; you will need to determine which settings work best for your own grid.
This value must be the same initial spacing that was used for the Δs field of the Wall BC when creating the T-Rex grids.
This value should be approximately the same spacing as the spanwise spacing constraints at the trailing edge root.
The image above shows the grid after all spacing constraints have been set. Notice that the spacing still does not match that of the T-Rex grid, as you can see clearly on the tip of the wing. Now we need to apply appropriate growth distribution parameters to the connectors.
Notice the symbols that appear on the ends of the selected connectors in the image below. A triangle symbol indicates the beginning of the connector distribution and a square symbol indicates the end. You can see in this example, the beginning of the connector distributions are at the leading edge and the ends are at the trailing edge.
We will set the same values here that we applied when creating the T-Rex grids.
Notice that we left the End Growth Distribution Parameters set to zero. This is because no growth occurs on the end of the Chordwise Connectors' distribution.
If you are satisfied with the updated connector distribution and grid, click OK. But if you think the Chordwise Connectors now need more or less grid points past the T-Rex region of the domains, you can fix this in the Dimension tab.
You can see in the image below that for our example, the spacing towards the trailing edge of the connector on the tip of the wing still needs more grid points.
The Set Optimal Dimension command calculates and applies grid points so that you have a smooth distribution between the T-Rex region of the connector distribution and the end spacing.
Now you can see how our new growth distribution function can help you match connectors to 2D T-Rex grids quickly and easily.
Back to the main DIY training page.
If you have questions about the steps outlined above or on any other meshing topic, please contact us via one of the following methods.