Welcome, Guest
Username: Password: Remember me

TOPIC: Fortran-file for TOMAWAC ignored when coupling with TELEMAC-2D

Fortran-file for TOMAWAC ignored when coupling with TELEMAC-2D 6 years 2 months ago #31430

  • Nico
  • Nico's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
Hello everyone,

I stuggle with coupling Telemac2d and Tomawac since my user-defined Fortran file for the Tomawac part seems to be ignored.

Both individual module cases run without problems in their seperate mode including their individual Fortran adaptations.

I reproduced this problem with the much smaller littoral-example case by
modifying the Tomawac-Fortran-file with an intentional error. Consequently, during compile time the execution should be stopped. But it isn't. I cross-checked with the Telemac2d-Fortran-file. After manipulating this with an intentional error, execution is stopped immediately.

(<install-dir>/examples/sisyphe/littoral;--> I tried with telemac-tomawac-sisyphe coupling as well as with telemac-tomawac coupling only)

Could there be anything I have missed to set?
Many thanks for your help!


Cheers,
Nico

P.S.: I work with version v7p2r3.
The administrator has disabled public write access.

Fortran-file for TOMAWAC ignored when coupling with TELEMAC-2D 6 years 2 months ago #31431

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
Did you tried to merege the fortran file in one declared in telemac steering file?
In case of coupling, by default, telemac use the tomawac library which is not updated if the tomawac fortran file is only declared in tomawac steerind file

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

Fortran-file for TOMAWAC ignored when coupling with TELEMAC-2D 6 years 2 months ago #31432

  • Nico
  • Nico's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
Hi,

thank you for your quick response!

I directly followed your advice and it seems to pass this barrier now.
Sorry, my bad. That was a quite simple solution, but I didn't expect the T2D and TOM codes to be mixable.

I now encounter some minor issues as I was essentially using the same code in T2D and TOM for wind interpolation to the mesh. Both files had some kind of different flavour, so I have to bring it together first.

I will post a confirmation on the running system when it is finally solved.


Thanks a lot!
Nico
The administrator has disabled public write access.

Fortran-file for TOMAWAC ignored when coupling with TELEMAC-2D 6 years 2 weeks ago #31888

  • Nico
  • Nico's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
Hi,

I wanted to get back and give feedback about the coupling of T2D and TOM simulations with user defined routines.
Indeed I had to re-arrange the user defined fortran routines within a single file that is adressed from my T2D steering file only. The reference from the TOM file is ignored. After doing this my routines were accepted by the coupled TOM-simulation.

Cheers and many thanks
Nico

BTW: I updated to version v7p3r1 to run it successfully. I have to admit that I did not validate results yet.
The administrator has disabled public write access.

Fortran-file for TOMAWAC ignored when coupling with TELEMAC-2D 6 years 2 weeks ago #31892

  • tfouquet
  • tfouquet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 294
  • Thank you received: 112
Hello

That is a solution but in the example of sisyphe called littoral you will see that you can have a userfortran directory for t2d and another one for tom which avoid to merge files.
This example has been made only in the trunk for now, but it should work in V7P3R1

hope it helps

regards

T.
The administrator has disabled public write access.
Moderators: tfouquet

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