Welcome, Guest
Username: Password: Remember me

TOPIC: WIND problem on new version (v8p1r1) of telemac2d

WIND problem on new version (v8p1r1) of telemac2d 4 years 2 months ago #36704

  • Dottarelli
  • Dottarelli's Avatar
Hello,

I used to work with v7p2 since two days ago (I'm not an expert user at all, I was
just making some test for my future thesis work).

Anyway I downloaded and compiled the version v8p1r1 (thank to yugi for that) and I
restart making some of the tests.

I'm testing something similar to a lagoon:
1) Model forced with only imposed level at a boundary;
2) Model forced with level imposed + wind changing in time and space.

With the old version I managed to run both of the model (no looking for the results,
I'm just learning on how use telemac).

With the new version I have some problem with model number 2 (level+wind varying).

The simulation come up with the error attached.

I add also all the files needed for the simulation.


The file ''meteomio.f'' is inside the folder called user_fortran
The administrator has disabled public write access.

WIND problem on new version (v8p1r1) of telemac2d 4 years 2 months ago #36706

  • Dottarelli
  • Dottarelli's Avatar
It does not allow me to attach the atmospheric file, so I copied in a txt file format
Attachments:
The administrator has disabled public write access.

WIND problem on new version (v8p1r1) of telemac2d 4 years 2 months ago #36708

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
According to the error file, the crash occurs in the meteo.f subroutine
Try to add some print in order to identify the exact location.
Hope this helps
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: Dottarelli

WIND problem on new version (v8p1r1) of telemac2d 4 years 2 months ago #36710

  • Dottarelli
  • Dottarelli's Avatar
Thanks for the reply.

I'm sorry but I don't understand what you mean with add some print.

Do you want the print of the meteo.f subroutine? Because I didn't use the subroutine meteo.f, but another subroutine (called meteomio.f) that I used for the old version.

Probably the problem is in that subroutine, but it is attached.

Thanks for the attention,
Andrea
The administrator has disabled public write access.

WIND problem on new version (v8p1r1) of telemac2d 4 years 2 months ago #36711

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
As you use the fortran folder solution, there is no need to group all subroutines in only one fortran file...
You could separate the routines and finally have a subroutine called meteo.f
This is in this subroutine where you could add some prints to find the exact location of the bug...
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: Dottarelli

WIND problem on new version (v8p1r1) of telemac2d 4 years 2 months ago #36713

  • Dottarelli
  • Dottarelli's Avatar
I don't know how to thank you for your attention and patience.

Anyway, I made a test.

If I run the model with the "default" meteo.f and idwm_t2d.f (founded in the example "wind_txy") the model runs, but it doesn't compute the varying in time and space of the wind (I obtain just the first value of the atmospheric file).

I know that the fortran file have to be modified by the user, but unfortunately I'm not very able to do (with the fortran file attached above I was helped), since I have no experience at all with fortran.

For that,I'm really sorry, but I still don't understand what you mean about adding some print in the subroutine.

I thought that the fortran used in the v7p2 could be still accepted by the new version.

Anyway, I will try to modify the fortran file, but I would ask you:

1) which of the two fortran file I have to modifiy to solve the issue? Both of them? Seeing that the model runs with the "default" fortran file, but does not read the variable in time and space of the wind

2) Meantime, is there a way to take into account the wind variable in time and space? Seems to me that if I use the binary data file (i.e serafin) I don't have to modify the subroutine, am I right?


Thanks again for the patience.
Andrea
The administrator has disabled public write access.

WIND problem on new version (v8p1r1) of telemac2d 4 years 2 months ago #36719

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
As there was some changes in some subroutine, an old fortran file should be updated to be compatible with the new version...
To update the fortran files, just copy the default fortran file of the next version in the user fortran directory and update it according the modifications made in you previous fortran file...
If you use a binary data file, you don't have to change the subroutine, you're right. The main problem could be to generate such file as it should be based on the meshof your model...
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: Dottarelli

WIND problem on new version (v8p1r1) of telemac2d 4 years 2 months ago #36720

  • Dottarelli
  • Dottarelli's Avatar
I really appreciate the attention your are giving me, and your patience too.

Unfortunately I got out from my unversity (I risked to get closed in).

Tomorrow I will try further more and I will let you know.

Thanks again and have a good evening.
Andrea
The administrator has disabled public write access.

WIND problem on new version (v8p1r1) of telemac2d 4 years 2 months ago #36726

  • Dottarelli
  • Dottarelli's Avatar
Hi again christophe.

I managed to run the wind varying in time and space.

As you said I used the ''default'' fortran file meteo founded in the wind_txy example folder adn then updated with the part that interpolates at every time step.

I tried changing both number of station and number of points as well as the time step interval and it works!!

I attached the fortran file obtained in order to help other users.

Thanks again for the help and the attention you gave me.

Andrea
Attachments:
The administrator has disabled public write access.
Moderators: pham

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