Welcome, Guest
Username: Password: Remember me

TOPIC: how to model a dam using a level/discharge law

how to model a dam using a level/discharge law 1 year 4 months ago #42863

  • Laurie
  • Laurie's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 97
  • Thank you received: 5
Bonjour à tous,
Hi all (english version below)

J'utilise une vieille version de TELEMAC2D (V7P1 --> version imposée).
Je modélise une rivière sur laquelle il y a un petit barrage.

J'ai la loi Hauteur/Débit de fonctionnement du barrage. Mais je ne sais pas comment la prendre en compte dans le modèle. Je pensais exclure le barrage du modèle (trou dans le maillage) pour pouvoir imposer un débit en aval du barrage dépendant du niveau d'eau modéliser en amont.

Quelqu'un pourrait m'éclairer sur la démarche à suivre ?
Merci d'avance,

**********

Hello everyone,

I'm using an old version of TELEMAC2D (V7P1 --> imposed version).
I am modelling a river on which there is a small dam.

I have the Level/Flow law for the dam. But I don't know how to take it into account in the model. I was thinking of excluding the dam from the model (hole in the mesh) to be able to impose a flow rate downstream of the dam depending on the water level modelled upstream.

Could someone tell me how to go about this?
Thanks in advance,
The administrator has disabled public write access.

how to model a dam using a level/discharge law 1 year 4 months ago #42864

  • Laurie
  • Laurie's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 97
  • Thank you received: 5
Regarding to the upstream boundary conditions of the dam, I think, I just have to use "precribed H" in the "FICHIER DES COURBES DE TARAGE" (in french).

For the dowstream part, I'm confused about how to impose a "water-level depending discharge". Because, I have to use the level/discharge law of the dam, "extract" the water level upstream the dam to impose the downstream discharge. No ?

But how manage this during the calculation ?

Using a fortran file ? Which one ?

Thanks for your help.

Laurie
The administrator has disabled public write access.

how to model a dam using a level/discharge law 1 year 4 months ago #42867

  • Laurie
  • Laurie's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 97
  • Thank you received: 5
I appologize, the version is V8P0R0.
The administrator has disabled public write access.

how to model a dam using a level/discharge law 1 year 4 months ago #42868

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

I'm testing this "2 steps" solution:

1) I run modeling integrating an open boundary "H-prescribed" upstream the dam (the dam is represented by a whole in the mesh). And I'll extract an hydrograh directly upstream the dam.

2) I'll add an open boundary downstrean the dam, with prescribed Q (thee previously extracted discharge). And run again the model.



It's long, and not very efficient, but it supposed to function.

If you have any idea to automatised something, I'm interesting.
For example:
- Is it possible to save in a texte file the "output-discharge" (upstream the dam) to avoid me to to this in bluekenue between the two simulation to carry out ?
- Is it possible to record the outflow from the model and reuse it directly in the simulation, by re-injecting it downstream?

In fact I know it's possible. B)
I have a model in my files that does this, BUT I can't adapt it or redo it. :S
It involves a Fortran script and an *.exe file that I don't know how to use. Let alone adapt it to the different versions of TELEMAC.

To be on the safe side, I tried running my model with TELEMAC V8P4R0 (which is normally more stable). I'm thinking there might be more possibilities with this version. I'm already going to try and get some good results, and I'll see later if it works on the V7P0 I requested (...).

Good night :silly:
The administrator has disabled public write access.

how to model a dam using a level/discharge law 1 year 4 months ago #42884

  • Laurie
  • Laurie's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 97
  • Thank you received: 5
I think I need to use Fortan routines.
I know that there are diffenrts subroutines in the TELEMAC files.
I found routines for Bord, initial condition, ... But I really don't see how to adapt and compile it.
In examples, I don't understand how the boundaries are defined/locased (no open boundary in the CLI file), neither how outflow boundary is extracted and let alone how this flow can be simultaneously fed back into the model.


Can someone try to explain/guide me? I want to learn how to.
--> How to save and use outflow boundary to inject it in a discharge boundary.

Or maybe I've been wrong all along, and I just need to create a taring or control section in the model to impose a flow rate according to the water level.

I attached a scheme, hoping it could help to understand my aim/problem.



Kind regards,
The administrator has disabled public write access.

how to model a dam using a level/discharge law 1 year 4 months ago #42947

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

I stop to work on this problem (for awhile), because there were too many things to update/correct :
- Old TELEMAC version
- Olf fortran files adapted a lot of time
- A lack of knowledge from me ...

I choose to work differently, without fortran.
The administrator has disabled public write access.
Moderators: pham

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