Welcome, Guest
Username: Password: Remember me

TOPIC: How to import TOMAWAC variables into TELEMAC3D

How to import TOMAWAC variables into TELEMAC3D 5 years 10 months ago #32647

  • JBS
  • JBS's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 78
  • Thank you received: 3
Hello,

I would like to use TOMAWAC variables (orbital velocity, wave period...) inside a TELEMAC3D subroutine (clsedi.f), T3D and TOM being coupled together. Is there a simple way to do this (like adding a line: USE DECLARATIONS...)?

Thank you.
JBS.
The administrator has disabled public write access.

How to import TOMAWAC variables into TELEMAC3D 5 years 10 months ago #32648

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
Yes you could add use declarations_tomawac :: only xxx
The only part will allow you to limit the list of tomawac variables and avoid conflict with Telemac variables which could already be declared

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

How to import TOMAWAC variables into TELEMAC3D 5 years 10 months ago #32657

  • JBS
  • JBS's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 78
  • Thank you received: 3
Thank you Christophe.

Now, if I want to do the same but in an "offline" way, i.e. I want T3D to read (at each time step) and store the variables of a previously run TOM file, is that possible?

I noticed T3D calls TRISOU (a bit later after CLSEDI) which goes and picks wave stresses FX,FY in the TOM file. This is a hint. I guess the routine FIND_VARIABLE should be used somewhere.

Thank you again in advance!
Regards,
JBS.
The administrator has disabled public write access.

How to import TOMAWAC variables into TELEMAC3D 5 years 10 months ago #32658

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Of course it's possible
Use private array and a binary file
Then you could use find_variable in your code to access the values

Regards
Christophe
The administrator has disabled public write access.
Moderators: pham

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