Difference between revisions of "WET DRY"

From WikiROMS
Jump to navigationJump to search
Line 1: Line 1:
Wetting/drying.
{{#lst:Options|WET_DRY}}
The grid file should use land sea masking.  
 
Cells with a rho mask = 0 will always be dry.  
* 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 rho mask = 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]] '''= 0''' will always be '''dry'''.  
In the present formulation for wetting/drying:
** 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.  
At initialiation the model computes for each cell the total depth of water  
* 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.  
D(i,j)=h(i,j)+zeta(i,j,1)  
* 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.
If the total depth is less than a user specified minimum depth (Dcrit), then the water level is increased to = Dcrit - h(i,j).
* For output, a variable [[Variables#rmask_wet|wet_dry_masking]] provides the time history of the wet/dry masking at &rho;-points.
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 than 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 rho points.

Revision as of 13:30, 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 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.