Welcome, Guest
Username: Password: Remember me

TOPIC: How telemac find the mesh node to be associated to a source point

How telemac find the mesh node to be associated to a source point 6 years 8 months ago #29219

  • Phelype
  • Phelype's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 64
Hello Robert,

NMAX is actually an internal variable of Damocles. When Telemac2D (or any other module) calls Damocles, the variable passed is MAXKEYWORD, which is a parameter declared in declarations_special.f.

Regards,

Phelype
The administrator has disabled public write access.

How telemac find the mesh node to be associated to a source point 6 years 8 months ago #29242

  • kingja.x
  • kingja.x's Avatar
Hi Robert,

Following on from Phelype who is correct, declarations_sepecial.f is a MODULE file and you will need to update this in the source directory and recompile.

Alternatively you can replace the variable MAXKEYWORD in homere_telemac2d.f and lecdon_telemac2d.f with a value (for example 500 - this worked for me) and simply include these in a FORTRAN file which is declared in your configuration file.

If you choose to do this then it is important that the file is called as filename.F (capital letter for the file extension) which relates to alerting the compiler to account for preprocessor variables.

Regards
Jonathan
The administrator has disabled public write access.

How telemac find the mesh node to be associated to a source point 6 years 8 months ago #29247

  • rladwig
  • rladwig's Avatar
Thank you very much Phelype and Jonathan!!!

My simulation is working now and all source terms are included. I just got a small shock when TELEMAC was telling me that only 20 source terms are allowed, but the new keyword MAXIMUM NUMBER OF SOURCES is quite convenient.

Cheers!
Robert
The administrator has disabled public write access.
Moderators: pham

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