UG_IO SimSys BEDGE 2D Grid File Type

A 2D BEDGE file contains a boundary edge grid.

     { Number_of_Curves }

     { [ Number_of_Sub_Curves for closed curve 1,
         Number_of_Sub_Curves for closed curve 2,
         ...
         Number_of_Sub_Curves for closed curve Number_of_Curves ] }

     { [ Number_of_Sub_Curve_Nodes for sub-curve 1,
         Number_of_Sub_Curve_Nodes for sub-curve 2,
         ...
         Number_of_Sub_Curve_Nodes for sub-curve Number_of_Total_Sub_Curves ] }

     { [ grid boundary condition flag for sub-curve 1,
         grid boundary condition flag for sub-curve 2,
         ...
         grid boundary condition flag for sub-curve Number_of_Total_Sub_Curves ] }

     { [ (X, Y) for node 1,
         (X, Y) for node 2,
         ...
         (X, Y) for node Number_of_Nodes ] }

     *{ [ initial normal spacing for node 1,
          initial normal spacing for node 2,
          ...
          initial normal spacing for node Number_of_Nodes ] }*

     Number_of_Curves		: Number of closed boundary curves.
     Number_of_Sub_Curves		: Number of boundary curve segments in a single
    				  closed boundary curve.
     Number_of_Sub_Curve_Nodes	: Number of grid nodes in a single boundary
    				  curve segment.
     Number_of_Total_Sub_Curves	: Total number of boundary curve segments in all
    				  closed boundary curves. This is the sum total
    				  of the number of boundary curve segments for
    				  each closed boundary curve,
    				  Number_of_Sub_Curves.
     Number_of_Nodes		: Total number of grid nodes. This is the sum
    				  total of the number of grid nodes for each
    				  boundary curve segment,
    				  Number_of_Sub_Curve_Nodes.

In the above description, the parentheses ( ... ) are for grouping, the brackets [ ... ] enclose items in a loop, and braces { ... } enclose items in a single logical record. The "initial normal spacing" in starred braces *{ ... }* is an optional record. If it is not found then reading of the file will end.

Within AFLR2 the use of boundary curve segments or sub-curves allows control of spline fits and specification of boundary conditions. Separate spline curve fits to the boundary edge coordinates are used for each boundary curve segment or sub-curve.

The data may be written out or read in using records the length of loops or of the individual data items. Data items may be written out in free format of any specific form. ASCII formatted is the only file format supported for BEDGE type grid files.

Up One Level

UG_IO SimSys Files Home