GENCORE Version 1.4g

Authors: William M. Chan and Shishir A. Pandya

Description:

This program is used to generate a volume grid with H-topology inside the core of a tube (given by a surface: streamwise in J, periodic in K). The tube may or may not be straight. A half core can be generated for a half tube that is symmetric about the y=0 or z=0 plane.
   Two options are available for creating the core grid:

   ICORE = 1 : The core grid boundary is taken directly from the surface of
               the tube (rounded core). Break points NJO are introduced to
               form the H-topology. The interior is created by transfinite
               interpolation.

   ICORE = 2   A Cartesian grid slice is created at each station of the tube
               in J, centered at the centroid of the station. This slice is
               rotated to form the core grid slice at each J station such
               that it is normal to the centroid curve locally. (default)

Usage:

  gencore [-i IFILE] [-o OFILE] [-njo NJO] [-core ICORE] [-nkcore NKCORE] [-eps eps] [-half +y/-y/+z/-z]

  gencore -help  (to get usage)
Argument Description
IFILE input filename
OFILE output filename (default = coregrid.dat)
NJO NJO = 0 determine break points automatically, > 0 break point in output grid = nj of output grid, (nk of output grid automatically determined)
ICORE ICORE = 1 to generate rounded core, ICORE = 2 to generate box core (default)
NKCORE (for icore=2) NKCORE = 0 auto-determine number of points in K and L in core, NKCORE > 0 use NKCORE for number of points in K and L in core
EPS EPS = 0 do not disturb default boundaries for ICORE = 2, 1 disturb default boundaries to the full amount for ICORE = 2, 0 < EPS < 1 disturb default boundaries by some for ICORE = 2
HALF HALF = +y halfbody on the positive side of y=const, -y halfbody on the negative side of y=const, +z halfbody on the positive side of z=const, -z halfbody on the negative side of z=const

Last modified: Mon Nov 17 12:34:00 PDT 2025