Temp: Difference between revisions

From CIRPwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


The discretized momentum equations are  
The discretized momentum equations are  
<math> \frac{\partial h}{\partial t} \int_{A_p} U_i
+ \oint_{F} \frac{\partial (h U_i U_j )}{\partial x_j}
- \epsilon_{ij3} f_c U_j h = - g h \frac{\partial \eta }{\partial x_i}
- \frac{h}{\rho_0} \frac{\partial p_a }{\partial x_i}
+ \frac{\partial }{\partial x_j} \biggl ( \nu_t  h \frac{\partial U_i }{\partial x_j} \biggr )
+ \frac{\tau_i }{\rho}
</math>


<math> U_{i,P}^{n+1} = \frac{1}{a_{i,P}} \biggl( \sum_{k=1} a_{i,k} U_{i,k}^{n+1} + S_i \biggr)  
<math> U_{i,P}^{n+1} = \frac{1}{a_{i,P}} \biggl( \sum_{k=1} a_{i,k} U_{i,k}^{n+1} + S_i \biggr)  
- \frac{h_P}{a_{i,P}} \sum_{k=1} n_{ik} \Delta s_k p_k^{n+1}
- \frac{h_P}{a_{i,P}} \sum_{k=1} n_{ik} \Delta s_k p_k^{n+1}
</math>
</math>
The continuity equation is discretized as
<math> h^{n+1} -  \mathbf{S} </math>


where the subscript <math>k</math> indicates the cell face, <math>p = g \eta</math> with <math>\eta</math> being the water surface elevation, <math>n_{ik}</math> is equal to the dot product of the velocity unit vector and the cell face unit vector.  
where the subscript <math>k</math> indicates the cell face, <math>p = g \eta</math> with <math>\eta</math> being the water surface elevation, <math>n_{ik}</math> is equal to the dot product of the velocity unit vector and the cell face unit vector.  
Line 12: Line 25:


The continuity equation is discretized as
The continuity equation is discretized as
<math> p_P^{n+1} = p_P^n - g \frac{\Delta t}{\Delta A_P} \sum_{k=1} n_k F_k^{n+1}</math>
where <math>n_k </math> is the dot product of the cell face unit vector and


The depth-averaged 2-D continuity and momentum equations are given by
The depth-averaged 2-D continuity and momentum equations are given by

Revision as of 23:54, 29 January 2011

This is a page for setting up pages before loading them.

The discretized momentum equations are


The continuity equation is discretized as


where the subscript indicates the cell face, with being the water surface elevation, is equal to the dot product of the velocity unit vector and the cell face unit vector.

The coefficient is equal to

The continuity equation is discretized as

where is the dot product of the cell face unit vector and


The depth-averaged 2-D continuity and momentum equations are given by

  (1)

for

  (2)