Welcome, Guest
Username: Password: Remember me

TOPIC: Which are the routines that read and save the variables U, V and H ?

Which are the routines that read and save the variables U, V and H ? 9 years 3 weeks ago #18806

  • special_20
  • special_20's Avatar
Hello all,

In the context of an OpenPALM development using Telemac I am wondering, in the case of a restart from a previous save what is the routine that reads the initial values of the variables U, V and H ? And what is the routine where the variables U, V and H are saved ?

Regards ;)
The administrator has disabled public write access.

Which are the routines that read and save the variables U, V and H ? 9 years 3 weeks ago #18812

  • jmhervouet
  • jmhervouet's Avatar
Hello,

The best is probably to look at the selafin format which is given at the end of the guide for programming in the Telemac system. There is a subroutine for finding a variable in a file with this format: find_in_sel, however it will be changed in version 7.1, into find_variable, with several formats.

I am ot sure to answer your question, but this is a first attempt,

With best regards,

Jean-Michel Hervouet
The administrator has disabled public write access.

Which are the routines that read and save the variables U, V and H ? 9 years 3 weeks ago #18819

  • special_20
  • special_20's Avatar
Thank you JMH for your answer but I am afraid that you did not answer my question. I am going to try to make it more clear.

In the case of a restart from a previous slf file I wonder what is the routine that reads the slf file and initialises the values of the variables U, V and H.

For example in the case of the variable ZF that is read in the geometry.slf file, this variable is initialised in the find_in_sel.f routine that is called by fonstr.f that is called in the first part of the telemac2d.f routine : "READS, PREPARES AND CONTROLS THE DATA". So my question could be : what is the call tree of the telemac2d routines for the variables U, V and H ?

I hope this helps to understand my question.

Regards ;)
The administrator has disabled public write access.

Which are the routines that read and save the variables U, V and H ? 9 years 3 weeks ago #18821

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi Sébastien

The subroutine is bief_suite.f

You could find all the informations about the call tree on the web site in the doxy docs part

regards
Christophe
The administrator has disabled public write access.

Which are the routines that read and save the variables U, V and H ? 9 years 3 weeks ago #18826

  • special_20
  • special_20's Avatar
Thank you c.coulet ;)

Call graph and caller graph trees are precious tools, I never noticed them until now...

I have still one question : can you tell me what is the routine that save those variables for a next run ?
The administrator has disabled public write access.

Which are the routines that read and save the variables U, V and H ? 9 years 3 weeks ago #18827

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi

There is not only the call graph and caller graph trees in the doxygen page
in the related pages, you could have a brief description of all the subroutines...
I think you're looking for write_data_selafin

regards
Christophe
The administrator has disabled public write access.
Moderators: pham

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