SMOOTH Version 1.0

Authors: William M. Chan and Robert L. Meakin

Date: November, 1997.

Smooth is a program for performing smoothing on a curve, surface, or volume grid. It is based on an older program by Robert Meakin. Smoothing is performed in any combination of J, K, L directions on a subset of a single grid in PLOT3D format. The user has the option to control the size of the transition region where the grid disturbance smoothly changes from zero at the subset boundary to the maximum computed from the smoothing operation at the end of the transition region.

Note that if a surface is smoothed in both J and K for all J and K, the grid boundaries are also smoothed for IMETH=1. If the grid boundaries have to be fixed, IMETH=2 should be used.

Input variables

     JSMOO/KSMOO/LSMOO = 0    Do not smooth in J/K/L
                       = 1    Do smoothing in J/K/L

     IMETH             = 1    Second order smoothing
                       = 2    Laplacian smoothing

     NSMOO             =      Number of smoothing steps

     JS,JE,KS,KE,LS,LE = start/end indices of J,K,L subset to smooth

    If JSMOO=1, then enter
     JT0,JT1           = no. of points in transition region at JS, JE
    endif
    If KSMOO=1, then enter
     KT0,KT1           = no. of points in transition region at KS, KE
    endif
    If LSMOO=1, then enter
     LT0,LT1           = no. of points in transition region at LS, LE
    endif

Note: IMETH=2 is not implemented yet.

Output PLOT3D command file - smooth.com

Sample input file

input_grid_filename
output_grid_filename

0,1,0            JSMOO,KSMOO,LSMOO
1, 5             IMETH, NSMOO
1,-1,1,-1,1,1    JS,JE,KS,KE,LS,LE
4,4              KT0,KT1

Last modified: Wed Apr 1 15:05:56 1998