 $GLOBAL
   PROJECT = .T.,
   ORPHFIX = .T.,
   LEVEL2  = .T.,
   FRINGE  = 2,
   OFFSET  = 1,
   DISTANCE = 35,
   $END

 $MESH NAME =  'body', $END

 $MESH NAME =  'nosecap', $END

 $MESH NAME =  'collar', $END

 $MESH NAME =  'wing', $END

 $MESH NAME =  'wingcap', $END

 $MESH NAME =  'tecap1', $END

 $MESH NAME =  'tecap2', $END

 $MESH NAME =  'tecap3', $END

 $MESH NAME =  'body-box', $END

 $MESH NAME =  'wing-box', $END

 $MESH NAME =  'outer-box' $END

 $MESH NAME =  'h-collar.ih-2', $END

 $MESH NAME =  'horiz.ih-2', $END

 $MESH NAME =  'horizcap.ih-2', $END

 $MESH NAME =  'h-tecap1.ih-2', $END

 $MESH NAME =  'h-tecap2.ih-2', $END

 $MESH NAME =  'h-tecap3.ih-2', $END

 $BCINP ISPARTOF =    'body', 
    IBTYP =     5,   17,   17,   17,
    IBDIR =     3,   -1,    2,   -2,
    JBCS  =     1,   -1,    1,    1,
    JBCE  =    -1,   -1,   -1,   -1,
    KBCS  =     1,    1,    1,   -1,
    KBCE  =    -1,   -1,    1,   -1,
    LBCS  =     1,    1,    1,    1,
    LBCE  =     1,   -1,   -1,   -1,
    YSYM  = 1,
    $END

 $BCINP ISPARTOF =  'nosecap', 
    IBTYP =     5,   17,
    IBDIR =     3,    1,
    JBCS  =     1,    1,
    JBCE  =    -1,    1,
    KBCS  =     1,    1,
    KBCE  =    -1,   -1,
    LBCS  =     1,    1,
    LBCE  =     1,   -1,
    YSYM  = 1,
    $END

 $BCINP ISPARTOF =  'collar', 
    IBTYP =     5,    5,   51,   
    IBDIR =     3,    3,    3,   
    JBCS  =     1,   49,    1,   
    JBCE  =    -1,  -49,   48,   
    KBCS  =     1,   25,   25,   
    KBCE  =    25,   -1,   -1,   
    LBCS  =     1,    1,    1,   
    LBCE  =     1,    1,    1,   
    $END

 $BCINP ISPARTOF =     'wing', 
    IBTYP =     5,   51,   
    IBDIR =     3,    3,   
    JBCS  =    33,    1,   
    JBCE  =   -33,   32,   
    KBCS  =     1,    1,   
    KBCE  =    -1,   -1,   
    LBCS  =     1,    1,   
    LBCE  =     1,    1,   
    $END

 $BCINP ISPARTOF =     'wingcap', 
    IBTYP =     5,   52,
    IBDIR =     3,    3,
    JBCS  =     1,  146,
    JBCE  =   145,   -1,
    KBCS  =     1,    1,
    KBCE  =    -1,   33,
    LBCS  =     1,    1,
    LBCE  =     1,    1,
    $END

 $BCINP ISPARTOF = 'tecap1', 
    IBTYP =     5,
    IBDIR =     3,
    JBCS  =     1,
    JBCE  =    -1,
    KBCS  =     1,
    KBCE  =    -1,
    LBCS  =     1,
    LBCE  =     1,
    $END

 $BCINP ISPARTOF = 'tecap2',
    IBTYP =     5,
    IBDIR =     3,
    JBCS  =     1,
    JBCE  =    -1,
    KBCS  =     1,
    KBCE  =    -1,
    LBCS  =     1,
    LBCE  =     1,
    $END

 $BCINP ISPARTOF = 'tecap3',
    IBTYP =     5,
    IBDIR =     3,
    JBCS  =     1,
    JBCE  =    -1,
    KBCS  =     1,
    KBCE  =    -1,
    LBCS  =     1,
    LBCE  =     1,
    $END

 $BCINP ISPARTOF = 'body-box', 
    IBTYP =    17,
    IBDIR =     2,
    JBCS  =     1,
    JBCE  =    -1,
    KBCS  =     1,
    KBCE  =     1,
    LBCS  =     1,
    LBCE  =    -1,
    YSYM  = 1,
    $END

 $BCINP ISPARTOF = 'wing-box', $END

 $BCINP ISPARTOF = 'outer-box' 
    IBTYP =    40,   31,   40,   17,   40,   40,
    IBDIR =     1,   -1,   -2,    2,    3,   -3,
    JBCS  =     1,   -1,    1,    1,    1,    1,
    JBCE  =     1,   -1,   -1,   -1,   -1,   -1,
    KBCS  =     1,    1,   -1,    1,    1,    1,
    KBCE  =    -1,   -1,   -1,    1,   -1,   -1,
    LBCS  =     1,    1,    1,    1,    1,   -1,
    LBCE  =    -1,   -1,   -1,   -1,    1,   -1,
    YSYM  = 1,
    $END

 $BCINP ISPARTOF =  'h-collar.ih-2',
    IBTYP =     5,    5,   51,
    IBDIR =     3,    3,    3,
    JBCS  =     1,   49,    1,
    JBCE  =    -1,  -49,   48,
    KBCS  =     1,   25,   25,
    KBCE  =    25,   -1,   -1,
    LBCS  =     1,    1,    1,
    LBCE  =     1,    1,    1,
    $END

 $BCINP ISPARTOF =     'horiz.ih-2',
    IBTYP =     5,   51,
    IBDIR =     3,    3,
    JBCS  =    33,    1,
    JBCE  =   -33,   32,
    KBCS  =     1,    1,
    KBCE  =    -1,   -1,
    LBCS  =     1,    1,
    LBCE  =     1,    1,
    $END

 $BCINP ISPARTOF =     'horizcap.ih-2',
    IBTYP =     5,   52,
    IBDIR =     3,    3,
    JBCS  =     1,  146,
    JBCE  =   145,   -1,
    KBCS  =     1,    1,
    KBCE  =    -1,   33,
    LBCS  =     1,    1,
    LBCE  =     1,    1,
    $END

 $BCINP ISPARTOF = 'h-tecap1.ih-2',
    IBTYP =     5,
    IBDIR =     3,
    JBCS  =     1,
    JBCE  =    -1,
    KBCS  =     1,
    KBCE  =    -1,
    LBCS  =     1,
    LBCE  =     1,
    $END

 $BCINP ISPARTOF = 'h-tecap2.ih-2',
    IBTYP =     5,
    IBDIR =     3,
    JBCS  =     1,
    JBCE  =    -1,
    KBCS  =     1,
    KBCE  =    -1,
    LBCS  =     1,
    LBCE  =     1,
    $END

 $BCINP ISPARTOF = 'h-tecap3.ih-2',
    IBTYP =     5,
    IBDIR =     3,
    JBCS  =     1,
    JBCE  =    -1,
    KBCS  =     1,
    KBCE  =    -1,
    LBCS  =     1,
    LBCE  =     1,
    $END
C
C  Index cutter in body.
C
    $REGION NAME = 'Index cutter in body',
           ISPARTOF = 'body',
                       $END

      $VOLUME ISPARTOF = 'Index cutter in body',
           JRANGE = 260, 263,
           KRANGE =  48,  49,
           LRANGE =   1,  32,
                      $END
C
C  Index cutter in collar.
C
    $REGION NAME = 'Index cutter in collar',
           ISPARTOF = 'collar',
                       $END

      $VOLUME ISPARTOF = 'Index cutter in collar',
           JRANGE =  49,  59,
           KRANGE =  25,  -1,
           LRANGE =   1,  20,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in collar',
           JRANGE = -59, -49,
           KRANGE =  25,  -1,
           LRANGE =   1,  20,
                      $END
C
C  Index cutter in wing.
C
    $REGION NAME = 'Index cutter in wing',
           ISPARTOF = 'wing',
                       $END

      $VOLUME ISPARTOF = 'Index cutter in wing',
           JRANGE =  33,  43,
           KRANGE =   1,  -1,
           LRANGE =   1,  20,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in wing',
           JRANGE = -33, -43,
           KRANGE =   1,  -1,
           LRANGE =   1,  20,
                      $END
C
C  Index cutter in wingcap.
C
    $REGION NAME = 'Index cutter in wingcap',
           ISPARTOF = 'wingcap',
                       $END

      $VOLUME ISPARTOF = 'Index cutter in wingcap',
           JRANGE = 135, 145,
           KRANGE =   1,  -1,
           LRANGE =   1,  20,
                      $END
C
C  Index cutter in h-collar.ih-2.
C
    $REGION NAME = 'Index cutter in h-collar.ih-2',
           ISPARTOF = 'h-collar.ih-2',
                       $END

      $VOLUME ISPARTOF = 'Index cutter in h-collar.ih-2',
           JRANGE =  49,  59,
           KRANGE =  25,  -1,
           LRANGE =   1,  20,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in h-collar.ih-2',
           JRANGE = -59, -49,
           KRANGE =  25,  -1,
           LRANGE =   1,  20,
                      $END
C
C  Index cutter in horiz.ih-2.
C
    $REGION NAME = 'Index cutter in horiz.ih-2',
           ISPARTOF = 'horiz.ih-2',
                       $END

      $VOLUME ISPARTOF = 'Index cutter in horiz.ih-2',
           JRANGE =  33,  43,
           KRANGE =   1,  -1,
           LRANGE =   1,  20,
                      $END

      $VOLUME ISPARTOF = 'Index cutter in horiz.ih-2',
           JRANGE = -43, -33,
           KRANGE =   1,  -1,
           LRANGE =   1,  20,
                      $END
C
C  Index cutter in horizcap.ih-2.
C
    $REGION NAME = 'Index cutter in horizcap.ih-2',
           ISPARTOF = 'horizcap.ih-2',
                       $END

      $VOLUME ISPARTOF = 'Index cutter in horizcap.ih-2',
           JRANGE = 135, 145,
           KRANGE =   1,  -1,
           LRANGE =   1,  20,
                      $END
C
C  Exclude misc grids from hole cutting.
C
    $HCUT NAME = 'Exclude misc grids',
           EXCLUDE = 'tecap1',
                     'tecap2',
                     'tecap3',
                     'wingcap',
                     'h-tecap1.ih-2',
                     'h-tecap2.ih-2',
                     'h-tecap3.ih-2',
                     'horizcap.ih-2',
                      $END
C
C  Symmetry Plane Trim.
C
    $BOUNDARY NAME = 'symmetry plane trim',
           ISPARTOF = 'outer-box',
           MHOLEIN  = 'collar', 'h-collar.ih-2', 'horiz.ih-2',
           CLOSED = .F.,
                       $END

      $SURFACE ISPARTOF = 'symmetry plane trim',
           JRANGE =  1, -1,
           KRANGE =  1,  1,
           LRANGE =  1, -1,
           NVOUT  = '+K',
                       $END
