Skip to content

sedmor branch: bermslope and avalanching#995

Open
hrajagers wants to merge 2 commits into
mainfrom
all/feature/UNST-9434_bermslope_avalanching
Open

sedmor branch: bermslope and avalanching#995
hrajagers wants to merge 2 commits into
mainfrom
all/feature/UNST-9434_bermslope_avalanching

Conversation

@hrajagers

@hrajagers hrajagers commented Jun 23, 2026

Copy link
Copy Markdown
Member

What was done

  • bermslopenudging: Effect of wave direction included in bermslope avalanching
  • duneaval: Use bermslope instead of wetslope when bermslope is active, and use wetslope when wet and bermslope is not active
  • flow_sedmorinit: Due to the previous change, there is no more limit on wetslope when bermslope is activated

Evidence of the work done

  • Video/figures
    <add video/figures if applicable>
  • Clear from the issue description
  • Not applicable

Tests

  • Tests updated
    <add testcase numbers if applicable, Issue number>
  • Not applicable

Documentation

  • Documentation updated
    <add description of changes if applicable, Issue number>
  • Not applicable

Issue link

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates sediment-morphology behavior around berm-slope transport and dune avalanching, aiming to couple berm-slope limits into the dune avalanching logic and to make berm-slope nudging depend on wave direction when waves are active.

Changes:

  • Use bermslope as the maximum wet slope for dune avalanching on links flagged by bermslopeindex.
  • Update berm-slope nudging to use wave direction (phiwav) when waves are enabled (fallback to the previous approach when no waves).
  • Remove the initialization-time warning/reset that changed the default WetSlope when dune avalanching is enabled.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/engines_gpl/dflowfm/packages/dflowfm_kernel/src/dflowfm_kernel/prepost/flow_sedmorinit.f90 Removes the automatic warning/reset of wetslope when dune avalanching is on.
src/engines_gpl/dflowfm/packages/dflowfm_kernel/src/dflowfm_kernel/compute_sediment/duneaval.f90 Applies bermslope as slpmax for dune avalanching on berm-slope links when bermslopetransport is active.
src/engines_gpl/dflowfm/packages/dflowfm_kernel/src/dflowfm_kernel/compute_sediment/bermslopenudging.f90 Introduces wave-direction-based berm-slope nudging and refactors the fix-factor application logic.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

…plied here ... for all flow links without bermslopeindexbed or bermslopeindexsus set the multiplication with `frac` and `fixfac` is done in `fm_adjust_bedload`.
@hrajagers hrajagers requested a review from jreyns June 30, 2026 11:54
@hrajagers

Copy link
Copy Markdown
Member Author

@jreyns Can you approve or provide further review comments?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants