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 1: Line 1:
This is a page for setting up pages before loading them.
This is a page for setting up pages before loading them.


 
<math> \int\limits_{A}{\nabla \cdot \left( {{\Gamma }^{\phi }}h\nabla \phi  \right)}\text{d}A=\oint\limits_{S}{{{\Gamma }^{\phi }}h\left( \nabla \phi \cdot \mathbf{n} \right)}\text{d}S=\sum\limits_{f}^{{}}{\bar{\Gamma }_{f}^{\phi }{{{\bar{h}}}_{f}}\Delta {{l}_{f}}{{\left( {{{\hat{n}}}_{i}}{{\nabla }_{i}}\phi  \right)}_{f}}} </math>
\[\int\limits_{A}{\nabla \cdot \left( {{\Gamma }^{\phi }}h\nabla \phi  \right)}\text{d}A=\oint\limits_{S}{{{\Gamma }^{\phi }}h\left( \nabla \phi \cdot \mathbf{n} \right)}\text{d}S=\sum\limits_{f}^{{}}{\bar{\Gamma }_{f}^{\phi }{{{\bar{h}}}_{f}}\Delta {{l}_{f}}{{\left( {{{\hat{n}}}_{i}}{{\nabla }_{i}}\phi  \right)}_{f}}}\]


First the momentum equations are rewritten as  
First the momentum equations are rewritten as  

Latest revision as of 19:00, 17 March 2011

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

A(Γϕhϕ)dA=SΓϕh(ϕ𝐧)dS=fΓ¯fϕh¯fΔlf(n^iiϕ)f

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)

The resulting di


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