introducing wave forcing for sediment transport and tidal inlet test case #409
introducing wave forcing for sediment transport and tidal inlet test case #409seimurss wants to merge 4 commits into
Conversation
…2) tidal inlet test case in examples. 3) introduction of wave_forcing option for sediments and van Rijn bedload formulation.
pull thetisproject repo
…ad of a soft linke. removed comments from unnecessary sediment_model.py
|
This looks pretty good already! My main feedback/questions at this moment are:
Assuming these can be addressed, have another look through the diff yourself and make sure there's no changes you didn't mean to include (in particular don't include commented out code). Then if you remove the draft status, I would be happy to go through it in more detail line-by-line, with some nitty-gritty things (none of it really interesting). At a first glance I couldn't see any major issues implementation wise. |
|
Update: having merged latest changes from the main repo to the fork (along with some modifications following Stephan's comments), and having re-compiled petsc-firedrake-thetis with their latest release versions, i ended up with an issue running pytests due to the line in utility3d.py: self.solver.mesh.clear_rtree(). Replacing it with clear_spatial_index() allows all tests to pass. @cpjordan, mentioning this here in case you've come across something similar before. |
|
This depends on whether you're using Firedrake release or Firedrake main. If you're using Firedrake release (or a slightly older Firedrake main) it is clear_spatial_index indeed, with Firedrake main (the development branch) it's clear_rtree. However since you're planning to merge this into Thetis main, you should really be testing with a Firedrake main installation, following instructions here: https://www.firedrakeproject.org/firedrake/install.html#id38 |
|
Of course you can also just see whether things are failing on the CI.
|
|
I've also invited you to the Thetis developer team. This has the advantage that you can push your branch (under a suitable name) to this repo. If you then change the source branch in this PR to that branch, the CI will run automatically every time you push. Currently we have to give permission first for it to run... |
This seems to have solved the problem, thank you Stephan! Thanks for the invite, it should make things much easier then. i'll see how to reroute the source branch of the PR and test it as i complete some sensitivity analysis with the experiment. |
|
Pausing this PR, as it cannot be re-linked to a new branch as a source branch (fork -> new branch within repo). |
Wave forcing was introduced for the radiation stresses following fragkouan/thetis_wci (Fragkou et al., 2024) and similarly, other fields, such as Hs, Ub, T, wave dir, and freq. were introduced and adapted in sediment transport model, albeit only orbital velocities are accounted for in bottom stresses computation.
Tidal inlet test case (Warner et al., 2008) was developed to test the seabed evolution in the presence of waves and tides.