Skip navigation links
(WIND Documentation Home Page) (WIND User's Guide) (GMAN User's Guide) (MADCAP User's Guide) (CFPOST User's Guide) (WIND Utilities) (Common File User's Guide) (WIND Installation Guide) (WIND Developer's Reference) (Guidelines Documents)

(Introduction) (Tutorial) (Geometry and Flow Physics Modeling) (Numerical Modeling) (Boundary Conditions) (Convergence Monitoring) (Files) (Scripts) (Parallel Processing) (Keyword Reference) (Test Options)

Test Options

Several user-controlled options have been provided as an aid to modifying the WIND code. These options all may be selected by using the keyword TEST in the input data file. The test options typically control program features which are under test, and have not been accepted for production use. Each test option is of the form

   TEST number mode

If mode is not described for a given test option, the user should use mode = 1 to activate that option.

As test options are accepted, they are "hard wired" into the code and the test option described here becomes meaningless. Test options may also be rejected based on trial runs. In that case, the option code described here will also become meaningless. For this reason, the list of valid options is not consecutive. Selection of an invalid option will be accepted by the WIND code, but will have no effect.

The various test options and modes are described below. For each option, the subroutines referencing that option are listed in parentheses.

Non-Production Test Options

number    Description

1Memory size check. Stop the run after displaying the memory requirements but before memory is allocated. (mpinit, mpterm, opngrd, wind, zinit)

    mode   Result
n < 0 Retrieve dimensions from the actual grid (.cgd) file
n > 0 Retrieve dimensions from a text file with the following format:
   #zones
   idim1 jdim1 kdim1 nfrpts1
   ...
   idimn jdimn kdimn nfrptsn
             
Each of the nfrpts values is 0 except for overlapping grids. This mode allows one to determine how much memory WIND will require before generating the grid. Note that the name of the text file should end in .cgd, like the actual grid file.

2Designed for parallel processing data transfer debugging

    mode   Result
1 Not used
2 Don't read zonal boundary data (evrwbd)
4 Don't solve zone (evsolv)
8 Don't write zonal data (evwzon)
16 Don't write zonal boundary data (evrwbd)
32 Not used
64 Not used
128 Not used
256 Don't update boundary conditions (lpschm)

Set mode equal to the sum of the desired actions.

3Parallel processing task tracing

    mode   Action
1Trace event reads/writes (rwev)
2Trace file I/O (rwnh, rwstat, rwd, rwi, rwr)
4Trace network traffic (psexit, psrwev, psrwgv, psrwnh, psrwd, psrwi, psrwr)
8Trace task begin/end (psspwn, tskbeg, tskidl)
16Print task queue for debugging (psqprt)

Set mode equal to the sum of the desired actions. I.e., setting mode = 5 will trace both event reads/writes and network traffic.

4Reserved for internal Boeing use in routines for hybrid unstructured grid capability (opngrd)

5Compute the L2 norm of the residual for the Navier-Stokes equations in the same way as the "old" code (l2norm)

6Write .cfl file compatible with the "old" code (asnsx, asvisc, mpini2)

7Do not use high performance C I/O interface (openf, rwstat)

8Use Version 2 common files (mpinit, openf, rwstat)

10Print the time step information (i.e., minimum/maximum CFL and Delta t) into the .lis file every mode cycles, instead of just on the first cycle. (zsolv)

17Use "new" Baldwin-Barth turbulence model (bbarth)

20Non-dimensionalize k and omega in the SST model the "old" way (aijkrg, aikeps, sst, sstprtinp, sstpstprt)

21Spalart-Allmaras turbulence model. (See the TURBULENCE keyword.) (redimsa, sabound, sapreinp, sinut, spalart)

    mode   Result
0Use original 1992 model, with an ft2 term for laminar stabilization and a default freestream value for nut of 5.0.
1Like mode 0, except with "corrections" to the production and destruction terms. This is equivalent to the default model for WIND beta versions 4.15 to 4.92.
2Like mode 1, except without the ft2 term, and with a default freestream value for nut of 0.1. In addition, the initial value of the dependent variable is set to the freestream nut. This is equivalent to the default model for WIND versions prior to WIND beta 4.15, and includes a slight error that makes the model overly dissipative.

25In the Baldwin-Lomax model, use y+ based on wall vorticity (blomax)

26Use local values in y+ damping for the Baldwin-Lomax, Cebeci-Smith, Baldwin-Barth, and Chien k-epsilon models (bbdamp, blomax, cebeci, kepy2)

29For the Cebeci-Smith model, use y+ based on wall vorticity. (algtur, cebeci)

For the Chien k-epsilon model, TEST 29 is a production limiter (kelhssch, keprod, kerhssch)

    mode   Result
0Production limited to 20 × dissipation
1Production computed from vorticity, but not limited
2Production not limited
3Production computed from vorticity, then limited

30Irrotational boundary condition at freestream inflow boundaries (bcfree)

40Old switch for compressibility correction in k-epsilon model; use K-E COMPRESSIBILITY CORRECTION instead. (keppstin)

46In the SST turbulence model, in blowing regions and bleed regions with a specified negative bleed flow rate, set muturb = 10 mulam along the wall. (sstbound)

47For the algebraic turbulence models, smooth turbulent viscosity in each i-plane using simple averaging. mode = number of smoothing passes. (smtvis)

48For the algebraic turbulence models, smooth turbulent viscosity in three dimensions using simple averaging. mode = number of smoothing passes. (smtvis)

49Modified Runge-Kutta smoothing (see the SMOOTHING keyword) (dampi, dampj, dampk, bdload)

    mode   Result
2No pressure switch on second-order dissipation
3No pressure switch, and an LES type filtering of nonlinear terms

51Limit the turbulent viscosity muT, such that the maximum value of muT / (muL)inf = mode × 1000. Suggested range is 50 < mode < 100. Do not use this option with the Chien k-epsilon model; use K-E MAXIMUM TURBULENT VISCOSITY instead. (keppstin, mutlim)

52When using BLOW PLENUM, print a warning when the plenum total pressure is automatically raised because it was less than the local static pressure (bcbled)

53Allows no-slip in inviscid flow at "viscous wall" boundaries (bcwall)

54Reserved for use at Boeing

55Reserved for use at Boeing

56No energy addition to fluid due to MFD equations (emdef)

57Implicit terms on for the Spalart-Allmaras and SST turbulence models (spalart, sst)

58Store the Lorentz force in the .cfl file instead of the electric field (emdef)

59Apply SMOOTHING keyword values to the Spalart-Allmaras model as well as the mean flow solver. (Currently deactivated.) (spalart)

61When mode = 2, all boundary conditions are applied, whether or not they're consistent with the IBLANK values. This only affects corners, where there are usually multiple boundary conditions. So, if a wall boundary at j = 1 meets an outflow boundary at i = imax, if TEST 61 2 is specified, both boundary conditions are applied. (tdbcgs)

63Eliminate the "fat" boundary cells in any coordinate direction. mode = 1, 2, or 4 indicates the i, j, and k direction, respectively. Set mode equal to the sum of the desired directions. I.e., setting mode = 5 will eliminate the "fat" boundary cells in the i and k directions. (tdarea)

64Remove dt from dq when computing residuals (l2norm)

65In marching solutions, lower the CFL number for the last marching step (zsolv)

66Don't update beta in gas3, for ireal = 2 and ispec = 2. This test option is not recommended but will decrease run time. (gas3)

67When solving turbulence model equations, treat bleed boundaries as slip walls instead of no-slip walls. This was the default behavior prior to WIND 5.101. (kebc, sabound, sstbound)

68If the density is zero at a coupled boundary, issue a warning, ignore the coupling data, and continue. The default is issue an error message and abort. (postrbs)

70Tolerance level for converging gas properties P, rho, or T in the gas routines. Tolerance level = (0.1)mode. (gas1, gas2, gas3, gas4)

71Apply curve fit equations for thermodynamic properties even when the temperature is outside the applicable range. If mode = 1, an error message will be written whenever this occurs. For other non-zero values of mode, no error message is written. If this test option is not set, the run will be terminated if the temperature is outside the range of the curve fits. (cpfun, gibfn, hfun, proper)

75?? (prpold, tdimafk, tdimfu)

77Set bleed limits for a specific F/A-18 15% scale sting and distortion model, for use with the BLEED AEDC keyword (bcaedc)

    mode   Result
0F/A-18E
1F/A-18A

84Use "old" viscous metric calculation (dsolv, vismet)

85Check for zero volumes when computing viscous metrics (dsolv, vismet)

    mode   Result
1Check; if <= 0 print message and continue
2Check; if <= 0 print message and stop

87Freezes supersonic inflow at initial conditions (bcfree)

88Bypass negative T check in tdgas1. This is needed for chemistry if SHF (heat of formation) varies widely since we only have an old SHF to use to estimate T. (lpschm, tdgas1)

89Use "old" species flux correction method (gas1)

90Chemistry stuff (chinv)

    mode   Result
0Analytic chemistry Jacobian (ns = 5 only)
1Householder chemistry Jacobian (ns > 5)
2Solves chemistry source term explicitly

91Gas constant (chprtinp, therm1, thermp)

    mode   Result
1beta = gamma = betainf
2beta = gamma = 1.4

92Utilize operator splitting for the reacting chemistry source terms to increase the stability of the integration, allowing more efficient solution of the coupled system. A 4th-order Pade approximation is used to integrate the reaction source terms, with mode setting the number of subiterations. Setting mode = 0 indicates no operator splitting. (chimplicit, chrhss, prpold, rhssrc)

93Turn on/off chemistry species diffusion (chrhsv, rhsvfl, tdutv1)

    mode   Result
0 Include all chemistry species diffusion terms
1 Include chemistry species diffusion terms, except for the diffusion gradient in the conduction term
2 Same as 0
3 Ignore chemistry species diffusion

94Turn off implicit chemistry terms (tdimpl, tdutaa)

95Turn off chemistry source term (rates, rates1, rates2, rates3, rates4, ratesa, ratesadl, ratesb, ratesf)

96Apply chemistry source term over mode iterations for finite-rate non-equilibrium chemistry (chrhss)

97P. D. Thomas turbulence model scanning direction. By default, WIND starts at viscous walls and moves into the field. This test option forces the code to calculate turbulent parameters from any boundary, in addition to walls. (algtur)

    mode   Result
0use j lines
1use k lines
2use j and k lines

98mode is the relaxation factor for the species mass fraction from the Liu and Vinokur (real gas) model. By increasing mode, the mass fraction relaxes faster. Default is mode = 5. mode = 1 corresponds to instantaneous. (gas1, gas2, gas3, gas4)

99Initialize finite rate chemistry with Liu and Vinokur curve fits (gas2)

    mode   Result
0Do not track the species (valid to 50K?)
1Track the species (valid to 10K?)

100Characteristic time-stepping boundary condition (bcfree)

    mode   Result
0 Second order, with limit of Delta Q <= Q/2
11st-order, original characteristic treatment
22nd-order, original characteristic treatment
31st-order, Roe's average characteristic treatment
42nd-order, Roe's average characteristic treatment

102Use time-averaged back pressure for mass flow boundary condition (pdsmfr)

104Turn off implicit viscous terms (tdutv1)

105Time step type (prtinp, tdtmst)

    mode   Time Step Type
0Delta t = CFL / max (lambdaxi, lambdaeta, lambdazeta)
1Flow angle scaling, Delta t = CFL × (fxi Delta xi + feta Delta eta + fzeta Delta zeta), where
fxi = [1 + tan (theta) + tan (psi)]1/2
feta = fxi tan (theta)
fzeta = fxi tan (psi)
2Velocity scaling, Delta t = CFL × min (fxi Delta xi, feta Delta eta, fzeta Delta zeta), where
fxi = u / uxi / | uxi + c |
feta = u / ueta / | ueta + c |
fzeta = u / uzeta / | uzeta + c |
3Delta t = CFL × min (Delta xi, Delta eta, Delta zeta) / (| u | + c)
4Delta t = CFL / (lambdaxi + lambdaeta + lambdazeta)

106Compute the time step at the start of every cycle (even when Newton time stepping is being used), instead of at the start of every iteration. (axflow, lpgrp, lpmg, redim)

108Extrapolate freestream outflow (bcfree)

    mode   Mach   Outflow Conditions
0< 1Hold upstream running characteristic at freestream
> 1Extrapolate all, even in boundary layer
1AllExtrapolate all, even in boundary layer

109Boundary flux treatment (roewal, tdup1)

For tdup1:

    mode   Result
0Conservative
1Upwind extrapolation from interior

For roewal:

    mode   Result
0Characteristic inflow, conservation if flow parallel to wall
1Characteristic regardless
1000Use conservative wall treatment at all boundaries

110Grid area variation limiting. Not allowed for iorder > 24, i.e., for the following Roe and Van Leer explicit operators: third-order fully upwind, fourth-order upwind-biased, fourth-order central, and fifth-order upwind-biased. (roecof)

    mode   A2 / A1
0infinity
12.0
21.5
31.33
41.1

111Singular matrix check (jacpr4, jacpr5, jacprg, tdsol4, tdsol9, tdsol11, tdsolg, tdsolv)

    mode   Result
1Check, but don't print results
2Don't check

112Corrected upwind scheme at boundaries. Defaults to corrected scheme, mode > 0 uses second order smoothing with mode / 1000 as the smoothing level. Users should not use this option. (rhsupw)

113Check for reverse flow at inflow and outflow boundaries (bcconf, bcfree)

    mode   Result
0, 1Print a warning message and continue
2 Print an error message and stop

114Central difference zeta operator. (tdup1)

    mode   Result
0 Upwind
nCentral smoothing coefficient = n / 1000

115Do not rescale inviscid wall total velocity to equal adjacent value, just subtract the normal component from the adjacent value (bcwall)

116Set inward pointing normal to zero in tdbcm1 at unknown grid topology points. (tdbcm1)

117 Freeze inflow boundaries, even in subsonic flow (bcfree)

    mode   Result
1Freeze all inflow
2Freeze only arbitrary inflow points
3Freeze characteristics on all i = 1 boundaries

118Singular axis fix (radavg)

    mode   Result
0Average density, momentum components, and pressure
1Average density, velocity components, and pressure

121Under-relaxation of points adjacent to singular axis (bcpinw, bcsing, kebc, relsng, sabound, sngthrm, sstbound)

    mode   Result
0 Value on axis is a radius-weighted average of the values at the adjacent points; values at the adjacent points are unchanged
nValue on axis computed as for mode 1; values at the adjacent points are computed from

Fadj = (1 - r) Fadj + r Faxis

where Fadj is the value at the adjacent point, Faxis is the axis value, and r = n/1000.

122Allow left-handed coordinates (tdarea)

123Track back pressure, mass flow, and integrated total pressure with outflow boundary conditions (bcconf, pdsmfr)

124Write convergence information to list output (.lis) file every iteration instead of every cycle (lpschm)

126Compressibility correction to Baldwin-Lomax turbulence model (blomax)

    mode   Result
0No compressibility correction
1kappa = 0.0180 for Baldwin-Lomax model (CFL3D uses this)

127Scale printed residual by maximum residual over all time steps (lpschm)

128Check the L2 norm of the residual for convergence instead of the maximum residual (l2norm)

130Roe scheme physical space extrapolation (bcfree)

131For boundary layers on j = 1 walls, set the time step in the boundary layer to a (larger) "outer" value, defined as the value at j = mode. I.e., (Delta t)j = (Delta t)mode for j < mode. (tdtmst)

132Renormalize, changing from total to static values. Normalizing values in the .cfl file are unchanged. (redim)

133Print multi-grid sub-iteration convergence data (currently deactivated) (lpschm)

134 Second order characteristic extrapolation for adjacent conditions (bcfree)

    mode   Result
2 First order
0, 1Second order, using a minmod limiter

135Resets the time step using a weighting function between the ordinary Euler CFL number and a new "viscous CFL number", for convergence acceleration in viscous layers. The viscous CFL number is set to mode/1000. Limited testing indicates that a value of mode = 50 is stable and increases the time step near the wall by at least an order of magnitude. (tdtmst)

136Divergence checker, mode = n1 + 10 n2, where (lpgrp)

    n1   Divergence Definition
1Max residual > 1.0, L2 norm increasing
2Max residual > 5.0, L2 norm increasing
3Max residual > 10.0, L2 norm increasing

and

    n2   Action Taken When Diverging
1Terminate iteration for current cycle
2Abort run
3Reduce CFL number by 1/2
4Reduce CFL number by 1/2 and terminate iteration for current cycle

137Butt line interpolation region for USERSPEC; smear USERSPEC conditions over 0.001 × butt line at minimum and maximum butt line (uspeci)

    mode   Result
0No interpolation
nn = 0.001 × butt line for interpolation

138Use large cell Jacobians at boundaries (bcwall, chrhsv, nsrhsv, tdarea, vismet)

    mode   Result
<= 1Use large cells
2 Use large cells, central difference Jacobian
3 Throw out half cell at boundaries
5 Solve dP / dn equation at walls

139Turn on grid-based flux limiter (tdup1)

140Use first-order differencing for computing d(u,v,w)/dxi term in vorticity used in turbulence models (vortcy)

1412nd-order wall boundary conditions (explicit) (bcwall)

    mode   Result
1Second order dp/dn, dT/dn, and dutan/dn
2Second order dp/dn and dT/dn, but not dutan/dn

147?? (currently deactivated) (turpdt)

148?? (currently deactivated) (turpdt)

150Singular axis on symmetry planes. When symmetry plane test fails, zero this component of velocity. (bcsing)

    mode   Result
1u = 0
2v = 0
3w = 0
4do not zero any component (use average)
5v = w = 0
6u = w = 0
7u = v = 0

151For a singular axis, the value on the axis is a radius-weighted average of the values two points away from the axis, instead of the values at the adjacent points; values at the adjacent points are set to the average of the axis value and the value two points away from the axis. E.g., for a singular axis at j = 1, with the k direction "circumferential", the value on the axis is a radius-weighted average of the values at j = 3, instead of at j = 2. Then for each k, the value at j = 2 is set to the average of the values at j = 1 and j = 3. This test option overrides TEST 121. (bcpinw, bcsing, kebc, kerot, radavg, relsng, sabound, sngthrm, sstbound)

153Iteration frequency for updating pressure at outflow boundaries. The default is 5. (bcconf)

154When computing values at "undefined" boundary points, and no neighboring non-hole, non-fringe, points are found, average over neighboring fringe points (bcundef, kebc, sabound, sstbound)

157 USERSPEC inflow (uspeci)

    mode   Result
1Put USERSPEC inflow at all points in the buttline range. Do not check for above/below vehicle.
2Same as mode 1, but also ignore fuselage station check.

158Reserved for internal Boeing use in routines for hybrid unstructured grid capability (opngrd, pstinp)

160Pressure correction factor = mode / 1000, for specified mass flow boundary (pdsmfr)

162Cebeci-Smith boundary layer edge definition (cebeci)

    mode   Result
01.0% change in Utotal
10.995Ht
20.99 Utotal
30.9999 Utotal

163Criteria for defining Fmax in Baldwin-Lomax model

    mode   Result
> 0Search outward from wall; use first peak in F that is followed by a fractional decrease in F of mode / 1000.
< 0Use the max F value between the wall and the | mode |'th grid point from the wall

The default value is +700. (blomax)

164Iteration interval for updating gas properties and species for ireal = 1 and 2. The default value is 1. (tdgas1)

165Sets the tolerance for the distance between grid points used to determine a singular direction to 10mode/1000. The default is a tolerance of 10-8 (i.e., mode = -8000). (bcsing, direct)

168For the algebraic turbulence models, begin turbulent flow at i = mode (tdvis1)

170NASA Ames time step formula. (CFL increases as 1 / (Delta y)1/2 near the wall. Thus, Delta t decreases as (Delta y)1/2, not Delta y as the default.) CA is scalar coefficient on CFL; i.e., CFLwall is proportional to CA. This test option has no effect if TEST 105 mode 1, 2, or 3 is used. (tdtmst)

    mode   CA
1 0.01
n0.001n

172Turn off base energy for ireal = 1. (aichem, aijkrg, gas1, gas2, gas3, gas4, gasint, pstinp, stomp, tdimfp, tdroe4, uspeci)

174For the algebraic turbulence models, the iteration interval for updating the turbulent viscosity. The default is 1. (tdvis1)

175Boundary conditions at freestream radial outer boundaries (nzn = -6) (bcfree)

    mode   Result
0Compute characteristics from freestream conditions
1Compute characteristics from conditions at i = 1 along boundary
2Extrapolate without testing at k boundaries; treat i and j boundaries as in mode 1

177Freeze maximum residual (lpgrp)

178Insert freestream species buffer during BLOW VALVE relaxation (bcbled)

179Modify solidbody rotation radius to get linear swirl profile in r, but with zero velocity not at center of rotation. mode = 1000 r0, where r0 is the radius (from the point xc, yc, zc specified using the SOLIDBODY keyword in the ARBITRARY INFLOW keyword block) for zero velocity. (rotat)

180Defines the radius of the solidbody rotation core for actuator disk free vortex modeling. mode = 1000 rcore, where rcore is the solidbody core radius. (rotat1)

181?? (evrwbd, wbnd2)

182?? (tdbcgs)

185?? (gasint, mpinit)

187mode / 1000 = factor for suppression of streamwise pressure gradient when marching. The default is 950, and values below 800 are not recommended. When separation or strong adverse pressure gradients are causing problems, values between 800 and 900 will really help. (rhsmar, tdimfp)

189If a first-order upwind explicit operator modified for stretched grids is used (e.g., RHS ROE FIRST PHYSICAL), then TEST 189 1 must also be specified. (prtinp)

190Outgoing wave Roe boundary treatment (pstinp, roecof, roeht, tdbcgs)

    mode   Result
0, 1Use normal Roe boundary treatment (uses boundary point in formulation)
2 Lower order by one (does not use boundary point in formulation). This option cannot be used with TVD in the same zone.
3 Use zero-order extrapolation

191Options used with the BLOW and BLOW SURFACE keywords.

    mode   Result
0Angles are defined with respect to the surface normal.
1Angles are defined with respect to the projection of the surface normal onto a constant z plane.
2Angles are defined as in mode 0, and equilibrium air chemistry is allowed. The surface values of the effective gamma and compressibility factor are approximated by using the values at the adjacent flowfield point.
3Angles are defined as in mode 1, and equilibrium air chemistry is allowed as in mode 2.
4Backward compatibility mode for the BLOW keyword. With this mode, the syntax is "BLOW ibreg mdot Tinj angle", where angle is the blowing angle relative to the x-y plane, in degrees. Note, though, that this mode is not recommended, as it does not provide the requested mass flux for surfaces whose normal vector contains components in the z direction (i.e., surfaces with transverse curvature).

Modes 0 and 1 apply to both the BLOW and BLOW SURFACE forms; modes 2 and 3 only apply to the BLOW SURFACE form; and mode 4 only applies to the basic BLOW form. (bcbled)

192Save metrics in a temporary file. After the first cycle, metrics will be read rather than computed. This eliminates the CPU resources required to re-compute the metrics each cycle, but adds significant I/O to the computation. In the past, on at least some Cray systems, this reduced the CPU time by approximately 40.8 micro-seconds / (node-cycle). On the more common platforms, however, it is generally faster to re-compute the metrics rather than store them. (lpcycl)

193Do not stop if a singular line is encountered normal to a wall (bbdamp, blinit, kepy2)

194Bypass singular viscous metric check (dsolv, vismet)

195When using BLOW SURFACE, print a warning when the flowfield static pressure becomes larger than the plenum total pressure, causing blowing to be turned off at that point. Note that this is a five-line message written for each iteration and each "closed" node, and could cause the .lis file to become very large very quickly. (bcbled)

196Overlapping grid: print an error message if there are no points adjacent to a fringe point. (inttur, tdbcgs)

197Roe self-coupling mode (pstinp)

    mode   Result
0Once per iteration, using bcself
1Once per cycle, using standard zone coupling

198Sets the tolerance level for fuselage station USERSPEC inflow to mode/1000. The default tolerance is 0.01 (i.e., mode = 10). (Currently deactivated) (uspeci)

199Singular axis averaging - average from 1 to (max - 1), not 1 to max. (bcsing, linzero, radavg, relsng, sngthrm)

200Don't bomb for negative speed of sound in tdroe3 (tdroe3)