A Short Review on Computational Hydraulics in the context of Water Resources Engineering

Thetermhydraulicsconcernedwiththeconveyanceofwaterthatcanconsistofverysimpleprocesses tocomplexphysicalprocesses, suchasﬂowinopenrivers, ﬂowinpipes, ﬂowofnutrients/sediments, ﬂow of ground water to sea waves. The study of hydraulics is primarily a mixture of theory and experiments. Computational hydraulics is very helpful in-order to quantify and predict ﬂow nature and behavior. Math-ematicalmodelisbackboneofthecomputationalhydraulicsthatconsistsimpletocomplexmathematicalequationswithlinearand/ornon-lineartermsandordinaryorpartialdiﬀerentialequations.Analytical solutionofthismathematicalequationsisnotfeasibleinthemajorityofcases.Inthisconsequences, mathematicalmodelsaresolvedusingdiﬀerentnumericaltechniquesandassociatedschemes.Inthis manuscriptwewillreviewhydraulicprinciplesalongwiththeirmathematicalequations.Thenwewill learnsomecommonlyusednumericaltechniquetosolvediﬀerenttypesofdiﬀerentialequationsrelated tothehydraulics.AmongthemtheFiniteDiﬀerenceMethod( FDM ), Finite Element Method ( FEM ) and Finite Volume Method ( FV M ) will be discussed along with their use in real-life applications in the context of water resources engineering.

Hydraulics originated around the time of Archimedes, who established the now-famous rules of floating bodies. Following Galileo ( -), Gastelli ( -), Torricelli ( -), and Guglielmini ( -) developed mathematical models for barometers, flow from containers, steady flow, and resistance in rivers. When Newton ( -) published his famed laws of motion, they expanded our quantitative understanding of fluid resistance in terms of velocity gradient and drag on spheres. Following Newton, Daniel Bernoulli, Leonhard Euler, Clairaut, d'Alembert, Lagrange ( -), Laplace ( -), and Gerstner ( -) contributed significant concepts on fluid flow and surface waves to hydrodynamics. Additionally, De Pitot invented a tube for measuring speed; Chezy devised a formula for open channel resistance; Borda conducted orifice-related experiments; Bossut installed a towing tank; and Venturi experimented with flow in varying cross-sections, all of which contributed to the field of hydraulics' enrichment Çengel et al. ( ).
Coulomb ( -) conducted flow resistance studies concurrently with Ernst Brothers ( -) and Weber ( -), all of whom made significant contributions to the field of hydraulics. As a result, the -) all made significant contributions to the development of theoretical and applied hydrodynamics during the nineteenth century. Additionally, Euler's equation of motion for an ideal (non-viscous) fluid had advanced significantly. However, it does not account for certain significant observed results, such as the decrease in pipe pressure. As a result, engineers in practice created their own empirical hydraulics. Recent computational hydraulics is one of several domains of science in which computer technologies enable an intermediate mode of operation between pure theory and experiment. This discipline, which is frequently referred to as computational hydraulics, is more of a synthesis of hydraulics and hydrodynamics than an independent development. The objective of computational hydraulics is to use computers to mimic various physical processes involving seas, estuaries, rivers, canals, and reservoirs. We will explore fundamental hydraulic processes and their quantification in this article, focusing on water resource applications such as open channels, pipes, groundwater, and coastal waves Çengel et al. ( ).

Hydraulics of Open Channels
Open channel flows deal with the flow of water in open channels, where the pressure at the surface of the water is ambient and the pressure at each portion is proportional to the depth of the water. Pressure head is the ratio of pressure and the specific weight of water (P/γ). Elevation head (Z) is the height of the section under consideration above a datum and Velocity head (V 2 /2g) is attributed to the average velocity of flow in that vertical section. Hence, the total head can be expressed by the equation .
In an open channel, water flow is primarily due to the gradient of the head and gravity. The Open Channels are primarily used for irrigation supply, industrial and domestic water supply Sarker ( a).

. Conservation Laws
Mass Conservation, Momentum Conservation and Energy Conservation are the main conservation laws used in open Channel. A control volume commonly considered under the Conservation of Mass, the overall mass change in the control volume due to inflow and outflow, is equal to the net rate of weight change in the control volume. This results to the classical continuity equation balancing the inflow, out flow and the storage change in the control volume. Since we only find water that is regarded as incompressible, that is, it is possible to disregard the impact on density Sarker ( a).
The rate of change of momentum in the control volume under the Conservation of Momentum is equal to the net forces acting on the control volume. Since the water under consideration is flowing, external forces are acting upon it. This leads ultimately to the Newton's second law of motion Sarker ( a).
Energy conservation states that neither energy can be generated nor destroyed, it only changes its form. The energy would be in the form of potential energy and kinetic energy, primarily in open channels. The elevation of the water parcel is due to potential energy, while the kinetic energy is due to the movement of the parcel. In the context of open channel flow the total energy due these factors between any two sections is conserved, that leads to the classical Bernoulli's equation.
This equation must account for the energy loss between the two sections when used between two sections, which is due to the resistance of bed shear etc. to the flow Sarker ( a). .

Types of Open Channel Flows
The flow in an open channel is classified as Sub critical flow, Super Critical flow, and Critical flow depending on the Froude number (F r ), where the Froude number can be described as : Types of open channel flow can be further categorized on the basis of time and space parameters (see figure a).
Flow is said to be steady when discharge does not change along the course of the channel flow. On the other hand, as the discharge varies over time, flow is said to be unsteady. When both the depth and discharge are the same at any two sections of the channel, flow is said to be uniform. Furthermore, flow is said to be gradually varied when ever the depth changes gradually along the channel, whenever the flow depth changes rapidly along the channel the flow is termed rapidly varied flow. Whenever the flow depth gradually varies due to the change in discharge, the flow is called a spatially varied flow Sarker ( a).
Steady uniform flow (kinematic wave), Steady non-uniform flow (diffusion wave) and Unsteady non-uniform flow (dynamic wave) can be seen as types of possible flow based on the above classification.

. Specific Energy and Specific Force
Specific Energy is defined as the energy acquired by a section of water due to its depth and the velocity with which it is flowing, specific Energy E is given by, Where y is the depth of flow at that section and v is the average velocity of flow. Specific energy is minimum at critical condition (see point C figure ), and the corresponding depth at point C is termed as critical depth y c . This y c can be measured for a specific section under steady flow Sarker ( a). Specific Force is defined as the sum of the momentum of the flow passing through the channel section per unit time per unit weight of water and the force per unit weight of water Sarker ( a).
The specific forces of two sections are equal provided that the external forces and the weight effect of water in the reach between the two sections can be ignored. The term specific force is very useful to quantify the property of rapidly varied flow such as hydraulic jump Sarker ( a). At the critical state of flow the specific force is a minimum for the given discharge.
When the specific energy is minimal, flow is critical. Also, the flow has to go through critical conditions if the flow changes from sub critical to super critical or vice versa. Sub-critical flow-the depth of the flow is higher, although the velocity is lower and the super-critical flow-the depth of the flow is lower, but the velocity is higher. Critical flow is the flow over a free over-fall. For Specific energy to be a minimum dE dy = 0: However, dA = T * dy, where T is the width of the channel at the water surface, then applying dE dy = 0, will result in following: For a rectangular channel Ac Tc = y c . Following the derivation for a rectangular channel, The same notion applies to trapezoidal and other cross-sections Sarker ( a). The critical flow state describes an unique relationship between depth and discharge that is very useful in the design of flow measurement structures.

Uniform Flows
This is one of the most important principles of open channel flow. The most important uniform flow equation is Manning's equation stated as Where R = the hydraulic radius = A/p and p = wetted perimeter = f (y, S 0 ), y = depth of the channel bed, S 0 = bed slope (same as the energy slope, S f ) and n = the Manning's dimensional empirical constant.
Uniform Flow concept is used in most of the open channel flow design. The uniform flow implies that there is no acceleration of the flow due to the weight portion of the flow being balanced by the resistance of the shear of the bed. In terms of discharge the Manning's equation ( ) is given by: This is a non linear equation in y the depth of flow for which most of the computations will be made. Derivation of uniform flow equation is given below, where W sinθ = weight component of the fluid mass in the direction of flow, τ 0 = bed shear stress and P ∆x = surface area of the channel. The force balance equation can be written as: Now A/p is the hydraulic radius, R, and sinθ is the slope of the channel S o . The shear stress can be expressed as: Where c f is resistance coefficient, V is the mean velocity ρ is the mass density. Therefore the previous equation can be written as: where C is Chezy's constant. For Manning's equation,

Gradually Varied Flow
Flow is said to be gradually varied whenever the depth of flow changed gradually. The governing equation for gradually varied flow is given by: Where the variation of depth y with the channel distance x is shown to be a function of bed slope S o , Friction Slope S f and the flow Froude number F r . This is a non linear equation with the depth varying as a non linear function. Gradually varied flow can be derived from the conservation of energy at two sections of a reach of length ∆x, can be written as: Now, let ∆y = y 2 − y 1 and )∆x, Then the above equation becomes: Dividing through ∆x and taking the limit as ∆x, approaches zero gives us: After simplification, can be done in terms of Froude number and the general differential equation can be written as equations to Numerical integration of the gradually varied flow equation will give the water surface profile along the channel. Depending on the depth of flow where it lies when compared with the normal depth and the critical depth along with the bed slope compared with the friction slope different types of profiles are formed such as M (mild), C (critical), S (steep) profiles. M (mild)-If the slope is so small that the normal depth (Uniform flow depth) is greater than critical depth for the given discharge, then the slope of the channel is mild. C (critical)-if the slope if the slope's normal depth equals its critical depth, then we call it a Critical slope, denoted by C. S (steep)-if the channel slope is so steep that a normal depth less than critical is produced, then the channel is Steep, and water surface profile designated as S (see Kumar ( )). .

Rapidly Varied Flow
This flow has very pronounced curvature of the streamlines. It has pressure distribution that cannot be assumed to be hydrostatic. The rapid variation in flow regime often take place in short span. When rapidly varied flow occurs in a sudden-transition structure, the physical characteristics of the flow are basically fixed by the boundary geometry of the structure as well as by the state of the flow. Channel expansion and channel contraction, Sharp crested weirs and Broad crested weirs can be seen as examples. Specific force before and after the flow regime can be considered same i.e. F 1 = F 2 Sarker ( a).

. Unsteady flows
When the flow conditions vary with respect to time, we call it unsteady flows. Some terminologies such as wave is defined as a temporal or spatial variation of flow depth and rate of discharge. Wave length is the distance between two adjacent wave crests or trough. Amplitude is the height between the maximum water level and the still water level. Wave celerity (C) is the relative velocity of a wave with respect to fluid in which it is flowing with V . Absolute wave velocity (V w ) is the velocity with respect to fixed reference as below: Plus sign indicates the wave is traveling in the flow direction and vice versa. For shallow water waves C = √ gy 0 , where y 0 = undisturbed flow depth. Unsteady flows occur due to following reasons: surges in power canals or tunnels, surges in upstream or downstream channels produced by starting or stopping of pumps and opening and closing of control gates. Waves in navigation channels produced by the operation of navigation locks. Flood waves in streams, rivers, and drainage channels due to rainstorms and snowmelt, tides in estuaries, bays and inlets. Unsteady flow commonly encountered in an open channels and deals with translatory waves. Translatory waves is a gravity wave that propagates in an open channel and results in appreciable displacement of the water particles in a direction parallel to the flow. For purpose of analytical discussion, unsteady flow is classified into two types, namely, gradually varied and rapidly varied unsteady flow. In gradually varied flow the curvature of the wave profile is mild, and the change in depth is gradual. In the rapidly varied flow the curvature of the wave profile is very large and so the surface of the profile may become virtually discontinuous. Continuity equation for unsteady flow in an open channel becomes: For a rectangular channel of infinite width, the equation may be written as: When the channel is to feed laterally with a supplementary discharge of q per unit length, for instance, into an area that is being flooded over a dike, then the equation becomes: The general dynamic equation for gradually varied unsteady flow is given by (see Reza et al. ( ); Sarker ( d)):

Hydraulics of Pipe Flows
Pipe flows are mainly due to pressure difference between two sections. The total head here also consists of the pressure head, elevation head and velocity head. The principle of continuity, energy, momentum is also used in this type of flow. For example , when designing a pipe, we use continuity and energy equations to obtain the appropriate pipe diameter. Then, applying the momentum equation Sarker ( d); Reza et al. ( ), for a given discharge, we get the forces that act on bends. The key factors in the design and operation of a pipeline are head losses, pressures and stresses acting on the material of the pipe, and discharge. Head loss for a given discharge relates to flow efficiency; i.e an optimum size of pipe will yield the least overall cost of installation and operation for the desired discharge. Choosing a small pipe results in low initial costs, but due to high energy costs from significant head losses, subsequent costs may be excessively high. The design of conduit should be such that it needs least cost for a given discharge. The hydraulic aspect of the problem require applying the one dimensional steady flow form of the energy equation. Energy equation can be written as: Where, P γ = pressure head, αV 2 2g = velocity head, Z = elevation head, h p = head supplied by a pump, h t = head supplied by a turbine and h L = head loss between 1 and 2.
In αV 2 2g , the velocity V is the mean velocity in the conduit at a given section and is obtained by V = Q A , where Q is the discharge, and A is the cross cross-sectional area of the conduit. The kinetic energy correction factor is given by α, and it is defines as, where u = velocity at any point in the section.
α has minimum value of unity when the velocity is uniform across the section. α has values greater than unity depending on the degree of velocity variation across a section. For laminar flow in a pipe, velocity distribution is parabolic across the section of the pipe, and α has value of 2.0. However, if the flow is turbulent, as is the usual case for water flow through the large conduits, the velocity is fairly uniform over most of the conduit section, and α has value near unity (typically: 1.04 < α < 1.06). Therefore, in hydraulic engineering for ease of application in pipe flow, the value of α is usually assumed to be unity, and the velocity head is then simply V 2 2g . The head supplied by a pump is directly related to the power supplied to the flow as P p = Qγh p , similarly, if head is supplied to turbine, the power supplied to the turbine will be P t = Qγh t . The head loss term h L accounts for the conversion of mechanical energy to internal energy (heat), when this conversion occurs, the internal energy is not readily converted back to useful mechanical energy, therefore it is called head loss. Head loss results from viscous resistance to flow (friction) at the conduit wall or from the viscous dissipation of turbulence usually occurring with separated flow, such as in bends, fittings or outlet works. Head loss is due to friction between the fluid and the pipe wall and turbulence within the fluid. The rate of head loss depend on roughness element size apart from velocity and pipe diameter. Further the head loss also depends on whether the pipe is hydraulically smooth, rough or somewhere in between. In water distribution system , head loss is also due to bends, valves and changes in pipe diameter. Head loss for steady flow through a straight pipe.
This is known as Darcy-Weisbach equation. h/L = S, is slope of the hydraulic and energy grade lines for a pipe of constant diameter. Head loss in laminar flow can be calculated using Hagen-Poiseuille equation, which gives: Combining above equations with Darcy-Weisbach equation provides That can be further written in terms of Reynolds number This relation is valid for R e < 1000. In turbulent flow, the friction factor is a function of both Reynolds number and pipe roughness. As the roughness size or the velocity increases, flow is wholly rough and f depends on the relative roughness. Where graphical determination of the friction factor is acceptable, it is possible to use a Moody diagram. This diagram gives the friction factor over a wide range of Reynolds numbers for laminar flow and smooth, transition, and rough turbulent flow. The quantities shown in Moody Diagram are dimensionless so they can be used with any system of units. Moody's diagram can be followed from any reference book.
Minor losses caused by valves, bends and changes in pipe diameter. This is smaller than friction losses in straight sections of pipe and for all practical purposes ignored. Minor losses are significant in valves and fittings, which creates turbulence in excess of that produced in a straight pipe. A minor loss coefficient K may be used to give head loss as a function of velocity head.
A flow coefficient C v which gives a flow that will pass through the valve at a pressure drop of 1psi may be specified. Given the flow coefficient the head loss can be calculated as: The flow coefficient can be related to the minor loss coefficient by: Major losses are due to friction between the moving fluid and the inside walls of the duct. The Darcy-Weisbach formula is generally considered to calculate major losses in pipes. This method is generally considered more accurate than the Hazen-Williams method. Additionally, the Darcy-Weisbach method is valid for any liquid or gas. Moody Friction Factor f can be calculate as below: for 5000 ≤ R e ≤ 10 8 → (i.e.turbulentf low) → and → 10 −6 ≤ e D ≤ 10 −2 ( ) Major loss in pipes can also be calculated Using Hazen-Williams friction loss equation Hazen-Williams is only valid for water at ordinary temperatures (40 0 − 75 0 F ). The Hazen-Williams method is very popular, especially among civil engineers, since it's friction coefficient (C HW ) is not a function of velocity or duct (pipe) diameter. Hazen-Williams is simpler than Darcy-Weisbach for calculations where one can solve for flow-rate, velocity, or diameter.
When the flow conditions are changed from one steady state to another, the intermediate stage flow is referred to as transient flow. This occurs due to design or operating errors or equipment malfunction. This transient state pressure causes lots of damage to the network system Sarker ( e,c). Pressure rise in a close conduit caused by an instantaneous change in flow velocity. If the flow velocity at a point does vary with time, the flow is unsteady. The terms fluid transients and hydraulic transients are used in practice Sarker ( e).
Consider a pipe length of length L Water is flowing from a constant level upstream reservoir to a valve at downstream. Assume valve is instantaneously closed at time t = t 0 from the full open position to half open position. This reduces the flow velocity through the valve, thereby increasing the pressure at the valve. The increased pressure will produce a pressure wave that will travel back and forth in the pipeline until it is dissipated because of friction and flow conditions have become steady again. This time when the flow conditions have become steady again, let us call it t 1 . So the flow regimes can be categorized into (a) Steady flow for t < t 0 , (b) Transient flow for t 0 < t < t 1 and (c) Steady flow for t > t 1 . Transient Transientstate pressures are sometimes reduced to the vapor pressure of a liquid that results in separating the liquid column at that section; this is referred to as liquid-column separation. If the flow conditions are repeated after a fixed time interval, the flow is called periodic flow, and the time interval at which the conditions are repeated is called period. The analysis of transient state conditions in closed conduits may be classified into two categories: lumped may be classified into two categories: lumped-system approach and distributed system approach. In the In the lumped system lumped system approach the conduit walls are assumed rigid and the liquid in the conduit is assumed incompressible, so that it behaves like a rigid mass, other way flow variables are functions of time only. In the distributed system approach the liquid is assumed slightly compressible. Therefore flow velocity vary along the length of the conduit in addition to the variation in time.
The 1 − D form of momentum equation for a control volume that is fixed in space and does not change shape may be written as: If the liquid is considered to be incompressible and the pipe is rigid, then at any instant the velocity along the pipe will be same, i.e. (ρAV 2 ) out = (ρAV 2 ) in . Substituting for all the forces acting on the control volume.
, α = pipe slope, D = pipe diameter, L = pipe length, γ = specific weight of fluid and τ 0 = shear stress at the pipe wall. Frictional force is replaced by γh f A, and H 0 = h + Lsinα and h f from Darcy-weisbach friction equation. The resulting equation yields: When the flow is fully established dV dt = 0. The final velocity V 0 will be: We use the above relationship to get the time for flow to establish: If the flow changes are rapid, it is important to take into account fluid compressibility. Changes are not instantaneous in the system, because in the piping system, pressure waves travel back and forth. The walls of the pipe must be rigid and the liquid slightly compressible. Assume that the flow velocity at the downstream end is changed from V to V + ∆V , thereby changing the pressure from P to P + ∆P . The change in pressure will produce a pressure wave that will propagate in the upstream direction. By assuming that the velocity reference system travels with the pressure wave, the unsteady flow condition can be translated into steady flow. Using momentum equation with control volume approach to solve for ∆p. The system is now steady, the momentum equation now yield: By simplifying and discarding terms of higher order, this equation becomes:

Hydraulics of Ground Water Flow
Velocity, discharge and head are the essential quantities used to characterize the flow of groundwater. They are followed by the Darcy's law and some other metrics related to soil physical characteristics. The specific discharge is defined as the volume of water flowing through a unit area of soil per unit time, which has the unit of velocity. Specific discharge usually denoted by q and is defined as below: where Q is the flow rate of water through a cross sectional area A. The average velocity of fluid at a certain point of the porous medium is called Seepage velocity. The seepage velocity is represented by v, and is defined as: where n e is the effective porosity of the soil. The effective porosity, n e is defined as ratio of the volume of continuous pore spaces (open to groundwater flow) of a soil sample to the total volume of the sample. For ground water flow, the total head denoted by h is defined as the sum of the pressure head, and the elevation head, z as follows: where P is the pressure at any point, ρ is the density of water at the prevailing temperature. If streamlines are not perpendicular to the vertical piezometer, then h p may include the contribution of the vertical component of the velocity head For most groundwater flows, the velocity head constitutes a very small part of the total head and is usually neglected.
The important relationship is that the specific discharge at a certain point is proportional hydraulic gradient at that point and the discharge occurs in the direction of decreasing gradient. Which is known as Darcy's law.
where q x is the specific discharge along the x direction, dh dx is the gradient of head causing the flow along the x direction, and K is known as hydraulic conductivity. The hydraulic conductivity can be further expressed as: If the hydraulic conductivity K is independent of position within a geologic formation, the formation is homogeneous. In this case, K is a constant. On the other hand, if K is dependent of position then it is called heterogeneous formation. If the hydraulic conductivity K is independent of the direction of measurement at a point in the geologic formation, the formation is isotropic at that point. On the other hand, if K varies with the direction of measurement at a point, the formation is anisotropic at that point.
In an aquifer with layered heterogeneity, flow may occur parallel to the layers or across the layers or both.
To simplify the flow calculations, it is possible to use estimates of equivalent K. If the layers are horizontal then the equivalent K for a flow parallel to the layers, K x , and the same for a flow across the layers, K z , are given by the following: The Darcy law is for a homogeneous and isotropic medium. Assuming that the principal axes of K are aligned with the coordinate axes then the governing equation for a three dimensional anisotropic confined aquifer can be written as: Here, R is source or sink term. If the medium is homogeneous and isotropic, K x = K y = K z = K. In addition, if the aquifer is horizontal and has a constant thickness b, then T = Kb, and S = bS S , in two dimensions the equation becomes, where T is called the transmissivity of the aquifer, and S is called the storage coefficient.The above equation called the diffusion equation. For the steady state condition this equation becomes the well known Laplace equation: The two dimensional flow equation for an unconfined aquifer is given by: Here, S y is called the specific yield, which is the quantity of water that can be drained out of a saturated volume of porous medium due to unit lowering of the water table. The above equation is also known as the Boussinesq equation. It is a nonlinear, second order partial differential equation but linear in h 2 .

Water wave dynamics
Small-amplitude or linear wave theory is the most elementary wave theory developed by Airy ( ). With a large range of wave parameters, this theory is easier to apply, offering a reasonable approximation of wave characteristics. It is necessary to assert the key assumptions of this theory as below. Homogeneous, ideal and incompressible fluid, irrotational flow, surface tension and Coriolis effect is neglected, pressure at the free surface is uniform and constant, small amplitude and bed is a horizontal, fixed, impermeable boundary. Two dimensional irrotationality can be stated by equation -: where, φ is known as velocity potential is a scaler function USACE ( ). In addition, incompressible flow implies that there is another function termed as the stream function ψ ( -).
The speed at which a wave form propagates is termed the phase velocity or wave celerity C = L/T . Where, the length L is the horizontal distance between corresponding points on two successive waves and the period T is the time for two successive crests to pass a given point. The most commonly used terms to describe water wave dynamics are depicted in figure , where, a progressive wave represented by the spatial variable x, temporal variable t and η denotes the displacement of the water surface relative to the SW L. As a result their phase can be defined as θ = kx−ωt, where k and ω are described as wave number (k = 2π L ) and angular frequency (ω = 2π T ) respectively. In this consequence, the wave profile can written as following equation ( ): Therefore, the amplitude of wave can be depicted as a = H @ , where, H is the wave height. Wave motion can be often defined in terms of some dimensionless parameters such as wave steepness ( H L ), relative depth ( d L ) and relative height ( H d ). It is important to point out that sometimes relative depth and relative height quantified as kd and ka since they differ only by a constant factor of 2π. Water waves usually classified into three following categories based on relative depth: shallow water wave (0 < d L < 1 20 i.e. 0 < k * d < π 10 ), transitional water wave ( 1 20 < d L < 1 2 i.e. π 10 < kd < π) and deep water wave ( 1 2 < d L < ∞ i.e. π < kd < ∞). In general, wave phase speed can be expressed as: Therefore, the measurement of wave length can be L = CT = gT 2 2π tanh(kd) ( )

Figure : Definition of elementary terms used to define a progressive sinusoidal wave
In addition to different wave parameter, the local flow velocities and accelerations during the passage of a water wave must often be calculated using equation .
cosh(kd) cos (kx − ωt) ( ) Water particle displacements from mean position for shallow/transitional-water (i.e. d L < 1 2 ) and deepwater waves (i.e. d L > 1 2 ) can be tracked by following equations: Therefore, relative pressure will be P = P − P a . If pressure response factor is denoted by then the equation becomes P = ρg(ηK z − z). Besides, pressure force, it is possible to divide water wave energy into traditional potential (E p = 1 16 ρgH 2 L) and the kinetic (E k = 1 16 ρgH 2 L) form of energy. Therefore, the total energy per wave length and unit width can be written as E = 1 8 ρgH 2 L. Furthermore, the rate of energy transfer by water wave is known as energy flux, that can be quantified using the equation .
The equation can simply written as the form of P = EnC = EC g , where C g is commonly known as group velocity. Therefore, group velocity can be quantified using equation .
Coastal hydraulics usually considers problems near the shoreline and the key processes that can affect a wave as it propagates from deep into shallow water includes: shoaling, refraction, reflection, diffraction, breaking and damping. The transformation of the wave form due to interaction with bathymetry is known as wave shoaling. Wave refraction is the changes in the direction of wave propagation due to differences in wave velocity along the crest, which are generally illustrated by lines drawn perpendicular to the wave crest in the direction of wave propagation known as wave rays. The angle of the wave along a ray follow Snell's law. Wave diffraction is the bending of wave crests (changes in direction) due to along crest gradients in wave height. The point at which wave form becomes unstable and breaks is known as breaking point and the phenomenon is known as wave breaking. Wave breaking occur when water particles at the crest travel much faster/farther than water particles in the trough. Wave breaking may be classified in four types as spilling, plunging, collapsing, and surging USACE ( ).

Differential Equations for water movement
Water movement is the key process in Water Resources Engineering. Most mathematical models describing water movement are consisting of differential equations deriving from the fundamental principles of the conservation of mass, energy and momentum. The continuity equation for one-dimensional unsteady gradually-varied flow, the Belanger equation, unsteady flow equation are some example of differential Equations. The highest derivative is called the order of the differential equation and the power of its derivative of the highest order is called the degree of the differential equation. In general, the differential equations for water movement are second-order partial differential equations.
The conservation laws in physics can be described by a P DE of the follwing form: For example diffusion equation is a parabolic equation. If (b 2 − 4ac) < 0, the above equation is elliptic. The Laplace equation is a elliptic equation. Besides general form of PDE the conservation law can be seen as advection-diffusion process which is discussed in the following section.

Modeling Advection-Diffusion Processes
Advection-Diffusion process can be expressed by an equation known as advection-diffusion equation which comes from the conservation of contaminant mass. Advection refers to the transport of contaminants by the moving water where contaminants travel at the the same velocity as the mass of water in which they are dissolved. Diffusion refers to the spreading of the contaminants in all direction due to the turbulence and non-uniform velocity distribution. Here, molecular diffusion is much smaller than that of turbulent diffusion. In addition to being advected and diffused, the amount of a contaminant dissolved in water may increase or decrease in time due to chemical reactions with other agents present in the environment. When such reactions are absent, the contaminant process is called a conservative process meaning that the total mass of the dissolved substance remains constant through the transport process. When such reaction processes are present, the contaminant process is called non-conservative indicating that the mass of the contaminant is growing or decaying at a certain rate.

Wave equation, diffusion equation and Laplace equation is also example of Advection-Diffusion process.
Analytical solutions for advection-diffusion-reaction processes can be found only for simplified problems. For complicated boundary conditions or initial conditions, one needs numerical methods to get solution for the problem.

Transports of particle (sediment, salt and pollutants) in water movement
In addition to water movement, transports of sediment, salt and pollutants lead to differential equations. Advection-diffusion process is a common process in transports of sediment, salt and pollutants. Advection refers to the transport of contaminants by the moving water where contaminants travel at the the same velocity as the mass of water in which they are dissolved. Diffusion refers to the spreading of the contaminants in all direction due to the turbulence and non-uniform velocity distribution. In an open channel flow, molecular diffusion is much much lower compared to turbulent diffusion. The general differential form of conservation of contaminant mass equation can be expressed as: Where, C is the mass concentration per control volume. In addition, Fick's law define the flux (q x , q y and q z ) due to an advection and a diffusion process, that can be written as: Apart from the general type of contaminants transporting particle, some other dissolved gas transport along with their reaction rate can also be part of hydraulics, which is very important for the supply and treatment of water.

Hydraulics used in water Supply and Treatment
The concentration of a gas (such as O 2 ) that can be present in solution is governed by (a) the solubility of the gas as defined by Henry's Law, (b) temperature, (c) presence of impurities (such as salinity), and (d) the partial pressure of the gas in the atmosphere. The saturation concentration of a gas dissolved in a liquid is a function of the partial pressure of the gas. Henry's law states that P g = H xg P T , where, P g and x g is the mole fraction of the gas in air and in the liquid (water) respectively, P T is the total pressure and H is the Henry's constant that depends on the type of gas. For example, dissolved oxygen (DO) is measured in standard solution units such as mmol/L, mg/L, mL/L, or ppt. O 2 saturation is calculated as the percent of DO relative to a theoretical maximum concentration given the temperature, pressure, and salinity of the water. Well-aerated water will usually be 100% saturated. In general, lower temperatures, lower salinity, and higher atmospheric pressures lead to higher values of dissolved O 2 . Higher barometric pressures lead to higher values of saturated DO. The correction for barometric pressure may be written as DO = DO 0 P −u 760−u , where, P is the barometric pressure and u is the vapor pressure in mm(Hg). Microorganisms in water digest organic material as food in the presence of O 2 that lead to introduce a new term commonly known as the biochemical oxygen demand (BOD). The BOD on a water body depends on the microbial population dynamics which includes a lag phase, a constant growth phase, a stationary phase, and a decay phase. According to the popular mathematical model for the growth of BOD (i.e. the exponential model where the BOD grows asymptotically to the so-called ultimate BOD of the water), BOD can be written as BOD t = BOD u (1 − e −kt ), where k is the reaction rate constant (day −1 ). The rate constant at T temperatures is given by k T = k 20 (1.047) T −20 . When a stream of untreated or partially treated sewage is discharged into a large body of water, the wastewater is diluted and their ultimate BOD (i.e. L o ), DO and temperature (T o ) of the river-wastewater immediately after mixing can be given by (Q w L w + Q r L r )/Q, (Q w DO w + Q r DO r )/Q and (Q w T w + Q r T r )/Q respectively, where, Q = Q w + Q r , Q w = waste water flow rate and Q r = river flow rate. Initial oxygen deficit after mixing is given by D O = DO sat − DO 0 . The Streeter-Phelps equations (see ) describe the DO "sag curve" obtained as a result of simultaneous deoxygenation and reoxygenation that occurs when wastewater is discharged into receiving stream. According to the Streeter-Phelps model , the oxygen deficit after time t (t = 0 at the instant of mixing) is given by where, k d and k r are deoxygenation (day −1 ) and reoxygenation rate (day −1 ) respectively. The time at which the dissolved oxygen is critical is given by At this time, the critical (maximum) O 2 deficit is given by The distance from the point of mixing to the critical location is given by x c = vt c , where, v = average stream velocity.
In the treatment of wastewater, operations in which some transformation is effected through the use of chemical reactions are termed chemical unit operations. The rate at which a chemical reaction progresses depends on the nature of the reaction and hydraulics used to describe that nature is called reactor hydraulics. Chemical reactions usually classified as zero order, first order, second order, and saturation reactions. Zero-order reactions may be expressed as dC dt = −k that leading to C t = C 0 − kt. Similarly, for a first-order reaction follows dC dt = −kC that leading to C t = C 0 e −kt and for a second-order reaction follows dC dt = −kC 2 that leading to 1 Ct = 1 C0 + kt. A reaction is classified as a saturation reaction if the rate of reaction saturates as the reaction progresses. This may be expressed as dC dt = kC a+C that leading to a ln C0 Ct + C 0 − C t = kt. Required hydraulic detention time for various orders of reaction also depicted in figure , which is very useful for water treatment reactor.

Sediment Transport
Sediment transport function is very crucial to predict complex river Khan et al. ( ) hydrodynamics and morphodynamics. For decades, various methods have been used to establish sediment transport functions or formulas. They are often differ drastically from each other and from observations in the field. These formulas have been used to solve engineering and environmental problems. The sediment transport mechanics for cohesive and non-cohesive materials are different. Most of the sediment transport functions are proposed under the assumption of non-cohesive sediment. In this section, we will review of the basic concepts and approaches used in the derivation of incipient motion criteria and sediment transport functions. Due to the stochastic nature of sediment movement, incipient motion is critical for the study of sediment transport, channel degradation and stable channel design. In other words, it is difficult to define precisely at what flow condition a sediment particle will begin to move, hence it depends more or less on definition of incipient motion. Significant progress has been made on the study of incipient motion, both theoretically and experimentally. Out of all ranges, the emphasis here is more on Shear Stress Approach and Velocity Approach.
A sediment particle is at a state of incipient motion when one of the following conditions is satisfied: where, overturning moment due to F D and F L , and resisting moment due to F L and W S (see figure ).
One of the most prominent and commonly used incipient motion criteria is the Shields diagram ( ) based on shear stress approach, where, where the central premise is the shear stress τ , the difference in density between sediment (ρ S ) and water (ρ w ), the diameter of the particle (d s ), the kinematic viscosity and the gravitational acceleration can be grouped into two dimensionless quantities that provides seminal plot to determine incipient motion (see figure ).
where, τ C = critical shear stress at initial motion and U * = shear velocity. Rouse ( ), White ( ), On the other hand, Fortier and Scobey ( ) carried out an extensive field survey of the maximum permissible mean velocity values in the canals of different materials. Hjulstrom ( ) carried out a detailed study of the movement of uniform materials at the bottom of the channels, which provides a convenient diagram (see figure ) based on the velocity approach. The relationship between sediment size and average flow velocity for erosion, transport and sedimentation can be illustrated by the Hjulstrom curve. Yang ( ) and Vanoni ( ) further improved the velocity approach that Govers ( ) and Talapatra and Ghosh ( ) tested experimentally Yang ( ). Yang used theoretical fluid mechanics to calculate critical velocity by providing F L, F D, F R, and W S equations, which involve the fall velocity of the sediment particles. Sediment particle fall velocity is one of the crucial parameters used in most sediment transport functions or formulas. Different methods have been developed for the computation of sediment particle fall velocity. Rubey's ( ) introduce fall velocity formula ω S = F d s g(G − 1), where, F is a function of particles diameter, specific gravity of sediment, kinematic viscosity of water and g, however for particle greater than 1mm, F can be considered as 0.79 Yang ( ). Yang and Simoes ( ) use a shape factor SF = c √ ab for natural sand, where, a,b,c the length of the longest, the intermediate, and the shortest mutually perpendicular axes of the particle, respectively. In water treatment, fall velocity commonly calculated based on the type of particle settling, that can be classified into four types: discrete particle settling, flocculent settling, hindered or zone settling, and compression settling. In addition, discrete particle fall velocity depends on the laminar, transition or turbulent region of flow that is defined in earlier section. Regime, regression, probabilistic, and deterministic approaches are the basic approaches used in the derivation of sediment transport functions or formulas. The concept of "regime" is similar to the concepts of "dynamic equilibrium" and "hydraulic geometry." Various collections of regime equations have been formulated by various investigators, such as Blench ( ), Kennedy ( ) and Lacy ( ). Lacy's ( ) regime equation describing the relationships among channel slope S, water discharge Q, and silt factor f S for sediment transport can be written as S = 0.0005423 f 5/3 S Q 1/6 . Leopold and Maddock's ( ) hydraulic geometry relationships commonly known as W = aQ b , y = cQ f and V = kQ m , where, W = channel width, y = channel depth, V = average flow velocity, Q = water discharge and a, b, c, j, k, m are local constants. Yang et. al. ( ) applied the unit stream power theory for sediment transport , and the hydraulic ge-ometry relationships between Q and S as S = iQ j , where, i, j, constants. Shen and Hung ( ), Karim and Kennedy ( ) proposed sediment transport function adopting regression approach by considering flow velocity, sediment discharge, bed-form geometry, and friction factor. The regression approach may provide fairly accurate results due to the fact that the sediment transport is such a complex phenomenon and no single hydraulic parameter or combination of parameters can be found to describe sediment transport rate under all conditions. Einstein ( ) was a pioneer in sediment transport studies focused on a probabilistic approach, which is under the assumption of the beginning and ceasing of sediment motion can be expressed in terms of probability and the movement of bedload is a series of steps followed by rest periods. In addition to that, Einstein used the hiding correction factor and the lifting correction factor to get the best fitted theoretical result with the observed experimental data. Although Einstein's bedload function is not common in engineering applications due to complex computational procedures, it has however been used as a theoretical foundation for the formulation of other transport functions. For example, Colby and Hembree ( ) used modified Einstein methods for the computation of total bed-material load. On the other hand, the deterministic approach is the existence of one-to-one relationship between independent and dependent variables. Commonly used independent variables are water discharge, average flow velocity, shear stress, and energy or water surface slope. More recently, the use of stream power and unit stream power have gained increasing attention as important parameters to calculate sediment concentration. Bagnold ( ) introduced the stream power concept based on classical physics, while, Engelund and Hansen ( ), and Ackers and White ( ) later used the concept as the theoretical basis for developing their sediment transport functions. Yang ( ) defines unit stream power as the rate of energy per unit weight of water available for transporting water and sediment in an open channel with reach length x and total drop of y can be written as dy dt = dx dt dy dx = V S, where, V = average flow velocity, and S = energy or water surface slope. Besides that, Velikanov ( ) derived his transport function from the gravitational power theory and Pacheco-Ceballos ( ) derived a sediment transport function based on power balance between total power available and total power expenditure in a stream. This principle is also applicable to understanding the evolution of the natural channel network Sarker et al. ( a,b); Sarker ( b).
In this section, we comprehensively reviews basic approaches and theories used in the determination of noncohesive sediment concentration. In the following section we will discuss some basic finite differences numerical techniques to solve governing equations. Finite element and finite volume are another two other numerical technique which will be covered under subsequent sections.

Finite Difference Method
In Finite difference methods (F DM ), partial derivatives are replaced with finite differences approximations, which results in a set of algebraic equations. These algebraic equations can be solved explicitly or implicitly. F DM uses a structured grid and thus requires grid transformation in multidimensional flow case. A typical finite difference grid can be shown in Fig. . Finite difference method is popular because of its simplicity in formulation and implementation. Based on different ways of discretization, different numerical schemes are developed. Some of them are shown as bellows: In a forward time difference, any partial time derivative of a function C can be expressed as follows In a forward space difference, any partial space derivative of a function C can be expressed as follows In a backward space difference, any partial space derivative of a function C can be expressed as follows In a centered space difference, any partial space derivative of a function C can be expressed as follows where ∂t and ∂x is the time and space discretization respectively.
When space discretizations are done on the current time level, then the scheme is known as an explicit scheme. For example equation to are the examples of explicit space discretized scheme. On the other hand, when space discretizations are done on the next time level or using both the current and next time levels, the generated scheme is known as an implicit scheme. For example, if equation is discretized as follows then both will generate implicit schemes. An explicit scheme will not generate any systems of equation. Therefore, an explicit scheme can be solved directly. That means, unknowns at at any nodal value can be calculated without solving other nodal values. On the contrary, an implicit scheme will generate a system of equations, and therefore, unknowns at any nodal value can not be solved independently.
Apart from that another popular implicit scheme is Box Finite Difference Scheme, which is also known as four-point implicit scheme. According to this scheme, time derivative can be expressed as and space derivative can be expressed as and C can be expresses as In order to improve accuracy, further schemes such as the Crank-Nickelson Scheme, Box Finite Difference Scheme, Lax-Wendroff Scheme, MacCormack Scheme were proposed to solve advection-diffusion processes.
Prior to solving the advection-diffusion equation or any governing equation, the initial condition of the system has to be specified. Solution of the governing equations also require boundary conditions. The most common type of boundary conditions are Dirichlet, Neumann, and Cauchy boundary conditions. Dirichlet condition occurs when a portion of the boundary is at a prescribed concentration level (i.e. C specified), Neumann condition occurs when a portion of the boundary has specified flow which is crossing the boundary curve normally (i.e. ∂C ∂n specified), and Cauchy condition is a mixed boundary condition which represents some combination of the Direchlet and Neumann conditions on the boundary curve.
It is important to mention that numerical method used to reformulate governing equations in an approximate manner where continuous operations replaced by discrete operations that causes truncation error. In addition, size of the discretized solution domain (i.e. cells) causes round off error (figure ). Model discretization and numerical solution should be consistent (i.e. correct), convergent (i.e. ∆x → 0 → → 0), and stable (i.e. error should not increase).

Finite Element Method
Another numerical technique used to obtain an approximate solution to a governing differential equation is the Finite Element Method. This is relatively new to the field of computational hydraulics and is supported by rigorous mathematical theory. FEM based on variational form of P DE, that derived using the method of weighted residuals. In this method, under a given boundary condition, the PDE (i.e. strong form) is used and the residuals are determined for the assumed solution due to the fact that the assumed solution is not exact. Then push the residual to zero at various points or intervals using different weighted residual method. There are three commonly used weighted residual method (i.e. Collocation, subdomain, and Galerkins method) in FEM. Among them Galerkins method is popular, where the integral of residual equation R, multiplied by a weighting function, w, is pushed to be zero. The weighting functions are chosen to be the same form as each part of the approximate solution.
If the residual, R(u), for a given P DE, should equal 0 for the true solution. In other words, for approximate solution, non-zero residual measures accuracy u h ≈ u. Here, we require that the weighted residual equal zero: Ω wR(u)dx = 0; ∀w W ( ) and u h is a linear combination of basis functions, can be expressed as Eventually, transforms governing equation into a system of linear equations (Ax = b), which can be solved using matrix operations.
The FEM can be explain by three phases prepossessing, processing/solution and post-processing. In prepossessing phases, model geometry is discretized or subdivided into a finite number of smaller pieces, each piece is called an element, and all intersection points are called nodes. The process of dividing geometry is called meshing, which is one of the key steps of the FEM. After that, one element is considered at a time and assumes a shape function that depicts the physical behavior of the element. The stiffness matrix of each element is then developed and assembled them into a global matrix system for the entire geometry. Apply the required boundary condition and initial condition to the global matrix system. In solution phase, primary unknown is computed from the global system of linear equation. Finally, in the post-processing phase, other derived variables are determined on the basis of the nodal value of the primary unknowns.
For example, SLIM is a numerical model. The full form of SLIM is Second-generation Louvain-la-Neuve Ice-ocean Model. It is a hydrodynamic model based on finite element method (F EM ). The special advantage of finite element method is that, user can use this technique for unstructured grids. One can refined computational grid arbitrarily in the areas of interest that focusing the computational power where it is needed. In this model no need of nested grids. A single model is able to resolve both the large-scale features, such as in the open sea and also small-scale phenomena in rivers, coasts and estuaries. SLIM consists of a 1D river model, a D depth averaged model and 3D model. For 1D river model consists of linear river where variable river width and cross-section, 2D model the domain is divided into triangular elements allowing accurate representation of complex geometry and 3D model uses triangular prismatic elements that are formed by extending the 2D mesh vertically.

Finite Volume Method
Besides computational hydraulics, majority of computational fluid dynamics (CF D) codes based on Finite Volume Method (F V M ). This method is based on integral form of P DE, where the governing equation integrated over control volume. For example, the integral form of 1D advection-diffusion conservation law can be written as: The integral form is based on a control volume v. This v volume can be cell-centered or vertex-centered as shown in figure . Typically, the special model domain divides into discrete control volumes. Then an assumption is made on how the value of integral changes within the control volume v, usually average value is taken at the center of the control volume v.

Figure :
Cell-centered and Vertex-centered finite volume mesh along with midpoint approximation rule The suitable time integration scheme is selected to solve the integral of equation . Midpoint rule, Trapezoidal rule and Simpson's rule are the most common approximations of integrals. In this method, all fluxes usually Converted to surface integrals. This is an exact procedure due to the fact that the volumes are defined as polygons or polyhedra.