| DEBUG number [mode] |
This keyword is intended for use during code development and testing. The various debug options and modes are described below. For each option, the subroutines referencing that option are listed in parentheses. If mode is not described for a given debug option, it should be set to 1 to activate that option. If mode is omitted, a default value of 1 is used.
Unless noted otherwise, these options only apply to unstructured grids.
| number | Description | |
|---|---|---|
| 1 | Generate grid and solution files for
post-processing by Ensight
(evrzon, US_hdzwrt)
| |
| 2 | Write distance to the nearest wall for
each grid point into the .cfl file as the variable
WallD.
This option applies to both structured and unstructured grids.
(InitWallDst, walldfil)
| |
| 3 | Output convergence history in ICAT format
(lpschmu, TURB_goldbergUS, TURB_spalartUS, TURB_sstUS,
US_L1norm, US_TimeStep)
| |
| 4 | With the HLLE differencing scheme, replace
the anti-diffusive terms with Lax-like dissipation reduction.
(hlle, US_HLLE)
| |
| 7 | Write the zonal maximum and minimum values
of the dependent variables, and the maximum and minimum vertex
value of the pressure, into the .lis file
(US_Qcell2Qvrtx)
| |
| 8 | Split the edge data (.cge) file into
mode files
(edgopn)
| |
| 9 | Write extra arrays containing cell volume,
cell centroid coordinates, face center coordinates, and
cell connectivity into the .cge file for debugging purposes
(edgopn, US_PreUnstructRead, US_PreUnstructWrite)
| |
| 10 | Write detailed grid information and wall
distance into the .lis file.
For wall distances, this option applies to both structured and
unstructured grids.
(GlobalWallDist, MkGlblWallLst, US_FaceStencil,
US_PreUnstructWrite, US_StencilFill, US_StencilWrite,
US_ZnlWallDist)
| |
| 11 | Multiplying factor
for viscous-diffusion Jacobian.
If DEBUG 11 is not used, a value of 4.0 is used in
TURB_goldbergfluxUS, 1.0 in TURB_safluxUS,
and 2.0*Dissip_Jcb in US_FluxJcbnDiss, where
Dissip_Jcb is the Jacobian dissipation parameter set
using the LAX DAMPING keyword.
(TURB_goldbergfluxUS, TURB_safluxUS, US_FluxJcbnDiss)
| |
| 12 | Maximum ratio of production to destruction
allowed in Goldberg turbulence model
(TURB_goldbergsrcUS)
| |
| 13 | Maximum ratio of destruction to production
allowed in Goldberg turbulence model
(TURB_goldbergsrcUS)
| |
| 14 | When updating turbulence model values,
write maximum turbulent viscosity to .lis file
(US_UpdateTurb)
| |
| 15 | Allow multigrid computations with hybrid
(i.e., structured and unstructured) grids.
If mode = 1, only solve structured zones at the
beginning of the multigrid time level (i.e., on the fine grid);
if mode > 1, solve structured zones at every
multigrid level.
Not currently applicable in Wind-US.
(NSzsolv, US_unstrpstinp)
| |
| 16 | For multi-species flows, write thermodynamic
data table into the file Thermo_Tables
This option applies to both structured and unstructured grids.
(propin)
| |
| 17 | When writing flow
solution to .cfl file, for vertices at coupled surfaces
with multiple boundary conditions (e.g., at corners), make the
"coupled" boundary condition the lowest priority
(US_Qcell2Qvrtx)
| |
| 18 | Don't use
linear-preserved gradients in the turbulence model, even when
GRADIENTS LINEAR_PRESERVING
is specified for the mean flow.
The default is to treat gradients the same as in the mean flow.
(TURB_goldbergUS, TURB_spalartUS, TURB_sstUS)
| |
| 19 | Don't use
linear-preserved gradients for turbulent diffusion with the
Spalart-Allmaras turbulence model, even when
GRADIENTS LINEAR_PRESERVING
is specified for the mean flow.
The default is to treat gradients the same as in the mean flow.
(TURB_safluxUS)
| |
| 20, 21 | When DEBUG 21 is specified,
the time step used for the solution of the turbulence model
equations is set to mode percent of the time step used for
the Navier-Stokes equations, where mode is the value
specified with DEBUG 20, not DEBUG
21
(TURB_pntGS)
| |
| 22 | ??
This option only applies to structured grids.
(loadqbc)
| |
| 23 | For the Rusanov (Lax) scheme, explicitly
set the damping factor for strong shocks to
0.01 × mode.
The default is to set this damping factor to 0.5 (i.e., equivalent
to mode = 50).
(US_Lax)
| |
| 24 | The convergence
criterion (see the CONVERGE LOAD
keyword) is set to 1 / mode.
The default convergence criterion is 0.01.
(LoadCnvrg)
| |
| 31 | Don't stop execution
when errors are found in cell volumes or face normals
(US_CheckPreInfo)
| |
| 34 | Apply flux
limiting to the calculation of interior fluxes in unstructured
grids.
(US_SetQface)
| |
| 39 | Compute distance
to the nearest wall for each grid point the "old" way (i.e., on
a zonal basis).
This option applies to both structured and unstructured grids.
(MkGlblWallLst, walldfil)
| |
| 40 | For multi-grid
computations, switch from W cycle to V cycle when at time level
mode.
Not applicable in Wind-US.
(lptlvl)
| |
| 41 | Treat coupled
boundaries implicitly.
(loadqbc, packqbc, rbnd, rbs, rbsb, US_bcalloc,
US_NbrCntrbtn, wbnd2, wbnd2b, zitda)
| |
| 42 | Locally adjust the
time step based on the local rate of change in the solution
compared to the global rate of change.
(lpschmu, psrwgv)
| |
| 51 | Use matrix
dissipation on the left-hand side instead of scalar dissipation
(US_FluxJcbnDiss, US_GaussSeidel, US_GaussSeidel2,
US_GetJcbn, US_GetJcbn2, US_impl, US_InitDq, US_InitDq2,
US_LineGaussSeidel)
| |
| 52 | Compute Jacobians
per cell (i.e., two per face) instead of one per face
(US_impl)
| |
| 53 | For the Roe scheme,
get interface flux using same routines as in structured solver
(US_rhsupw)
| |
| 65 | Write log of memory
allocation/deallocation to the file memdebug.lis.
This option applies to both structured and unstructured grids.
(MemDebug, prerdinpt, solver_main)
| |
| 66 | Use diagonal augmentation in the line Gauss-Seidel method. Not applicable in Wind-US. (US_LineGaussSeidel) | |