CE-QUAL-W2
has been under continuous development since 1975. The original model was known
as LARM (Laterally Averaged Reservoir Model) developed by Edinger and Buchak (1975). The
first LARM application was on a reservoir with no branches. Subsequent
modifications to allow for multiple branches and estuarine boundary conditions
resulted in the code known as GLVHT (Generalized
Longitudinal-Vertical Hydrodynamics and Transport Model).
Addition of the water quality algorithms by the Water Quality Modeling Group at
the US Army Engineer Waterways Experiment Station (WES) resulted in CE-QUAL-W2
Version 1.0 (Environmental and Hydraulic Laboratories, 1986).
Version 2.0
was a result of major modifications to the code to improve the mathematical
description of the prototype and increase computational accuracy and
efficiency. Numerous new capabilities were included in Version 2.0, including:
Version 3.0
is a result of additional improvements to the numerical solution scheme and
water quality algorithms, as well as extending the utility of the model to
provide state-of-the-art capabilities for modeling entire waterbasins
in two-dimensions. The new capabilities included in Version 3 include:
Version 3.1
is a result of additional improvements to the water quality algorithms
including:
Version 3.2
is a result of additional improvements to the model. These new capabilities
include:
Version 3.5
is a result of significant enhancements to the model. These new capabilities
include:
Version 3.6
This version is file
compatible with version 3.5. Hence no changes need to be made to any input
files. Even though there are some new features in the input files, these are
not required for users of V3.5 and can be kept blank. The primary change is
allowing the code to run on multiple processors. The following changes have
been made in the code from V3.5 to V3.6:
1.
The
code has been rewritten into smaller subroutines to allow better code
compilation and optimization.
2.
The
code has been revised with the goal of improving the computational speed. This
new compiled code using Intel Visual Fortran 10 should
be faster on a single processor than the V3.5 code compiled on a PC with CVF
6.6.
3.
The
code now has OPENMP commands embedded to allow for limited parallelization of some
of the routines. Current tests show that going from 1 processor to 2 can result
in up to 20-40% speed improvement.
4.
The
TKE algorithm has been updated with new algorithms that match experimental tank
data for kinetic energy and dissipation. This is based on a Master’s degree
project by Sam Gould at Portland State University. A new user option is the
TKE1 algorithm, in addition to the legacy algorithm TKE.
5.
The
roughness height of the water for correction of the vertical velocity wind
profile is now a user-defined input, z0. Prior to this the model had hardwired
the value of z0=0.003 m for wind speed correction at 2m (for evaporation where
wind height at 2 m is typical) and z0=0.01 m for wind at 10 m (for shear stress
calculations where wind height of 10 m is typical). For consistency, both
conversions now use the same value of roughness height. If the user does not
specify the value of z0 (for example if he/she leaves the spaces blank for z0 using
a V3.5 control file), the code uses 0.001 m.
6.
The
Windows user interface no longer uses Array Viewer. The dialog box and PC
executable no longer require installation of Array Viewer (which is now
obsolete) nor do they need the Array Viewer DLL. The Dialog box has some minor
improvements: model run directory displayed and a progress bar.
7.
Fixed
error with Algae/chlorophyll a ratio in user manual and fixed pre-processor.
The earlier language in the user manual discussed an Algae/Chlorophyll a ratio but
presented information that was the ratio of chlorophyll a/algae – this has been
revised and fixed in User Manual and in preprocessor.
8.
Spreadsheet
output: in earlier versions put in an alphanumeric character as a space for the
spreadsheet to preserve the formatting. This was changed to a default value of
-99 to facilitate numeric data processing. Also, the “–Depth” output value was
changed to just “Depth” since modern plotting programs can reverse an axis.
9.
Preprocessor
improvements. Added variable checks for new parameters, fixed bugs, new check for wsc.npt file (not checked in earlier
versions).
10.
For
the generic constituent, added temperature dependence on 0th order decay and
fixed errors in User Manual for units of zero order decay coefficient.
11.
Added
the kinetic flux rates to the TSR file output for easier analysis using a
spreadsheet of the flux terms for specific locations in the modeled system.
12.
Revised
the computation of the drag coefficient for low wind speeds so that the model now
agrees better with theory in this wind speed range.
13.
The
light extinction coefficient (in m-1) is now included as an output variable in
the TSR opt file. Because the model internally computes the light extinction
coefficient based on water, SS, POM, algae, zooplankton, and macrophytes, this is an important parameter understanding the
internal light transmission predicted by the model. This variable replaces the
equilibrium temperature as an output variable.
14.
A
new option for output is in the format required for TECPLOT. For TECPLOT
animation there is only a flag in the CPL output line. This allows for easy
model animation of the variables U, W, T, RHO, and all active constituents at
the frequency specified by the CPL file as a function of distance and
elevation.
15.
A
new variable for determining the fraction of NO3-N that is diffused into the
sediments that becomes organic matter, or SED-N was introduced. 16. In V3.5 the
model computed an average decay coefficient of the sediments based on what was
deposited. The user now has the option to dynamically compute that decay rate
or to have it fixed and controlled by the model user. A new variable was
introduced called
16.
DYNSEDK
which is either ON/OFF to allow or not allow dynamic computation of the
sediment decay rate.
17.
Added
Kinetic flux output that sums up fluxes for all cells of a waterbody
at the output frequency specified in the kinetic flux output. The output
filenames are called “kflux_jw#.opt” where # is the waterbody number. All active fluxes are summed for the waterbody. This is an important overall diagnostic tool to
evaluate the important fluxes in the waterbody over
time. Instantaneous fluxes are output in the TSR file for individual cells and
a series of fluxes at given segments are shown in the Flux output file which is
similar in format as the SNP file. This new file is easy to import into a
spreadsheet for analysis.
18. The selective withdrawal algorithm computation was adjusted to more closely follow the Corps’ model code SELECT (based on personal communication with Gary Hauser, 2008). The variable DLRHOMAX is used to compute the relative velocity profile. In V3.5 and earlier, this variable was the maximum for the entire profile above and below the outlet, i.e., DLRHOMAX=MAX(DLRHOT, DLRHOB). In V3.6 and later, DLRHOT is used above the outlet and DLRHOB is used below the outlet.
The
following model enhancements are planned for CE-QUAL-W2 along with their
status:
|
# |
Item |
Description |
Status |
|
1 |
Fish |
Fish Bioenergetics model |
Undergoing development |
|
2 |
Sediment transport |
|
|
|
3 |
Particle tracking model |
|
Tested and working in research code |
|
4 |
Smart particle tracking – Fish model |
|
Tested and working in research code |
|
5 |
Sediment Diagenesis |
Complex sediment diagenesis model |
|
|
6 |
Simultaneous water level solution |
Currently, water surface is solved branch-by-branch. The new technique will involve solving all water surfaces for the system or waterbody simultaneously. |
Tested and working in research code |
|
7 |
W3 |
3D version of W2 |
|
|
8 |
Hyporheic flow algorithm |
Groundwater-surface water interaction |
Tested and working in research code. |
|
9 |
Sediment channel bottom heating algorithm |
Dynamic heat transfer between channel bottom and stream |
Tested and working in research code. |