Welcome, Guest
Username: Password: Remember me

TOPIC: Need help in migrating fortran file to telemac2d v8

Need help in migrating fortran file to telemac2d v8 4 years 5 months ago #36158

  • ArthurCardiff
  • ArthurCardiff's Avatar
I am given a fortran code that computes the decay rate of E Coli following a mathematical expression. The code is written for telemac 2d v7. However, when I use the code in telemac 2d v8, the computed cannot find a number of variables which should be defined in DECLARATIONS_TELEMAC2D and DECLARATIONS_WAQTEL. Examples of such variables include LOITRAC, COEF1TRAC, ADDTR.

I need guidance in migrating my code from telemac 2d v7 to v8. Thanks.

A screen shot of the error is attached.
Attachments:
The administrator has disabled public write access.

Need help in migrating fortran file to telemac2d v8 4 years 5 months ago #36159

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
Porting code from V7 to V8 needs some work to adapt the subroutines to the new version...
By the way, this programmation exists in the past and wasn't removed for the V8 so it probably exists somewhere in the sources...
As we're dealing with tracers, this has probably been placed in waqtel

Regards
Christophe
The administrator has disabled public write access.

Need help in migrating fortran file to telemac2d v8 4 years 5 months ago #36160

  • ArthurCardiff
  • ArthurCardiff's Avatar
I can see variables LOITRAC and COEF1TRAC in the fortran source code DECLARATIONS_WAQTEL. However, I did not find the variable ADDTR in DECLARATIONS_WAQTEL. Any ideas where should it be?
The administrator has disabled public write access.

Need help in migrating fortran file to telemac2d v8 4 years 5 months ago #36162

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Is it used?
Christophe
The administrator has disabled public write access.

Need help in migrating fortran file to telemac2d v8 4 years 5 months ago #36163

  • ArthurCardiff
  • ArthurCardiff's Avatar
Yes, it is used in my fortran code, but the compiler cannot find ADDTR in DECLARATIONS_WAQTEL.
The administrator has disabled public write access.

Need help in migrating fortran file to telemac2d v8 4 years 5 months ago #36164

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
It depends the use.
If this is linked to a Telemac abject, maybe there is a new name for it.
Otherwise you should start from scratch and rewrite your fortran code from the latest telemac source code
Christophe
The administrator has disabled public write access.
Moderators: pham

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