SPLITMQ Version 1.2

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

Synopsis

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

Description

The SPLITMQ program reads a PLOT3D/OVERFLOW solution file and creates a new PLOT3D/OVERFLOW solution file consisting of any combiniation of subsets of the original input solution file. The input solution file can be single- or multiple-zone, The output solution file is always a multiple-zone file. The program uses dynamic memory allocation and requires only enough memory for the largest of the output subsets.

Input

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

input-solution-filename
output-solution-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 solution files, respectively, and subsequent lines each describe a subset of the input solution to be included in the output file. 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

SPLITMX: a program analgous to SPLITMQ used for creating new grid 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:30:00 2006