Welcome, Guest
Username: Password: Remember me

TOPIC: Problem with wave driven currents

Problem with wave driven currents 8 years 1 month ago #23824

  • charlotta.lovstedt
  • charlotta.lovstedt's Avatar
Error.jpg

Hello,

I get the following error message when I try to use input from TOMAWAC into a TELEMAC 3D model (see added file).


Thanks in advance,
Charlotta
The administrator has disabled public write access.

Problem with wave driven currents 8 years 1 month ago #23829

  • aleroy
  • aleroy's Avatar
Hello Charlotta,

I think you have forgotten to add the file, I can't find it. Anyway, it seems you have a problem with your variables declaration - they must be declared as ALLOCATABLE, like:

DOUBLE PRECISION,DIMENSION(:), ALLOCATABLE :: NAME

Cheers,
Agnès
The administrator has disabled public write access.

Problem with wave driven currents 8 years 1 month ago #23866

  • jmhervouet
  • jmhervouet's Avatar
Hello,

The variables declared in Tomawac are not seen in Telemac and vice-versa, they can be if you add :

USE DECLARATIONS_TOMAWAC, ONLY : list of variables to be seen

into a subroutine of Telemac-3D, but 1) this may trigger conflicts of names 2) some allocatable variables may not be allocated, unless you are coupling the two programmes, so that both have initialised their memory.

Anyway the code in your error message shows bits of lecdon_telemac3d.f, which must have a USE DECLARATIONS_TELEMAC3D in the beginning.

With best regards,

Jean-Michel Hervouet
The administrator has disabled public write access.
Moderators: pham

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