Hi OpenTelemac-Mascaret users,
I would like to model the presence (and the failure from one time step) of a vertical parapet at the crown of a levee.
I discretized my levee as recommended (5 points at least and chineese hat shape of my crest) to prevent numerical pumping. Annyway, I choose to not represent a 50cm parapet.
Now I want to consider the effect of this parapet (zero overflowing) until one time step and after that time step to consider the structural (and functional) failure of the parapet.
Has this kind of programming been done by one of you?
My idea is to use maskob:
1- To declare a polygon (including the elements I want to remove)
2- with a condition on the time step or time
IF (AT.LT."failure time") THEN
ELSEIF (AT.GE."failure time") THEN
MASKEL = 1.D0 FOR'NORMAL' ELEMENTS
END
3 - Condition inpoly -> MASKEL = 0.D0
DO I=1,BIEF_NBPTS(11,MESH)
IF(INPOLY(X(I),Y(I),XSOM,YSOM,NSOM)) THEN
MASKEL(I)= 0.D0
ELSE
MASKEL(I)= 1.D0
ENDIF
ENDDO
Can it work?
Cheers,
Alexis