About Boxes

MOHID Water forum. Questions and discussion around MOHID Water
QAYETBEY@GMAIL.COM
MOHID User
Posts: 32
Joined: Mon Oct 10, 2011 16:43

About Boxes

Postby QAYETBEY@GMAIL.COM » Thu Feb 28, 2013 13:02

Hellow MOHIDers
Would You please allow me to inquire about these items:
-Does MOHID support a possibility to integrate a Profile or Layers into a Box ?
-Are there Global and Regional published values for Obstacle Drag Coeffs.?

Best Regards,

luis_at_mohid.com
MOHID Developer
Posts: 553
Joined: Thu Jan 01, 1970 00:00
Location: Instituto Superior Técnico - Technical University of Lisbon
Contact:

Re: About Boxes

Postby luis_at_mohid.com » Tue Apr 23, 2013 08:08

Hi,

Yes you can integrate the results vertically into boxes. If you define a 2D box in a 3D model, the box integration result will be a vertically integrated output. You can also define 2 (or more) boxes so that for example, if you have 10 layers, you integrate the top 5 layers separately from the bottom 5 layers. This is done by defining in the box file:


<beginpolygon>

<<beginvertix>>
...(horizontal vertix indexes here)
<<endvertix>>

<<beginverticallayer>>
1 5
6 10
<<endverticallayer>>
<endpolygon>

Like this each "polygon" will be accounted as 2 boxes. Box 1 is corresponds to layers 1 to 5, and Box 2 from layers 6 to 10. The horizontal area of the boxes is coincident of course.

Regarding obstacle drag coefficients, MOHID considers obstacles as pillars. Water flow when reaching a pillar is distorted around it, resulting in the reduction of the current velocity. This was included in the model, as an extra term in the equations, acting a negative force in the balance. As MOHID uses a semi-implicit algorithm, this negative term can be simulated implicitly, thus enabling numerical stability.

However, the simulation of each single pillar leads to the integration of a scale of centimetres that is unaffordable in terms of computational costs. Thus, the effect of the pillars had to be parameterized and included in the forces balance in the 3D primitive equations, by including a drag force (F) applied on the flow by influence of the pillars. This drag effect was adapted from Morison’s equation (Morison et al, 1950) for flow past a vertical cylinder, as described below.

Fi = 0.5 Cd * ρ * D * |u| * ui

Where Fi is the drag force (N/m) in the i direction per unit of length, Cd is the drag coefficient, ρ is the water density (kg/m3), D is the diameter of the pillar (m), |u| is the velocity modulus (m/s), ui is the velocity in the i direction.
Additionally, the effect of the pillars has to be adjusted to the grid resolution of the model, i.e. defining the pillars density per horizontal grid cell. Also, the effective drag force has to be integrated to the pillars’ length, which in practical terms, is achieved by integrating the drag force per unit of length over the size (in the vertical axis) of each grid cell.

Fd = n * INTEGRAL z=zcellbottom to zcelltop (Fi) dz

Where Fd is the effective drag force (N), n is the number of pillars per grid cell and zcellbottom and zcelltop are respectively the bottom and top vertical coordinates of a grid cell.

The model assumes there is a homogeneous distribution of pillars. The definition of the pillars is made through a pre-processed 3D grid data file where a drag coefficient is given in the grid cells that form the area of the structure and set to a null value in the rest of the domain. The values defined in the data file are previously computed based on pillar diameter, pillar length and pillar density and the reference dimensionless drag coefficient for a flow past a vertical cylinder. Pillar density in each grid cell is computed based on the horizontal resolution of the model pillar length in each grid cell is computed based on the vertical resolution. Drag coefficient values for a flow past a vertical cylinder were obtained from literature and range around 1-2. Nevertheless, this parameter can be seen as a tuning factor.

Hope this helps,
Luis

QAYETBEY@GMAIL.COM
MOHID User
Posts: 32
Joined: Mon Oct 10, 2011 16:43

Re: About Boxes

Postby QAYETBEY@GMAIL.COM » Wed Apr 24, 2013 16:16

Hello Luis,
Thank You for Your Help.


Return to “MOHID Water”

Who is online

Users browsing this forum: No registered users and 6 guests