Welcome, Guest
Username: Password: Remember me

TOPIC: TELEMAC2D : what is and how to create/adapt a "tarage.exe"

TELEMAC2D : what is and how to create/adapt a "tarage.exe" 3 months 3 weeks ago #43984

  • Laurie
  • Laurie's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 67
  • Thank you received: 3
Hi all,

I've picked up a model, apparently built in V8P1 (according to CAS file).

For various reasons, I was unable to install V8P1 (or V8P4) on my PC (Win10).
For information on this subject:
- [url=#43854]https://www.opentelemac.org/index.php/kunena/2-windows-version/14269-the-telemac-v8p4-automatic-installer-is-now-available-for-download?start=40[/url]: I reported that I was unable to download the automatic installer.
- I'm waiting for a computer expert I know to help me install V8P1, or even V8P4.
- In the meantime, I'm trying to run the V8P1 model, using TELEMAC V8P0R0. It seems almost impossible, but it's allowing me to learn how the model is structured...



With this post, I'm trying to understand two things:
- What is the "tarage.exe" file?
- How do I create and/or adapt it?

The model I'm working on includes dams. These dams are integrated as a "hole" in the mesh. Their behaviour is represented by a height-discharge law upstream (1) and downstream (2) of the "hole".


Dam_boundaries.png



The laws are given in "tarage.txt". There is un "tarage.f" file, which seems define some technical points for calculation. But there is a "tarage.exe" that I don't know the rule ?!
What is it ?
In which document can I found some explanation ?

Thanks in advance,

Laurie
The administrator has disabled public write access.

TELEMAC2D : what is and how to create/adapt a "tarage.exe" 3 months 3 weeks ago #43985

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3632
  • Thank you received: 1010
Hi
Without all the files of this case it's hard to be sure to have the right explanation ...
But Here is what I think...

Tarage.exe is the compiled version of tarage.f which is probably declared as the fortran file of your telemac case.
This means it's in fact a user_adapted version of telemac2d which integrate the user modification done in tarage.f

Your dams are managed as local boundaries conditions. Probably 1 and 2 in your drawing are liquid boundaries.
As in telemac, there is no already integrated function to manage linked boundaries the previous users adapted default telemac version to calculate the discharge through the dams according to the parameter given in tarage.txt and impose the values on boundaries...

You will never find a telemac document which describes what is done in a user modification. This is something which should be documented by the user itself as it's a "model" adaptation

Regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: Laurie

TELEMAC2D : what is and how to create/adapt a "tarage.exe" 3 months 3 weeks ago #43986

  • Laurie
  • Laurie's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 67
  • Thank you received: 3
Okay,
I understand. I need to get more explanation from the previous user.
Thanks for your answer.
The administrator has disabled public write access.

TELEMAC2D : what is and how to create/adapt a "tarage.exe" 3 months 3 weeks ago #43987

  • Laurie
  • Laurie's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 67
  • Thank you received: 3
Sorry, I need an other information :
How was the tarage.exe file created?
I think the way you describe works is the right one. But the *.exe remains a black box for me.
I already use files like "telemac2d.exe" or "out_telemac2d.exe". They are taken from exemples. This tarage.exe could just be un copy from an exemple ? Without any updating ?

Do any TELEMAC tools allow you to create an *.exe that allows you to recompile the model when an adaptation requires it? Or is this probably linked to totally undocumented expert use?

At the very least, the person who created the model is in contact with TELEMAC developers, or is even one of them. So I can't rule out the possibility that this configuration is difficult to reproduce without a solid grounding in programming.
The administrator has disabled public write access.

TELEMAC2D : what is and how to create/adapt a "tarage.exe" 3 months 3 weeks ago #43988

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3632
  • Thank you received: 1010
You probably have a wrong use of telemac...
In the right way, when you run telemac (by the way of the python script), if there is no user fortran there is a copy of the default telemac2d.exe to run the computation and if there is a user fortran, there is an extra step which is a recompilation to create the dedicated exe file which is the use to run the computation...

Using the user_fortran capabilities require a bit of knowledge in fortran and also in the telemac system but this could be reproduce with all the informations about the model...
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: Laurie

TELEMAC2D : what is and how to create/adapt a "tarage.exe" 3 months 3 weeks ago #43989

  • Laurie
  • Laurie's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 67
  • Thank you received: 3
Thank you very much! It's clear to me now. :)
The administrator has disabled public write access.
Moderators: pham

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