Skip navigation links
(Wind-US Documentation Home Page) (Wind-US User's Guide) (GMAN User's Guide) (MADCAP User's Guide) (CFPOST User's Guide) (Wind-US Utilities) (Common File User's Guide) (Wind-US Installation Guide) (Wind-US 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)



DEBUG - Developer debug options

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.

Developer Debug Options

number    Description

1Generate grid and solution files for post-processing by Ensight (evrzon, US_hdzwrt)

2Write 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)

3Output convergence history in ICAT format (lpschmu, TURB_goldbergUS, TURB_spalartUS, TURB_sstUS, US_L1norm, US_TimeStep)

4With the HLLE differencing scheme, replace the anti-diffusive terms with Lax-like dissipation reduction. (hlle, US_HLLE)

7Write 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)

8Split the edge data (.cge) file into mode files (edgopn)

9Write 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)

10Write 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)

11Multiplying 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)

12Maximum ratio of production to destruction allowed in Goldberg turbulence model (TURB_goldbergsrcUS)

13Maximum ratio of destruction to production allowed in Goldberg turbulence model (TURB_goldbergsrcUS)

14When updating turbulence model values, write maximum turbulent viscosity to .lis file (US_UpdateTurb)

15Allow 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)

16For multi-species flows, write thermodynamic data table into the file Thermo_Tables This option applies to both structured and unstructured grids. (propin)

17When 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)

18Don'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)

19Don'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, 21When 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)

23For 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)

24The convergence criterion (see the CONVERGE LOAD keyword) is set to 1 / mode. The default convergence criterion is 0.01. (LoadCnvrg)

31Don't stop execution when errors are found in cell volumes or face normals (US_CheckPreInfo)

34Apply flux limiting to the calculation of interior fluxes in unstructured grids. (US_SetQface)

39Compute 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)

40For multi-grid computations, switch from W cycle to V cycle when at time level mode. Not applicable in Wind-US. (lptlvl)

41Treat coupled boundaries implicitly. (loadqbc, packqbc, rbnd, rbs, rbsb, US_bcalloc, US_NbrCntrbtn, wbnd2, wbnd2b, zitda)

42Locally adjust the time step based on the local rate of change in the solution compared to the global rate of change. (lpschmu, psrwgv)

51Use 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)

52Compute Jacobians per cell (i.e., two per face) instead of one per face (US_impl)

53For the Roe scheme, get interface flux using same routines as in structured solver (US_rhsupw)

65Write log of memory allocation/deallocation to the file memdebug.lis. This option applies to both structured and unstructured grids. (MemDebug, prerdinpt, solver_main)

66Use diagonal augmentation in the line Gauss-Seidel method. Not applicable in Wind-US. (US_LineGaussSeidel)