Download User Manual
Transcript
Composite Database File 7.2.4). When importing a segment file Gridgen reads until the end of file is reached. The segment file must be ASCII. A code fragment for writing a segment file is shown below. c.....nmax is the number of segments c.....ni(n) is the number of points on segment n c.....imax is the number of points integer nmax integer ni(nmax) real x(imax), y(imax), z(imax) do n = 1, nmax write(1,*) ni(n) do i = 1, ni(n) write(1,*) x(i,n), y(i,n), z(i,n) end do end do 18.6 Composite Database File Gridgen’s composite database file is provided as a means of consolidating all database entities and database display information in a single file. Since not all entities are supported by each of the file types (for example, conic arcs may only be imported via an IGES file) the composite file provides a means of exporting (Section 4.5) an entire geometry model that may have originated in several file formats in a single, convenient file. The composite file is also a convenient mechanism for storing database entities that are created or modified by Gridgen (for example, use of the Copy and Translate commands in the DATABASE COMMANDS menu). Finally, the composite file also stores the database display data (which entities are enabled, how they are displayed and in what color) and entity names and groups created in Gridgen. The bottom line is the composite database file should be used whenever any changes have been made to the database after import. A detailed description of the composite file is omitted due to its complexity. The composite file is written only in ASCII format. Binary, and either single or double precision composite database files written by older Gridgen versions may be imported. 18.7 FIELDVIEW Unstructured File Tetrahedral volume grids may be imported (Section 4.6) and structured, unstructured, hybrid grids may be exported (Section 4.7) in the FIELDVIEW Unstructured File (FV-UNS) format. This neutral file is used by Intelligent Light’s (http://www.ilight.com) CFD post-processing software of the same name. Please contact Intelligent Light for further information on the format of this file. 18.8 Generic Flow Solver BC File The generic flow solver's (Section 17.8.1) boundary condition file is an ASCII file used to export boundary condition data for un-supported analysis software. The code fragment below describes this file's contents in detail to assist you in preparing a translator if necessary. Note, the generic flow solver boundary condition file is for structured grids only. For unstructured grids, the generic format (grid and boundary condition) is in FV-UNS file format. write flow_solver_id write number_of_blocks do number_of_blocks 18-3