Welcome, Guest
Username: Password: Remember me

TOPIC: Adding variables in sisyphe

Adding variables in sisyphe 11 years 8 months ago #7874

  • jpbelliard
  • jpbelliard's Avatar
Dear all,

I am contacting you as I would like to add variables in sisyphe but I am a bit in doubt on how to proceed with that. Let's say, I would like to compute the vegetation biomass as a function of the bottom elevation for instance. I read in both telemac2d and sisyphe user manuals that I can set the name of the variable in nomvar.f and add the computation of that variable in preres.f in telemac2d or predes.f in sisyphe. However I have a series of questions concerning the procedure to follow:

1/
I want this variable to be included in the time loop of the computation. By adding the variable following the above method, does this new variable really enters in the computation loop?

2/
When I enter the formula for the computation of that variable in preres.f or predes.f. Should I name that variable by its alias (e.g., PRIVE1) or can I name it with the letter (or keyword I impose myself) used to identify that variable during the graphic printout?

3/
Also, I would like to modify accordingly the deposition, erosion fluxes and also the roughness coefficient by means of the biomass variable to be created. How can I do that? Should I call the predes.f and nomvar.f subroutines at the beginning of the subroutine where I want to modify those variables (let's say at the beginning of suspension_erosion_coh.f for instance) or do I need to also add the newly created variable (i.e. biomass) in declaration_telemac2d or declaration_sisyphe?

4/
Finally, as sisyphe is internally coupled with telemac2d in my model, should I set the new variable in nomvar_telemac2d.f or nomvar_sisyphe.f and enter the formula in preres.f or predes.f or it does not matter at all?

Thank you for your kind reply.

Jp
The administrator has disabled public write access.

Adding variables in sisyphe 10 years 11 months ago #11162

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Hello,

Sorry for the late answer. Is that still a problem you have or did you figure this one out ?

In truth, we would just have to go through the same process as you would. Do not hesitate to try things, it is the best way to learn and get acquainted with the source code.

Finally, if you have done some work with that, we could integrate as a feature for future version of the system (so you do not have to maintain it yourself).

Hope this helps,
Sébastien.
The administrator has disabled public write access.
Moderators: Pablo, pavans

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.