CMS-Flow:Hydro Eqs

From CIRPwiki
Revision as of 18:46, 15 July 2014 by Rdchldlj (talk | contribs)
Jump to navigation Jump to search

Continuity and Momentum Equations

Hydrodynamics

Governing Equations

Phillips (1977), Mei (1983), and Svendsen (2006) provide a detailed deri-vation of the depth-integrated and wave-averaged hydrodynamic equa-tions. Here, only variable definitions are provided and derivations may be obtained from the preceding references. The instantaneous current velocity ui is split into:

ui=ui¯+ui~+ui'

in which

ui¯ = current (wave-averaged) velocity [m/s]

ui~ = wave (oscillatory) velocity with wave-average ui~¯=0[m/s]

ui' = turbulent fluctuation with ensemble average ui' = 0 and wave average ui'¯ = 0 [m/s]

The wave-averaged total volume flux is defined as

hVi = ¯ui¯dz


Assuming depth-uniform currents in the presence of oscillatory waves, the general depth- and phase-averaged continuity and momentum equations may be written as (Phillips 1977, Mei 1983, and Svendsen 2006)

  ht+(hVj)xj=0 (1)

where h is the total water depth h=ζ+η, η is the water surface elevation, ζ is the still water depth, Vi is the wave-averaged, depth-integrated mass flux velocity defined as Vi=Ui+Uwi, where Ui is the phase- and depth-averaged current velocity, and Uwi is the depth-averaged wave velocity (Phillips 1977)

  Uwi=(Ew+2Esr)wiρhc (2)

where Ew is the wave energy, Esr is the surface roller energy, ρ is the water density, and c is the wave celerity, and wi=(cosθ,sinθ) is the wave unit vector where θ is the wave direction.

The momentum equation can be written as

  (hVi)t+(hViVj)xjεijfchVj=ghηxihρ0paxi+xj(νthVixj)1ρxj(Sij+RijρhUwiUwj)+τsiτbi (3)

where g is the gravitational constant, fc is the Coriolis parameter, pa is the atmospheric pressure, ρ0 is a reference water density, νt is the turbulent eddy viscosity, τs is the surface wind stress, and τb is the combined wave-current mean bed shear stress. εij is the permutation parameter equal to 1 for i,j = 1,2, -1 for i,j = 2,1; and 0 for i=j.

The equations above are similar to those derived by Svendsen 2006, ex-cept for the inclusion of the water source/sink term in the continuity equation, and the atmospheric pressure and surface roller terms in the momentum equation. It is also noted that the horizontal mixing term is formulated differently as a function of the total flux velocity similar to the Generalized Lagrangian Mean (GLM) approach (Andrews and McIntyre, 1978; Walstra et al, 2000). This approach is arguably more physically meaningful and also simplifies the descritization.

Bottom Stress

The mean (wave averaged) bed shear stress is calculated as

  τib=mbλwcρcbUUi (4)

where λwc is the nonlinear wave enhancement factor, mb is a bed slope friction coefficient, cb is the bottom friction coefficient, and UE=UiEUiE is the Eulerian current magnitude. For additional information on the bottom friction wee Bottom and Wall Friction

Wave and Roller Stresses

The wave radiation stresses Sij are calculated using linear wave theory

  Sij=Ew[nwiwj+δij(n12)]dfdθ (6)

where f is frequency, θ is the direction, δij=1 for i=j, δij=0 for ij, and n=12(1+2khsinh2kh). For more information on the CMS-Wave model see CMS-Wave.

The roller stresses are given by Rij are calculated as

  Rij=2Erwiwj (7)

where Esr is the roller energy. For more information on the surface roller see Surface Roller.

Numerical Methods

General Transport Equation: Discretization

All of the governing equations may be written in general form

 

(hϕ)tTemporal Term+(h bfUϕ)Advection Term=(Γhϕ)Diffusion Term+SSource Term

(8)

where ϕ is a general scalar, t is time, h is the total water depth, bfU is the depth averaged current velocity, Γ is the diffusion coefficient for ϕ, =(1,2) is the gradient operator, and S includes all other terms. Note that in the case of the continuity and momentum equations ϕ is equal to 1 and Ui respectively.

Temporal Term

The temporal term of the momentum equations is discretized using a first order implicit Euler scheme

 

A(hϕ)tdA=tAhϕdA=hn+1ϕn+1hnϕnΔtΔA

(9)

where ΔA is the cell area, and Δt is the hydrodynamic time step.

Advection Term

The advection scheme obtained using the divergence theorem as where is the outward unit normal on cell face f, is the cell face length and is the total water depth linearly interpolated to the cell face. Here the overbar indicates a cell face interpolation operator described in the following section. For Cartesian grids the cell face unit vector is always aligned with one of the Cartesian coordinates which simplifies the calculation. Defining the cell face normal velocity as the above equation simplifies to

 

A(h𝐔ϕ)dA=Lhϕ(𝐔𝐧)dL=fh¯fΔlf(n^iUi)fϕ~f

(10)

where 𝐧=n^𝐢=(n^𝟏,n^𝟐) is the outward unit normal on cell face f, Δlf is the cell face length and h¯f is the total water depth linearly interpolated to the cell face. Here the overbar indicates a cell face interpolation operator described in the following section. For Cartesian grids the cell face unit vector is always aligned with one of the Cartesian coordinates which simplifies the calculation. Defining the cell face normal velocity as Uf=Uifi the above equation simplifies to

 

fh¯fΔlf(n^iUi)fϕ~f=fnfFfϕ~f

(11)

where Ff=h¯fΔlfUf, nf=n=(e^in^i)f, with e^i=(e^1,e^2) being the basis vector. nf is equal to 1 for West and South faces and equal to -1 for North and East cell faces. Lastly, ϕ~f is the advective value of ϕ on cell face f, and is calculated using either the Hybrid, Exponential, HLPA (Zhu 1991) schemes. The cell face velocities Uf are calculated using the momentum interpolation method of Rhie and Chow (1983) described in the subsequent section. The advection value is calculated as ϕ~f=ϕ~fL(exp)+ϕ~fH(imp)ϕ~fL(imp), where the superscripts L and H indicate low and high order approximations and the superscripts (exp) and (imp) indicate either explicit and implicit treatment. The explicit term is solved directly while the implicit term is implemented through a deferred correction in which the terms are approximated using the values from the previous iteration step.

Cell-face interpolation operator

The general formula for estimating the cell-face value of ϕ~f is given by

 

ϕ¯f=LϕN+(1L)ϕP+(ϕ)NL(x,Ox,N)+(ϕ)P(1L)(x,Ox,P)

(12)

where L is a linear interpolation factor given by L=Δx,P/(Δx,P+Δx,N) and is the gradient operator in the direction parallel to face f. By definition =2|n^1|+1|n^2|. Note that for neighboring cells without any refinement x,Ox,P and x,Ox,N are zero and thus the above equation is consistent with non-refined cell faces.

Diffusion term

The diffusion term is discretized in general form using the divergence theorem

 

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

(13)

The discritization of the cell-face gradient is described in the next section. On a Cartesian grid the above expression may be further simplified as

 

fnfΓ¯fh¯fΔlf(ϕ)f=fDf[ϕNϕP+(ϕ)N(x,Ox,N)(ϕ)P(x,Ox,P)]

(14)

where ϕ is gradient in the direction perpendicular to the cell face and Df=Γ¯fh¯fΔlf|δx|.

Hydrodynamic Solver

Wetting and drying

In the numerical simulation of the surface water flows with sloped beaches, sand bars and islands, the water edges change with time, with part of the nodes being possibly wet or dry. In the present model, a threshold flow depth (a small value such as 0.02 m in field cases) is used to judge drying and wetting. If the flow depth on a node is larger than the threshold value, this node is considered to be wet, and if the flow depth is lower than the threshold value, this node is dry. Because a fully implicit solver is used in the present model, all the wet and dry nodes participate in the solution. Dry nodes are assigned a zero velocity. On the water edges between the dry and wet nodes, the wall-function approach is applied.

References

  • Buttolph, A. M., Reed, C. W., Kraus, N. C., Ono, N., Larson, M., Camenen, B., Hanson, H.,Wamsley, T., and Zundel, A. K. (2006). “Two-dimensional depth-averaged circulation model CMS-M2D: Version 3.0, Report 2: Sediment transport and morphology change,” Tech. Rep. ERDC/CHL TR-06-9, U.S. Army Engineer Research and Development Center, Coastal and Hydraulic Engineering, Vicksburg, MS.
  • Ferziger, J. H., and Peric, M. (1997). “Computational Methods for Fluid Dynamics”, Springer-Verlag, Berlin/New York, 226 p.
  • Huynh-Thanh, S., and Temperville, A. (1991). “A numerical model of the rough turbulent boundary layer in combined wave and current interaction,” in Sand Transport in Rivers, Estuaries and the Sea, eds. R.L. Soulsby and R. Bettess, pp.93-100. Balkema, Rotterdam.
  • Phillips, O.M. (1977) Dynamics of the upper ocean, Cambridge University Press.
  • Rhie, T.M. and Chow, A. (1983). “Numerical study of the turbulent flow past an isolated airfoil with trailing-edge separation”. AIAA J., 21, 1525–1532.
  • Saad, Y., (1993). “A flexible inner-outer preconditioned GMRES algorithm,” SIAM Journal Scientific Computing, 14, 461–469.
  • Saad, Y., (1994). “ILUT: a dual threshold incomplete ILU factorization,” Numerical Linear Algebra with Applications, 1, 387-402.
  • Saad, Y. and Schultz, M.H., (1986). “GMRES: A generalized minimal residual algorithm for solving nonsymmetric linear systems,” SIAM Journal of Scientific and Statistical, Computing, 7, 856-869.
  • Soulsby, R.L. (1995). “Bed shear-stresses due to combined waves and currents,” in Advanced in Coastal Morphodynamics, ed M.J.F Stive, H.J. de Vriend, J. Fredsoe, L. Hamm, R.L. Soulsby, C. Teisson, and J.C. Winterwerp, Delft Hydraulics, Netherlands. 4-20 to 4-23 pp.
  • Svendsen, I.A. (2006). Introduction to nearshore hydrodynamics, Advanced Series on Ocean Engineering, 124, World Scientific Publishing, 722 p.
  • Wu, W. (2004). “Depth-averaged 2-D numerical modeling of unsteady flow and nonuniform sediment transport in open channels,” Journal of Hydraulic Engineering, ASCE, 135(10) 1013-1024.
  • Wu, W., Sánchez, A., and Mingliang, Z. (2011). “An implicit 2-D shallow water flow model on an unstructured quadtree rectangular grid,” Journal of Coastal Research, [In Press]
  • Wu, W., Sánchez, A., and Mingliang, Z. (2010). “An implicit 2-D depth-averaged finite-volume model of flow and sediment transport in coastal waters,” Proceeding of the International Conference on Coastal Engineering, [In Press]
  • Van Doormal, J.P. and Raithby, G.D., (1984). Enhancements of the SIMPLE method for predicting incompressible fluid flows. Num. Heat Transfer, 7, 147–163.
  • Zhu, J. (1991). “A low-diffusive and oscillation-free convection scheme,”Communications in Applied Numerical Methods, 7, 225-232.
  • Zwart, P. J., Raithby, G. D., Raw, M. J. (1998). “An integrated space-time finite volume method for moving boundary problems”, Numerical Heat Transfer, B34, 257.




Variable Index

Symbol Description Units
t Time sec
h Total water depth h=ζ+η m
ζ Still water depth m
η Water surface elevation with respect to the still water elevation m
Uj Current velocity in the jth direction m/sec
S Sum of Precipitation and evaporation per unit area m/sec
g Gravitational constant m/secsup2/sup
ρ Water density kg/msup3/sup
pa Atmospheric pressure Pa
νt Turbulent eddy viscosity msup2/sup/sec



Documentation Portal