Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
build | 2014-02-04 | 411 Bytes | |
README | 2013-10-30 | 1.7 kB | |
rectify_grid.f90 | 2006-07-16 | 10.8 kB | |
Totals: 3 Items | 12.9 kB | 0 |
RECTIFY_GRID Description: RECTIFY_GRID scans a grid for blocks that are not right-handed, and swaps their (i,j) ordering for x, y, and z. An optional "q" file (or rather a PLOT3D-type function file) may be similarly reordered. For the surface case, the user needs to indicate which patches are to be rectified via any meaningful integer list entered at the keyboard on a single line. E.g.: 1 3:6 11-13 In this case, if an empty line is entered, the program will write a function file containing components of the unit normals to each point. Typically, contour plotting of one of these components should suffice to tell whether the patch is right-handed (normal pointing out) or not. Omitting any function file if normals are to be calculated is sensible. Then, if necessary, the program can be rerun and the appropriate patches to rectify can be entered interactively. Control file ('rectify_grid.inp'): RECTIFY_GRID control file mygrid.g Input grid T Formatted? none Accompanying function file, or 'none' T rectified.g Rectified grid T Formatted? none Rectified function file Procedures: XYZQ_IO package I/O utilities for PLOT3D grid and function files History: 04/21/04 D. Saunders Adaptation of EXTRACT_BLOCKS. 04/22/04 " Cell volumes work except for surface patches, so prompt for the patches to flip. 07/15/06 " Added output of surface normal components as an aid to identifying left-handed patches. Author: David Saunders, ELORET/NASA Ames Research Ctr., Moffett Field, CA