This volume-grid plane shows the results of using the Thomas & Middlecoff source terms in solving Poisson's Equation for volume grid generation. Notice the interior does have some orthogonality, but the points near the edges do not.
Within 3DMAGGS, the Thomas & Middlecoff source terms may be used alone or in combination with the Sorenson & Steger source terms. The Sorenson & Steger source terms are implicitly computed and corrected iteratively until the first point away from a boundary is orthogonal to the boundary, as shown below:
As stated above, the Thomas & Middlecoff source terms can be combined with the Sorenson & Steger source terms. This combination results in a grid with both orthogonality at the defining edges and near orthogonality on the interior of a volume grid. Shown below is the results of combining both types of source terms.
Typically, Thomas & Middlecoff source terms are used to improve the quality of grid lines extending from the surface of a vehicle to the outer boundary where the flow field in a CFD simulation is undisturbed by the vehicle. Though, Sorenson & Steger is the usual method employed for obtaining orthogonality in a volume grid, the addition of Thomas & Middlecoff can significantly improve the grid adaption process to simulated flow fields. The improvement comes from the increased straightness of grid lines from the surface of the vehicle and the outer boundary. Thus, the hybrid control functions (or source terms) of Sorenson & Steger and Thomas & Middlecoff offer better modeling of a flow field by enabling enhanced grid adaption.
As stated before, the 3DMAGGS code can be an order of magnitude faster that GRIDGEN3D. The plot below shows a difference of 7.5 times, but notice the location of the residuals after 15,000 seconds of CRAY-II computing.
The GRIDGEN3D code has not yet converged! The data presented above was generated from the volume generation of a two block analytical shape .
Blend between opposing faces in the I-direction:
Blend between opposing faces in the J-direction:
Blend between opposing faces in the I- and J-directions:
Modified TFI (correction terms omitted):
Use of these various methods gives the user the option to choose or make up a cell sizing function for import into 3DMAGGS.
***** PRE 3DMAGGS CONTROL FILE ***** ------------------------------------------------------------------------------- Working directory of 3DMAGGS runs (a):~/mesh/ssv/c1/3dmaggs/elevon/10/ FLAGS ctd,face,dsi,3dj,3dg,3dv (6i2): 1 1 1 1 1 1 UNIX Script file (cray,sgi,onyx) (a):sgi Configuration name (a):SSV001VIS -> Controls @ 10 degrees Default file name prefix (a):elv10-vol Block Information file (*.bnda) (a):elv10-vol.bnda Face Information file (*.mlga) (a):elv10-vol.mlga Number of iteration sequences (i2):03 Number of Laplace(0) Coarse(0)/ Thomas & Iterations Poisson(1) Fine(1) Middlecoff 100 0 1 0 300 1 1 0 600 1 1 3 Relaxation parameter (f12.6):-.75 Decay rates for each block/face (f12.6):6. Block Face Decay Number Number Rate 1 1 -.45 1 2 0.40 1 3 0.40 1 4 0.25 1 5 0.25 1 6 0.15 Sorenson init (1); 3DTFI (2) (f12.6): 2. Orthogonality Control (i4): -6 Block Face Interp. Interp. Blending Normalized Number Number indx1->3 indx2->4 Function Arc Lengths 1 1 2 2 3 1 1 2 1 1 3 1 1 3 1 1 1 1 1 4 1 1 1 1 1 5 1 1 3 1 1 6 2 2 3 1
The PREMAGGS code generates all the input data decks for 3DMAGGS, generates scripts to control 3DMAGGS based on architecture, redimensions 3DMAGGS and 3DVOLCHK for the proper amount of memory required, and generates the cell heights used in the formulation of orthogonality controls with the Poisson equation solver. This preprocessor significantly reduces the steps to convert GRIDGEN3D input data to the point of running the 3DMAGGS code to develop a volume grid.