diffusion for multiple layers #21
Replies: 1 comment
-
|
That's a tricky one! Ideally, you should not have transfer of mass from one layer to the other in the process. If I understand well, your top surface is diffused, while the interface between the two layers is fixed. In Demeter v1 (https://github.com/ogourgue/demeter-v1/blob/master/python/demeter.py - line 1684), it seems that I was diffusing "delta z" (that is, the difference in top surface elevation before and after the Telemac run). That is the old HPP version (https://doi.org/10.5194/esurf-10-531-2022). That is not ideal if we want to link this process to soil creeping (https://doi.org/10.1016/j.ecss.2018.05.016). While developing Demeter v2, I remember considering diffusing the layers themselves separately (variable "m", I would guess) and then recalculate the bathymetry. But I'm not sure it is better. So, in my humble opinion, I don't think there is any "good" solution :-) So it might be good to consider the possibility of having different options (even if only one is implemented first). I would suggest to add an option in the function (e.g., parameter keyword), so we can choose between options. Then we just implement the one you propose here and we document that there might be other options needed int he future. Then we also need a new example with two layers. If you are OK with that, we can create an issue and a new branch where you implement your solution. Then I add some context in comments for future work. Can you also provide the example, similarly to those already available? I can help with that if need as well. What do you think? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I needed multiple sediment layers (a compacted and a freshly deposited sediment layer with varying critical shear stress and density). Therefore, I needed to update the diffuse_bottom method in telemac.py.
I decided to conserve the elevation of the layer boundaries. If the diffusion result in local erosion, the top layer is eroded untill the layer beneath is reached which will further erode, etc. In case of local deposition, the newly deposited sediments will have the density of the top layer. See image below:

I am not sure whether this is a good approach, I believe I am violating conservation of mass (erosion of compacted sediments are deposited nearby as freshly deposited sediment with a lower density). What are your thoughts on this?
The updated code:
Beta Was this translation helpful? Give feedback.
All reactions