Forum

RE: Z-Model Set up

Yahia Kala, modified 7 Years ago.

Z-Model Set up

Youngling Posts: 6 Join Date: 7/11/13 Recent Posts

Hello,

 

I have a Delft3D FLOW model that is set up with 20 fixed z-layers, each with their own thickness. Here is how it is described in the .mdf file:

 

Thick  =  2.0000000e+001
          1.9900000e+001
          1.9900000e+001
          1.0000000e+001
          5.0000000e+000
          5.0000000e+000
          5.0000000e+000
          2.5000000e+000
          2.5000000e+000
          2.0000000e+000
          2.0000000e+000
          2.0000000e+000
          1.0000000e+000
          1.0000000e+000
          8.0000000e-001
          4.0000000e-001
          2.0000000e-001
          2.0000000e-001
          2.0000000e-001
          4.0000000e-001
[...]
Zmodel = #Y#
Ztop   = 2
Zbot   = -1005

 

I would like to test out a similar configuration in the Flexible Mesh version. I cannot find anything in the documentation that allows me to specify the fixed top/bottom elevations. All I have found is something in the User Manual indicating that "Layertype=2" in the .mdu file specifies the z-model.

 

I know this is probably still alpha/beta, but is it possible for me to test it using DFlow-FM Version 2018.01 1.4.4.39490?

 

 

thumbnail
Erik de Goede, modified 6 Years ago.

RE: Z-Model Set up

Youngling Posts: 16 Join Date: 1/7/11 Recent Posts

Dear Yahia,

Yes, that's possible. For example:

Kmx                                 = 20                                 # Max nr of vertical layers
LayerType                       = 2
ZlayBot                            = -25.0
ZlayTop                           =  10.0
StretchType                     = 1                                  # type of layers stretching, 0 = uniform, 1 = user defined, 2 = fixed level double exponential
stretchCoef                      = 5. 5. 5. 5. 5. 5. 5. 5. 5. 5. 5. 5. 5. 5. 5. 5. 5. 5. 5. 5.

 

Erik de Goede, Deltares

Yahia Kala, modified 7 Years ago.

RE: Z-Model Set up

Youngling Posts: 6 Join Date: 7/11/13 Recent Posts

Thanks Erik!

Rebekka Langsch, modified 6 Years ago.

RE: Z-Model Set up

Youngling Posts: 3 Join Date: 9/24/18 Recent Posts

Hi everyone,

I am also trying to implement several Z-layers in my model (in Delft3D Fm 2018.03). I have added the suggested part in the *.mdu file:

Kmx               = 5
Layertype         = 2
StretchType       = 1
stretchCoef       = 30 20 20 20 10   

However, when i try to run the model in the Deltashell it doesn't seem like it's using the given layers (e.g. It doesn't show the velocity in a certain layer when looking at the results). I am thinking it could not be working because when starting the model in the Deltashell it says it is first exporting the *.mdu file - which would not contain any layers since I can't add than in the Deltashell. However, opening the *.mdu file after running the model still shows the layers defined like above. So it doesn't overwrite the .mdu file after all. How is this possible? Any ideas what might be wrong?

Thanks! Regards, Rebekka