SPLITMX Version 1.2

Authors: Fred Martin, Jeff Slotnick, Jim Greathouse, Stuart Rogers, William Chan

Synopsis

splitmx
splitmx -nosort
Use -nosort to override automatic subset sorting by grid numbers.

Description

The SPLITMX program reads a PLOT3D grid file and creates a new PLOT3D grid file consisting of any combiniation of subsets of the original input grid file. The input grid file can be single- or multiple-zone, with or without an iblank array. The output grid file is always an unformatted multiple-zone file, and has an iblank array if the input file did. The program uses dynamic memory allocation and requires only enough memory for the largest of the output subsets.

Input

The SPLITMX program reads from the standard input the following records, until it encounters an end-of-file:

input-grid-filename
output-grid-filename
nz(1)   jb(1) je(1) ji(1)  kb(1) ke(1) ki(1)  lb(1) le(1) li(1)
nz(2)   jb(2) je(2) ji(2)  kb(2) ke(2) ki(2)  lb(2) le(2) li(2)
nz(3)   jb(3) je(3) ji(3)  kb(3) ke(3) ki(3)  lb(3) le(3) li(3)
nz(4)   jb(4) je(4) ji(4)  kb(4) ke(4) ki(1)  lb(4) le(4) li(4)
. . .
. . .

EOF

The first two lines are the names of the input and output grid files, respectively, and subsequent lines each describe a subset of the input grid to be included in the output grid. Each subset is described with a zone number, and beginning, ending, increments for each of the three computational indices. Negative beginning and ending indices are allowed; they are translated as: jb = jmax + 1 + jb, where jmax is the number of j-planes in the current zone. Thus jb=-1 is translates to jb=jmax.

In version 1.2 and later, a grid slice at a non-integer index location can be extracted. Subsets are automatically sorted by grid numbers. Use the -nosort command line option to override automatic sorting.

See also

SPLITMQ: a program analgous to SPLITMX used for creating new solution files.

VOL2SURF: a script which will create input files for SPLITMX and SPLITMQ using an input file for OVERINT/MIXSUR (fomoco.i), and will also create a new OVERINT/MIXSUR input file cooresponding to the new grid and solution files.


Last modified: Tue July 04 15:25:00 2006