GEN_X (X-ray Map Generator) Version 1.0

Authors: Robert L. Meakin

Date: March, 2000.

GEN_X creates a file called "gen_x.xry" which is used by OVERFLOW-D to cut chimera holes. "gen_x.xry" contains all object xray images available to the flow solver. Generation of the xrays is a pre-process, like grid generation, but fully automatic given appropriate object surface definitions. Object surface definitions are given to GEN_X via PLOT3D/mg/un grid files, where each grid component is a surface entity. Surface grids that define the hole cutter may overlap in an arbitrary amount. However, the combination of all surface grids in the definition MUST form a closed surface, and their surface normals should all be pointing outwards.

A single object definition (PLOT3D/mg/un file) can have any number of xrays images taken. The logic here is to make judicious use of the finite number of rays that make up the images. Hence, you may wish to xray the wings, fuselage, engine, flaps, etc. seperately (if the object is an aircraft) rather than the enitre aircraft in 1 image.

Sometimes it is convenient to xray objects seperately. For example, one might wish to xray a wing separate from an external store, or rotor blades separate from the helicopter fuselage, etc. Or, you might want to xray a portion of an object separate from the rest. For example, the v22 refueling tube, viewed from the top cannot be separated from the fuselage nose. However, if the tube is extracted from the object definition using, say OVERGRID, and closed off, the tube can be xrayed separately. When this is done, gen_x will create a gen_x.xry file for each object xrayed. In order for the flow solver to use the xrays, they must be concatenated into a single gen_x.xry file. This can be done in the GEN_X module in OVERGRID using READ NEW and READ APPEND.

Input Files

Two input files are required:
  1. PLOT3D grid file containing object surface definition - in PLOT3D 3-D format but can be single or multiple grids, unformatted or formatted.
  2. Input parameters file - described below.

Output Files

  1. Output message file
  2. gen_x.xry file containing bounding boxes, xray maps, and body ID's

Execution

gen_x < [input parameters filename] > [output messages filename]

Sample Input Parameters File and Explanation of Parameters


input_object_surface_definition_filename
2                   ISPOPT(1/2/3)
0.005               DS
0.0                 DELTA
1                   NCROPS
1                   IDBODY
149.285850, 303.130459, -2.988773, 101.537192, 0.000000, 87.940697


ISOPT       =  spacing specification option
               ( 1 = absolute
                 2 = fraction of global bounding box diagonal of object
                 3 = fraction of xray bounding box diagonal )

DS          =  xray image spacing

DELTA       =  maximum anticipated offset distance to be used with maps, i.e.,
               a point within DELTA of the cutting surface will get blanked

NCROPS      = number of xray maps to be made

For N=1,NCROPS, enter the following block

{

IDBODY      =  body ID of xray map

XMIN,XMAX,YMIN,YMAX,ZMIN,ZMAX    =   x,y,z minmaxs of bounding box for xray

}

Last modified: Wed Mar 29 15:36:00 2000