Option stability_tests computes various stability criteria and related items within a portion or all of the model domain. The limits of volume of domain to be considered when testing are set through namelist. Refer to Section 14.4 for information on namelist variables. If MOM blows up, this diagnostic is useful in finding where it went unstable. The following are computed:
These local time steps are compared with the model specified time step and the location of the largest is chosen as the position of the most unstable cell. If the local time step exceeds the model time step by an amount which can be set through namelist, then a CFL violation is detected. Refer to Section 14.4.4 for a discussion of the CFL condition and choosing time step lengths. The number of times a CFL violation is allowed may also be set through namelist. Refer to section 14.4.7 for setting a region over which stability calculations are performed. The default region is the entire domain. Variables within the local neighborhood of the offending cells are shown and when the number of offenses exceeds the allowable number, the model is brought down.
| reyxi,k,j | = | (40.4) | |
| reyyi,k,j | = | (40.5) | |
| reyzi,k,j | = | ![]() |
(40.6) |
and the location of the maximum is found and printed.
| peclxi,k,j | = | (40.7) | |
| peclyi,k,j | = | (40.8) | |
| peclzi,k,j | = | ![]() |
(40.9) |
and the location of the maximum is found and printed.
As described above, if more than a specified number of CFL violations are found when this diagnostic is active (only at times specified by the interval), the integration will stop indicating where the most unstable locations are with matrix printouts of variables in the neighborhoods. If a violation is not found, statistics will be printed indicating how close the integration is to violating the CFL condition along with other information described above. The output from this diagnostic may only be written as ascii to the model printout. The interval between output is specified by variable stabint.