HYPIN Version 1.1

Authors: Stuart Rogers, Steve Nash

Description:

This program generates a spacing function used in computing a volume grid, and writes it to a file. Given the maximum distance from the initial surface, the program computes the number of grid points and the spacing function. The number of grid points is guaranteed to be 4*n + 1 so the grid will be usable for 3 levels of multigrid.

Three different types of spacing control are available:

  1. Constant stretching ratio=srmax from zero to zmax;

    Example Usage:

             hypin -wallsp 1.e-6 \
                   -zmax 10.0 \
                   -srmax 1.25 \
                   -fname zetastr.i
           
  2. The spacing function will have initial spacing equal to wallsp, and will increase at a constant stretching ratio = srmax until either a distance of z1 has been reached, or until the spacing is greater than or equal to dz1. In the latter case the spacing is then held equal to dz1 until a distance of z1 is reached. From distance z2 to zmax the spacing will increase at a constant stretching ratio = srmax.

    Example Usage:

             hypin -wallsp .00004 \
                   -z1 1.0 \
                   -dz1 .08 \
                   -zmax 10.0 \
                   -srmax 1.25 \
                   -fname zetastr.i
           
  3. The spacing function will have initial spacing equal to wallsp, and will increase at a constant stretching ratio = srmax until either a distance of z1 has been reached, or until the spacing is greater than or equal to dz1. In the latter case the spacing is then held equal to dz1 until a distance of z1 is reached. From distance z1 to z2 the spacing will change at a constant stretching ratio from a spacing of dz1 to dz2. From distance z2 to zmax the spacing will increase at a constant stretching ratio = srmax.

    Example Usage:

             hypin -wallsp .00004 \
                   -z1 1.189 \
                   -dz1 .0793 \
                   -z2 5.153 \
                   -dz2 .300 \
                   -zmax 13.8733 \
                   -srmax 1.25 \
                   -fname zetastr.i
           

    Usage: hypin -zmax ZMAX

                 [-wallsp WALLSP]
                 [-z1 Z1 -dz1 DZ1]
                 [-z2 Z2 [-dz2 DZ2]]
                 [-srmax SRMAX]
                 [-o FNAME]
    Where:
                 WALLSP is the initial spacing [1.0 e-6]
                 Z1	    is the distance to the end of the
                   	      region with uniform spacing [0.0]
                 DZ1    is the spacing in the uniform 
                           region between the wall and Z1
                 Z2     is a distance greater than Z1
                 DZ2    is the spacing at Z2 [5.*DZ1]
                 SRMAX  is the max streching ratio [1.25]
                 FNAME  is the output filename [zetastr.i]
     
    

    Last modified: Wed Apr 1 16:15:30 1998