Frequently Asked Questions¶
This section provides answers to common questions encountered when debugging CE-QUAL-W2 model applications.
Numerical Stability¶
Q: I am modeling a canal system with high flows (~80 m³ s⁻¹) that has a series of gates and pumps to control the flows. I do not have flow rating data on the gates, so I am using structures to control the flows. I have data on flow rates at the pumps and infer flows at the gates. At higher flows, the model becomes unstable and crashes. Is there something within the structure algorithms that would cause a crash, or is it a model construct issue?
Force DLTMAX to a lower value during the high-velocity period. There is no way to predict the exact numerical stability for a nonlinear partial differential equation (PDE); the stability estimate is approximate.
In addition:
- Ensure that inflows are not all set to be placed by density (
PQC). - Use the implicit turbulence closure scheme (
AZSLC) rather than the explicit scheme.
Tip
When modeling canal systems with high flow rates, reducing the maximum time step during periods of peak flow is often the most effective way to prevent numerical instability. Monitor the time step output to identify when the model becomes unstable.