The cfsequence utility is now obsolete and no longer being maintained.
cfsequence may be used to remove grid points in specified zones in a structured common grid (.cgd) or common flow (.cfl) file, using a procedure similar to the one used with the SEQUENCE keyword in Wind-US.
Note - When used with .cfl files, currently this utility will only work for files created using Wind-US 1.0, and earlier. When used with .cfl files created using Wind-US 2.0, it will abort with a "Requested variable does not exist" error.
Input to cfsequence is specified in a keyword input file, with the three-letter extension .inp. Lines in the input file starting with a "/" are comments. The following keywords and parameters may be specified.
CHECK | Checks the input file for errors without performing any operations.
| ||
FILE file_in | The input .cgd or .cfl file.
| ||
OUTPUT file_out | The output common file, for the sequenced grid.
For .cgd files, any boundary conditions specified in the
original (fine) grid are retained in the new (coarse) grid, and
zone coupling data are regenerated for the new grid.
In the output file, zones with holes will not have a complete
fringe boundary; GMAN must be
used to recreate it.
| ||
SEQUENCE nsi nsj nsk [izone] SEQUENCE nsi nsj nsk [izone] ... | The SEQUENCE commands tell cfsequence how to
sequence the zone.
The parameters nsi, nsj, and nsk are the
number of sequencing levels in the i, j, and
k directions, and izone is the zone number.
If izone is zero or omitted, the specified sequencing
will be applied to all zones.
The number of grid points in the sequencing direction must be equal to 2n m + 1, where m is an integer and n is the number of sequencing levels. Thus for 1 level of sequencing, the grid must have an odd number of points in the sequencing direction. For two levels there must be 4m + 1 points, etc. |
Example
Suppose we have the simple three-zone configuration shown below, with grid sizes 17 × 6, 33 × 11, and 17 × 11 in zones 1, 2, and 3, respectively.
The following cfsequence input file, named cfseq.inp, will create a new .cgd file, with a coarser grid in zone 2.
/ Input grid file / FILE test6.cgd / / Output grid file / OUTPUT test6_seq.cgd / / Sequence grid in i and j directions, zone 2 / SEQUENCE 1 1 0 2
The terminal session is shown below. Lines in a slanted font are typed by the user.
% cfsequence ***** cfsequence ***** Select the desired version from the following list. 0) END 1) cfsequence Single program automatically selected. Omit the .inp extension! Enter cfsequence INPUT FILE ............. (<CR>=cfsequence.inp) : cfseq cfsequence - Version 1.6 (last changed 2007/02/14 00:07:27) **************************************************************************** * Warning: This software contains technical data whose export is * * restricted by the Arms Export Control Act (Title 22, U.S.C., Sec 2751, * * et seq.) or Executive Order 12470. Violation of these export-control * * laws is subject to severe criminal penalties. Dissemination of this * * software is controlled under DoD Directive 5230.25 and AFI 61-204. * **************************************************************************** SEQUENCING ZONE 1 SEQUENCING ZONE 2 SEQUENCING ZONE 3 SEQUENCING BOUNDARIES OF ZONE 1 SEQUENCING BOUNDARIES OF ZONE 2 SEQUENCING BOUNDARIES OF ZONE 3 RESETTING FACTORS COUPLED TO ZONE 1 RESETTING FACTORS COUPLED TO ZONE 2 RESETTING FACTORS COUPLED TO ZONE 3
The resulting grid is shown below. With one level of sequencing in both the i and j directions, the resulting grid size in zone 2 is 17 × 6.
Last updated 26 Aug 2015