Hello everyone,
In order to solver a simple mildslope equation (in 2D), I’d like to make calculation over a bathymetry (variable depth). I have a grid with the coordinates x, y, z .
My problem is in the mildslope equation, I will have to use a function h(x,y) = z (the bathymetry) over all the domain. But I can’t find a way to define thise function. Do you have any idea ?
What I did tried for now :
I made a mesh Th on Freefem, and obtained Th.x and Th.y. I then made a nearest neighbour (with python) between Th.x,Th.y and x,y,z to make correspond the “z” of my grid to my mesh.
I thought I could then re-use my new grid on Freefem to solve my problem but did not succeed.
Thanks for reading,
Best,