Cart3D preSpec.c3d.cntl


#
#    This file contains samples showing how to pre-specify regions for
#    adaptation at durring mesh generation, and how to list components
#    on which you want "cubes" to do additional mesh refinement.

#    COMMENTS begin with '#' and can be added anyplace
#
#    to get "cubes" to look at this file use the -pre <filename> command line
#    option, (e.g. % cubes -pre preSpec.c3d.cntl) If you dont use the -pre
#    option, it will  assume no preSpec file exists.
#
#    ----------------------------------------------------
# FORMAT:
#    (min and maxes are defined in the same space as the mesh is generated)
#
# BBox: level   Xmin   Xmax      Ymin   Ymax      Zmin    Zmax
#      (int)  (float) (float)   (float) (float)  (float)  (float)
#
# XLev: NumXtraLevels Comp  Comp  Comp ...
# XLev:  (int)        (int) (int) (int) ...
#

#    ----------------------------------------------------

$__Prespecified_Adaptation_Regions:   # <-Section heading(required)
                                                  #   This example was for a transonic
                                                  #         ONERAM6 wing
BBox: 7   0.  1.     -1.  1.      0.   1.4  #  <- cover the whole wing
BBox: 8   0.  0.77    0.  1.5     0.   0.78 #  <- inboard upper surface
BBox: 8   0.4 1.2     0.  1.2     0.75 1.6  #  <- outboard upper surface
#
# XLev:'s are optional and generally used rarely
#

XLev: 2   2   3  8  13   # ... do 2 extra ref passes on comps 2, 3, 8 & 13
XLev: 1   1   4          # ... do 1 extra ref pass on comps 1 & 4

# ===================================================
NOTES:
#   o  in this sample, there are 2 bounding boxes (the 2 "BBox:" tags)
#      these must FOLLOW a the left justified SECTION HEADING
#      "$__Prespecified_Adaptation_Regions:"
#      as shown above.
#
#   o  EMACS USERS: emacs will automatically highlight this file for you in
#      shell-script-mode. to get it to do this automatically, add the
#      following line to your .emacs file.
#      (setq auto-mode-alist
#            (append'(("\\.cntl$" . shell-script-mode) ) auto-mode-alist))