<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Actual Depths of Sigma Layers in Delft3D FM</title>
  <link rel="self" href="https://dlt-acc.firelay.cloud/c/message_boards/find_thread?p_l_id=3231581&amp;threadId=5194879" />
  <subtitle>Actual Depths of Sigma Layers in Delft3D FM</subtitle>
  <id>https://dlt-acc.firelay.cloud/c/message_boards/find_thread?p_l_id=3231581&amp;threadId=5194879</id>
  <updated>2026-05-15T15:08:47Z</updated>
  <dc:date>2026-05-15T15:08:47Z</dc:date>
  <entry>
    <title>Actual Depths of Sigma Layers in Delft3D FM</title>
    <link rel="alternate" href="https://dlt-acc.firelay.cloud/c/message_boards/find_message?p_l_id=3231581&amp;messageId=5194878" />
    <author>
      <name>Mahmud U Monim</name>
    </author>
    <id>https://dlt-acc.firelay.cloud/c/message_boards/find_message?p_l_id=3231581&amp;messageId=5194878</id>
    <updated>2022-07-21T15:56:45Z</updated>
    <published>2022-07-21T15:52:55Z</published>
    <summary type="html">Hello Everyone,&lt;br /&gt;&lt;br /&gt;I am working with a Delft3d FM output file (FlowFM_map.nc) with sigma layers, where I need to &lt;strong&gt;calculate the actual depths of each sigma layer for each element of the unstructured mesh&lt;/strong&gt;. Not sure if there are any instructions on how to do this, but I made some assumptions and took the following steps to get the actual depths of sigma layers -&lt;br /&gt;​​​​​​​&lt;br /&gt;a. In the output file, there is a variable called  &lt;strong&gt;mesh2d_layer_sigma &lt;/strong&gt;which I believe represents the sigma layers as a &lt;strong&gt;cumulative percentage of the total depth&lt;/strong&gt; (which is represented by a variable called &lt;strong&gt;mesh2d_flowelem_bl&lt;/strong&gt;) for each element. I multiplied these two variables (&lt;strong&gt;mesh2d_layer_sigma X mesh2d_flowelem_bl&lt;/strong&gt;) to get the actual sigma layer depths for each elements. &lt;strong&gt;Is it the right way to calculate actual sigma layer depths &lt;/strong&gt;using these variables?&lt;br /&gt;&lt;br /&gt;b. The mesh2d_layer_sigma has values in the following order: -0.83, -0.50, -0.17. Does that mean the &lt;strong&gt;first layer is located at a depth of (0.83 x total depth) below the mean water level (surface layer)?&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;c. If assumption b. is correct, does that mean in addition to the sigma layers, and water velocity components u (mesh2d_ucx)  and v (mesh2d_ucy), &lt;strong&gt;the bottom layer is the first index, and the surface layer is the last index along the depth dimension of the array&lt;/strong&gt;?&lt;br /&gt;&lt;br /&gt;d. The depth variable (mesh2d_flowelem_bl) mostly shows negative values. Does the negative sign mean, the &lt;strong&gt;depth measurement is below the surface level (e.g. -7 m means 7 m below the surface level)&lt;/strong&gt;?&lt;br /&gt;&lt;br /&gt;I would really appreciate it if you share your thoughts on this &lt;img alt="emoticon" src="https://dlt-acc.firelay.cloud/o/deltares-theme/images/emoticons/happy.gif" &gt;&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;&lt;br /&gt;Mahmud</summary>
    <dc:creator>Mahmud U Monim</dc:creator>
    <dc:date>2022-07-21T15:52:55Z</dc:date>
  </entry>
</feed>
