Hi Telemac users et developers,
I’m currently learning how to use Hermes Library.
I have tried tried all “reading” subroutines and I have no problem to make them work with my “slf” files.
As for “writing” subroutines, I’ve tried to use the subroutine “ADD_DATA_SRF”, so far, in vain.
What I want to do is to modify “BOTTOM FRICTION” data of an SLF file and so far, it doesn’t work.
I have two questions :
- Do I first have to open “slf” file with the option “openwrite” (subroutine "open_mesh").
- I just want to update bottom friction data after creating the variable “bottom friction” in an “slf” geometry file. So it’s a kind of untemporally file without notion of “time”. What do I put as TIME, RECORD AND FIRST_VAR subroutine arguments ?
- Another subsidiary question. When “bottom friction” is stationary, does Telemac make a copy at each time step or is there a pointer towards the first timestep ?
NB : I know it’s possible to easily modify ”bottom friction” data with subroutine like strche. But, I know in the end, the modification is done with the help of Hermes library and this is what I want to understand.
Best regards,
Fabien