Hi everybody !
It's not the first time this subject is presented. I've read various posts in this forum, but I didn't find my solution.
I'm using a TELEMAC2D modelling V7P1 (yes... old one
).
Before I modify loccaly the mesh, adding a new open boundary, the model run correctly.
Now ... I try to debog it.
I have an error message about a boundaty I didn't modify.
================================================================================
ITERATION 0 TEMPS : 0.0000 S
LE FICHIER DES FRONTIERES LIQUIDES CONTIENT
640 LIGNES AVEC :
Q(2) Q(3)
USING STREAMLINE VERSION 7.2 FOR CHARACTERISTICS
DEBIMP : PROBLEME SUR LA FRONTIERE 22
DONNER UN PROFIL DE VITESSES
DANS LE :
FICHIER DES CONDITIONS AUX LIMITES
OU VERIFIER LES HAUTEURS D'EAU.
AUTRE CAUSE POSSIBLE :
ENTREE TORRENTIELLE A HAUTEUR LIBRE
METTRE UNE HAUTEUR NON NULLE
DANS LES CONDITIONS INITIALES
OU IMPOSER LA HAUTEUR D'EAU EN ENTREE.
PLANTE : ARRET DU PROGRAMME APRES ERREUR
RETURNING EXIT CODE: 2
Sorry it's in French.
I firstly verify that this boundary has water. It seems ok (around 1-2m). It's imposed with a surface elevation in the geometry file and in a *.rep (hotstart).
(I used the *.rep ini, I've deleted the 3 layers with old mesh to add my 3 layers with ma new mesh ... maybe that way is wrong).
It seems my boundary n°22 doesn't work correctly, or I forget to verify something.
Dam/bridge structures boundaries are "handled" with a level/discharge law and a fortran file.
I join the model.
Maybe someone could help me to figure out what i'm doing wrong.
In the fortran, I've updated :
C****************************** Module VAR_UTIL *****************************
MODULE VAR_UTIL
INTEGER, PARAMETER :: NB_barrage = 13
DOUBLE PRECISION, DIMENSION(NB_barrage) ::
&ind_front_tar = (/5,7,9,11,12,14,18,19,21,23,26,27,29/),
&ind_front_Qimp =(/4,6,8,10,13,15,17,16,20,22,25,28,24/)
DOUBLE PRECISION, DIMENSION(NB_barrage),SAVE ::Q_barrage
END MODULE VAR_UTIL
I've checked that the upstream limits of my structures are associated with their downstream limits (I've matched the number of the limits "&ind_front_tar" and "&ind_front_Qimp").
In the steering file (CAS), I have (I think) correctly associated the ‘water level’ limits with the imposed level and the calibration curves (apparently it's the Fortran file that associates the water level conditions with the dischare conditions), and the ‘discharge’ with the imposed flows.
I have 29 boundaries.
n°1 : free ouptut.
n°2 et 3 : input discharge.
n°4 to 29 are dams are bridge modelled using water level/discharge law (calibration curves).
DEBITS IMPOSES=
0;2;3;4;0;6;0;8;0;10;0;0;13;0;15;16;17;0;0;20;0;22;0;24;25;0;0;28;0
PROFILS DE VITESSE=1;4;4;4;1;4;1;4;1;4;1;1;4;1;4;4;4;1;1;4;1;4;1;4;4;1;1;4;1
COTES IMPOSEES=
1;0;0;0;5;0;7;0;9;0;11;12;0;14;0;0;0;18;19;0;21;0;23;0;0;26;27;0;29
OPTION POUR LES FRONTIERES LIQUIDES=
1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1
COURBES DE TARAGE =1;0;0;0;1;0;1;0;1;0;1;1;0;1;0;0;0;1;1;0;1;0;1;0;0;1;1;0;1
So, have you any advice helping me ?
Thank you in advance,
Laurie