Component FileThe name of a component file can optionally be specified as input to ugform (see Utility Code Reference), on Line 11 of the parameter input list. If no component file is available, the entry none on Line 11 will cause ugform to automatically create a single component and a single body for the entire grid. To specify various components and bodies on the grid, a component file is created by the user the name of which is specified on Line 11 of the ugform input list. A sample component file is shown below. Components are specified as groups of surface patches, and bodies are specified as groups of components. Each component/body must be assigned a name, and all patches/components must belong to only one component/body.
SAMPLE COMPONENT DEFINITION FILE ============================================ GROUPING OF PATCHES INTO COMPONENTS ============================================ NUMBER OF COMPONENTS 4. ICOMP COMP_NAME 1. FUSELAGE 2. WING 3. SYMMETRY_PLANE 4. OUTER_BOUNDARY -------------------------------------------- COMPONENT DEFINITIONS COMPONENT BEG_PATCH END_PATCH 1. 1. 5. 1. 11. 12. 1. 14. 59. 2. 60. 87. 2. 95. 98. 2. 88. 94. 3. 13. 13. 4. 6. 10. -------------------------------------------- EXCEPTIONS COMPONENT PATCH 1. 60. 1. 67. 1. 74. 1. 81. 1. 88. ============================================ GROUPING OF COMPONENTS INTO BODIES ============================================ NBOD 2. IBOD BOD_NAME 1. AIRPLANE 2. OUTER_BOUNDARY -------------------------------------------- BODY DEFINITIONS BODY BEG_COMP END_COMP 1. 1. 2. 2. 3. 4. -------------------------------------------- EXCEPTIONS BODY COMPONENT 1. 1. 1. 2. |