The sm_offset utility generates an offset surface grid given a water-tight input surface grid
| -case [file_name] | Specifies the input grid file name. Expects a ".surf.gz" as input. |
| -ignore # | Surface ID tag of surface to ignore. Allows input of legacy surface mesh files with farfield without editing. |
| -separate | Create individual offset surfaces for each watertight group. |
| -no_clean | Do not remove pimples, dimples, varicose viens and wrinkles. This option is off by default. |
| -dist # | Offset distance. Default unspecified. |
| -fraction # | Fraction of maxlen to use as distance, if distance unspecified. If -separate, fraction will be applied to each watertight group. |
| -size # | Offset element size. Default unspecified. Calculated as max_edge_length*(1.+log10(dist/max_edge_length) |
| -scale # | Octree scale ratio. Octree length based on scale*(max_length+2*distance). |
| -smooth_normals # | Number of face normal smoothing iterations. Default is 25. |
| -normal_rf # | Normal smoothing relaxation factor (0.>rf<=1.). |
| -smooth_faces # | Number of quad face smoothing iterations. Default is 5. |
| -face_rf # | Face smoothing relaxtion factor (0.>rf<=1). |
| -inviscid | Mark input surface grid as inviscid. Default is viscous |
| -Re # | Reynolds Number. Default is 1e+06. |
| -y+ # | Default is 1. |
| -refx # | Reference Length. Default is 1. |
| -aflr3 | Execute aflr3. Default is script only. |
| -help | Prints the help screen. |
| -version | Prints the version information of the executable and the associated libraries |
| -build | Prints the build number of the executable |
Options listed in red are mandatory.
Access the tutorial here.
![]() |
![]() |
![]() |
![]() |
![]() |