User Forum of Software BASEMENT

BASEMENT
Basic Simulation Environment for computation of environmental flow and natural hazard simulation
Laboratory of Hydraulics, Hydrology and Glaciology (VAW)
ETH Zurich
Basement_Logo

You are not logged in.

#1 2025-05-22 08:10:09

SBF
User
Registered: 2025-05-21
Posts: 3

Warning: Layer is erased

Hi everyone,

I have a 1D Basechain sediment transport model with 4 different soils, each containing 1 Layer. The simulations ran smoothly.

Yesterday I added a second layer to one of the soils and suddenly got the following warning instantly after starting the simulation:
STDERR : WARNING -> Attention: Layer is erased!!!
However, the simulation finished and had no extraordinary results. Can someone explain what this message could mean and how I can fix it?

Here is my Bedmaterial-Block:

            "BEDMATERIAL": {
              "GRAIN_CLASS": {
                "diameters": [
                  4.0,
                  27.0,
                  55.0,
                  120
                ]
              },
              "MIXTURE": [
                {
                  "name": "Gail_oben",
                  "volume_fraction": [
                    2.0,
                    28.0,
                    50.0,
                    20.0
                  ]
                },
                {
                  "name": "Gail_mitte",
                  "volume_fraction": [
                    5.0,
                    25.0,
                    40.0,
                    30.0
                  ]
                },
                {
                  "name": "Gail_GAP",
                  "volume_fraction": [
                    5.0,
                    30.0,
                    50.0,
                    15.0
                  ]
                },
                {
                  "name": "Gail_Zugabe",
                  "volume_fraction": [
                    5.0,
                    25.0,
                    50.0,
                    20.0
                  ]
                },
                {
                  "name": "Gail_mitte_DS",
                  "volume_fraction": [
                    2.0,
                    23.0,
                    45.0,
                    30.0
                  ]
                },
                {
                  "name": "Grund",
                  "volume_fraction": [
                    0.0,
                    0.0,
                    0.0,
                    100.0
                  ]
                }
              ],
              "SOIL_ASSIGNMENT": {
                "type": "index_table",
                "index": [
                  1,
                  2,
                  3,
                  4
                ],
                "soil": [
                  "S_Gail_oben",
                  "S_Gail_mitte",
                  "S_Gail_GAP",
                  "S_Gail_Zulaufstrecke"
                ]
              },
              "SOIL_DEF": [
                {
                  "name": "S_Gail_oben",
                  "LAYER": [
                    {
                      "bottom_elevation": -2.0,
                      "mixture": "Gail_oben"
                    }
                  ]
                },
                {
                  "name": "S_Gail_mitte",
                  "LAYER": [
                    {
                      "bottom_elevation": -0.4,
                      "mixture": "Gail_mitte_DS"
                    },
                    {
                      "bottom_elevation": -2.0,
                      "mixture": "Gail_mitte"
                    }
                  ]
                },
                {
                  "name": "S_Gail_GAP",
                  "LAYER": [
                    {
                      "bottom_elevation": -2,
                      "mixture": "Gail_GAP"
                    }
                  ]
                },
                {
                  "name": "S_Gail_Zulaufstrecke",
                  "LAYER": [
                    {
                      "bottom_elevation": 0.0,
                      "mixture": "Gail_oben"
                    }
                  ]
                }
              ]
            },

Thank you!
Elisabeth

Offline

#2 2025-05-22 09:12:29

Lukas Vonwiller
Developer
Registered: 2014-09-04
Posts: 141

Re: Warning: Layer is erased

Hi Elisabeth

What is your active layer thickness?

Offline

#3 2025-05-22 09:43:50

SBF
User
Registered: 2025-05-21
Posts: 3

Re: Warning: Layer is erased

Hi Lukas,

thank you for your quick reply!
my control volume thickness is 1 m:

"INITIAL": {
              "type": "initial_mesh"
            },
            "PARAMETER": {
              "density": 2680.0,
              "porosity": 30.0,
              "control_volume_thickness": 1.0,
              "control_volume_type": "constant",
              "max_dz_table": 0.1
            },
            "BEDLOAD": {
              "BOUNDARY": [
                {
                  "string": "upstream",
                  "type": "transport_capacity",
                  "mixture": "Gail_oben",
                  "factor": 0.5
                },
                {
                  "string": "downstream",
                  "type": "IODown"
                }
              ],
              "FORMULA": {
                "bedload_formula": "mpm_multi",
                "theta_critical": 0.05,
                "theta_critical_approach": "theta_critical_yalin",
                "angle_of_repose": 30,
                "bedload_exponent": 1.6,
                "bedload_factor": 1.0,
                "local_slope": "on"
              },
              "PARAMETER": {
                "abrasion": "off",
                "upwind": 0.8
              }

I have no "active layer thickness", just the control volume thickness - I just looked and did not find it as a variable somewhere?

Offline

#4 2025-05-22 11:32:35

Lukas Vonwiller
Developer
Registered: 2014-09-04
Posts: 141

Re: Warning: Layer is erased

The active layer thickness is the same as the control volume thickness (sorry for the confusion).

With your control_volume_thickness of 1 m, the layer with a thickness of 0.4 (in the soil S_Gail_mitte) is "erased" since it will be included in the control volume. Note that in this case the control volume will consist of a mixture of the first and second layer.

Hope this helps!
Best regards, Lukas

Offline

#5 2025-05-22 12:47:36

SBF
User
Registered: 2025-05-21
Posts: 3

Re: Warning: Layer is erased

Thank you Lukas! The simulation runs now without these warnings after adjusting the control volume thickness.
Elisabeth

Last edited by SBF (2025-05-22 12:47:49)

Offline

Board footer

Powered by FluxBB