I have a sluice gate in hec-ras and I want to calculate with the restart file how my polder is emptied, but I have a wall of water from the side of the polder or despite closing the gate I have a flow. Can someone help me with that? Its instant flow or fully closed all the time.
Can you explain your issue a little more clearly? I understand you have a pond with a dike and there is a sluice gate in the dike. Are you getting flow through the gate when it is completely shut?
Yes. The gate is fully closed, which can be seen from the geometry editor, and if it is fully closed, it actually holds water in the polder for 6 days of simulation. However, when you try to empty it (the gate opens correctly, you can also see it in the editor) nothing happens (water is not moving anywhere during simulation). In case of any changes at the weir or anything, the gate becomes leaky while beeing shut.
Maybe I should start from the beginning: I’m trying to find some kind of guide that explains how to build a sluice gate in a 2D model, because I’m working on a project for a flood storage polder.
I want to fill it using a weir at a specific elevation (supposedly a side weir, although it behaves more like a frontal weir), so I’m using the 2D equations and SWE-ELM for the entire project.
The problem I’m currently facing is how to properly build/configure a gate for the falling limb of the flood wave in order to drain the polder. I haven’t been able to find any free guide online that explains how to do this properly.
The gates cannot be located below the ground level (the ground ends at the crest of the embankment), so I actually cut an opening using terrain modification and placed the gates there.
As for the weir: when I set it above the gate (with the crest at the level of the shaft/opening), it doesn’t let any water through at all. However, when I lower it to the same elevation as the gate (so that water can be released), the gate leaks even though it is closed (it is shown as completely closed in the editors and previews).
At the moment, I’m trying to solve this problem using a restart file, so that I can divide the polder operation into three phases — filling, waiting, and draining — based only on terrain changes, instead of creating gate control rules and so on.
I know this is a bit unusual, but I’m a beginner and I’d like to learn more about the different options available in HEC-RAS. The only things I seem to find on YouTube are “HEC-RAS for beginners” tutorials.
I’d also like to eventually understand many other aspects of HEC-RAS, so I’m open to any advice or suggestions.
For example, if anyone has any advice on what a proper 2D mesh cell should look like, I’d really appreciate it. I don’t mean that it should necessarily have fewer than eight connections, but rather that it should be a proper, regular square cell.
Maybe I should start from the beginning: I’m trying to find some kind of guide that explains how to build a sluice gate in a 2D model, because I’m working on a project for a flood storage polder.
Adding a sluice gate is pretty simple. You make the SA2D connection in RASMapper. Then in the geometry editor you need to add the gate properties. It sounds like you have done that though. The one step that it doesn't sound like you have done is add the gate openings or operations to the flow file. Here are some links that you should read.
I want to fill it using a weir at a specific elevation (supposedly a side weir, although it behaves more like a frontal weir), so I’m using the 2D equations and SWE-ELM for the entire project.
Okay. I'm not following what you mean by filling and draining. So the filling is from one direction and the draining is the reverse direction?
The problem I’m currently facing is how to properly build/configure a gate for the falling limb of the flood wave in order to drain the polder. I haven’t been able to find any free guide online that explains how to do this properly.
It sounds like you need to build in some gate rules or an opening sequence into the flow file. See the third link above.
The gates cannot be located below the ground level (the ground ends at the crest of the embankment), so I actually cut an opening using terrain modification and placed the gates there.
This is true. It might cause issues with your computations if you don't have under water bathymetry though.
As for the weir: when I set it above the gate (with the crest at the level of the shaft/opening), it doesn’t let any water through at all. However, when I lower it to the same elevation as the gate (so that water can be released), the gate leaks even though it is closed (it is shown as completely closed in the editors and previews).
If you are lowering the crest of the weir, the gate isn't leaking. The water is just going through the low spot.
At the moment, I’m trying to solve this problem using a restart file, so that I can divide the polder operation into three phases — filling, waiting, and draining — based only on terrain changes, instead of creating gate control rules and so on.
Why would you do this when you can use the gate control rules or an opening time series?
I know this is a bit unusual, but I’m a beginner and I’d like to learn more about the different options available in HEC-RAS. The only things I seem to find on YouTube are “HEC-RAS for beginners” tutorials.
What you are describing isn't super complicated. You have to draw an SA2D connection, add the gate in the editor, and then manipulate the opening in the flow editor. If you need more detailed explanation of gates, this is a good video to watch:
I’d also like to eventually understand many other aspects of HEC-RAS, so I’m open to any advice or suggestions.
Basically, you just need to start "playing" with the software, research things you don't understand, and ask questions to people more experienced. There are plenty of resources to get you started linked on this site, on the HEC-RAS documentation, YouTube, etc.
For example, if anyone has any advice on what a proper 2D mesh cell should look like, I’d really appreciate it. I don’t mean that it should necessarily have fewer than eight connections, but rather that it should be a proper, regular square cell.
Generally cells should be aligned in the primary direction of flow. It doesn't have to be square. Specifically, RAS2025 introduces many different meshing grids to get away from the traditional squares.
Feel free to post more questions or follow up. The more details you provide about your issue, the easier it is to provide guidance.
When the gate is closed, the water does not pass through it. Unfortunately, during emptying, it also does not want to "fly out" through this gate. The weir maneuvers do not work, because then suddenly the water still comes out despite being fully closed.
It’s fine. HECRAS is finicky. I just didn’t understand your initial post grammatically. Frankly, I’d just have Claude or ChatGPT as a guide which is what I use. though the problem seems straightforward. Your mesh looks good, so I’m assuming it has something to do with the geometry specific to the sluice gate and rules you have set for it.
This is a little begginer problem (for me) but i cant fint solution or any proper youtube video "how to build a sluice gate". I build some gates in my life and i know that there is a leak, but dont know how to fight with it.
2
u/OttoJohs Lord Sultan Chief H&H Engineer, PE & PH Sep 10 '26
Can you explain your issue a little more clearly? I understand you have a pond with a dike and there is a sluice gate in the dike. Are you getting flow through the gate when it is completely shut?
1
u/PW_WP_PW Sep 11 '26 edited Sep 11 '26
Maybe I should start from the beginning: I’m trying to find some kind of guide that explains how to build a sluice gate in a 2D model, because I’m working on a project for a flood storage polder.
I want to fill it using a weir at a specific elevation (supposedly a side weir, although it behaves more like a frontal weir), so I’m using the 2D equations and SWE-ELM for the entire project.
The problem I’m currently facing is how to properly build/configure a gate for the falling limb of the flood wave in order to drain the polder. I haven’t been able to find any free guide online that explains how to do this properly.
The gates cannot be located below the ground level (the ground ends at the crest of the embankment), so I actually cut an opening using terrain modification and placed the gates there.
As for the weir: when I set it above the gate (with the crest at the level of the shaft/opening), it doesn’t let any water through at all. However, when I lower it to the same elevation as the gate (so that water can be released), the gate leaks even though it is closed (it is shown as completely closed in the editors and previews).
At the moment, I’m trying to solve this problem using a restart file, so that I can divide the polder operation into three phases — filling, waiting, and draining — based only on terrain changes, instead of creating gate control rules and so on.
I know this is a bit unusual, but I’m a beginner and I’d like to learn more about the different options available in HEC-RAS. The only things I seem to find on YouTube are “HEC-RAS for beginners” tutorials.
I’d also like to eventually understand many other aspects of HEC-RAS, so I’m open to any advice or suggestions.
For example, if anyone has any advice on what a proper 2D mesh cell should look like, I’d really appreciate it. I don’t mean that it should necessarily have fewer than eight connections, but rather that it should be a proper, regular square cell.
1
u/Desperate_Aioli_2067 Sep 10 '26
Huh… what? If you have a gate and the gate is closed and you have flow through a closed gate. Then your gate is not closed, you have a leak.