Difference between revisions of "WET DRY"

From WikiROMS
Jump to navigationJump to search
Line 3: Line 3:
* The Land/Sea [[MASKING|masking]] arrays ([[Variables#mask_rho|mask_rho]], [[Variables#mask_rho|mask_u]], [[Variables#mask_rho|mask_v]]) are required in the grid NetCDF file. Recall that the Land/Sea masking is set in some of the [[Test Cases|test cases]] with an analytical routine by activating [[ANA_MASKING]].
* The Land/Sea [[MASKING|masking]] arrays ([[Variables#mask_rho|mask_rho]], [[Variables#mask_rho|mask_u]], [[Variables#mask_rho|mask_v]]) are required in the grid NetCDF file. Recall that the Land/Sea masking is set in some of the [[Test Cases|test cases]] with an analytical routine by activating [[ANA_MASKING]].
** Cells with a [[Variables#mask_rho|mask_rho]] '''= 0''' will always be '''dry'''.  
** Cells with a [[Variables#mask_rho|mask_rho]] '''= 0''' will always be '''dry'''.  
** Cells with a [[Variables#mask_rho|mask_rho]] '''= 1''' can be '''wet''' (active) or '''dry''' (inactive) depending on the depth of water computed on that cell.  
** Cells with a [[Variables#mask_rho|mask_rho]] '''= 1''' can be '''wet''' (active) or '''dry''' (inactive) depending on the depth of water computed on that cell.
* In the model the wet/dry masks are stored in the [[Variables#rmask_wet|rmask_wet]], [[Variables#umask_wet|umask_wet]], and [[Variables#vmask_wet|vmask_wet]] arrays.
* In the present formulation for wetting/drying, the model computes for each cell the total depth of water at initialization as:<div class="box">D(i,j)=[[Variables#h|h(i,j)]]+[[Variables#zeta|zeta(i,j,1)]]</div> If the total depth is less than a user specified minimum depth ([[Variables#Dcrit|Dcrit]]), then the water level is increased to<div class="box">[[Variables#zeta|zeta(i,j,1)]] = [[Variables#Dcrit|Dcrit]] - [[Variables#h|h(i,j)]]</div> This ''drapes'' the water level over all the land cells.  
* In the present formulation for wetting/drying, the model computes for each cell the total depth of water at initialization as:<div class="box">D(i,j)=[[Variables#h|h(i,j)]]+[[Variables#zeta|zeta(i,j,1)]]</div> If the total depth is less than a user specified minimum depth ([[Variables#Dcrit|Dcrit]]), then the water level is increased to<div class="box">[[Variables#zeta|zeta(i,j,1)]] = [[Variables#Dcrit|Dcrit]] - [[Variables#h|h(i,j)]]</div> This ''drapes'' the water level over all the land cells.  
* During computation the water level in each cell is compared to [[Variables#Dcrit|Dcrit]]. If the water level is less than [[Variables#Dcrit|Dcrit]], then no flux is allowed out of that cell. Water can always flow into a cell.
* During computation the water level in each cell is compared to [[Variables#Dcrit|Dcrit]]. If the water level is less than [[Variables#Dcrit|Dcrit]], then no flux is allowed out of that cell. Water can always flow into a cell.
* For output, a variable [[Variables#rmask_wet|wet_dry_masking]] provides the time history of the wet/dry masking at &rho;-points.
* For output, a variable [[Variables#rmask_wet|wet_dry_masking]] provides the time history of the wet/dry masking at &rho;-points.

Revision as of 13:34, 6 July 2007

WET_DRY
Option to activate wetting and drying.
parameter = Dcrit
variable = rmask_wet, umask_wet, vmask_wet
routine = step2d.F
  • The Land/Sea masking arrays (mask_rho, mask_u, mask_v) are required in the grid NetCDF file. Recall that the Land/Sea masking is set in some of the test cases with an analytical routine by activating ANA_MASKING.
    • Cells with a mask_rho = 0 will always be dry.
    • Cells with a mask_rho = 1 can be wet (active) or dry (inactive) depending on the depth of water computed on that cell.
  • In the model the wet/dry masks are stored in the rmask_wet, umask_wet, and vmask_wet arrays.
  • In the present formulation for wetting/drying, the model computes for each cell the total depth of water at initialization as: If the total depth is less than a user specified minimum depth (Dcrit), then the water level is increased to This drapes the water level over all the land cells.
  • During computation the water level in each cell is compared to Dcrit. If the water level is less than Dcrit, then no flux is allowed out of that cell. Water can always flow into a cell.
  • For output, a variable wet_dry_masking provides the time history of the wet/dry masking at ρ-points.