Temp: Difference between revisions

From CIRPwiki
Jump to navigation Jump to search
Deleted (talk | contribs)
No edit summary
Deleted (talk | contribs)
No edit summary
Line 5: Line 5:
+ \frac{\partial }{\partial x_j} \biggl( (h U_i U_j )-  \nu_t  h \frac{\partial U_i }{\partial x_j} \biggr)
+ \frac{\partial }{\partial x_j} \biggl( (h U_i U_j )-  \nu_t  h \frac{\partial U_i }{\partial x_j} \biggr)
= - g h \frac{\partial \eta }{\partial x_i} + S_i
= - g h \frac{\partial \eta }{\partial x_i} + S_i
  </math>|2=2}}
  </math>|2=1}}


where <math> S_i includes all other terms </math>. The equation is then integrated over the a control volume
where <math>S_i</math> includes all other terms. The equation is then integrated over the a control volume as
<math> \frac{\partial  }{\partial t} \int_A h U_i dA  
{{Equation| <math> \frac{\partial  }{\partial t} \int_A h U_i dA  
+ \oint_F \frac{\partial }{\partial x_j} \biggl[ (h U_i U_j) -  \nu_t h \frac{\partial U_i }{\partial x_j} \biggr] dF
+ \oint_F \frac{\partial }{\partial x_j} \biggl[ (h U_i U_j) -  \nu_t h \frac{\partial U_i }{\partial x_j} \biggr] dF
  = - g h \oint_F \frac{\partial \eta }{\partial x_i} dF + \int_A S_i dA
  = - g h \oint_F \frac{\partial \eta }{\partial x_i} dF + \int_A S_i dA
</math>
</math>|2=2}}





Revision as of 00:17, 30 January 2011

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

First the momentum equations are rewritten as

  (hUi)t+xj((hUiUj)νthUixj)=ghηxi+Si (1)

where Si includes all other terms. The equation is then integrated over the a control volume as

  tAhUidA+Fxj[(hUiUj)νthUixj]dF=ghFηxidF+ASidA (2)


Ui,Pn+1=1ai,P(k=1ai,kUi,kn+1+Si)hPai,Pk=1nikΔskpkn+1

The continuity equation is discretized as

hn+1𝐒


where the subscript k indicates the cell face, p=gη with η being the water surface elevation, nik is equal to the dot product of the velocity unit vector and the cell face unit vector.

The coefficient ai,P is equal to ai,P=ai,k+aP0

The continuity equation is discretized as pPn+1=pPngΔtΔAPk=1nkFkn+1

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


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

  ht+(hUj)xj=S (1)

for j=1,2