Welcome, Guest
Username: Password: Remember me

TOPIC: Failure with many sources and tracers

Failure with many sources and tracers 9 years 1 month ago #18383

  • charlotta.lovstedt
  • charlotta.lovstedt's Avatar
I also find the NMAX value in homere_telemac3d.f and interface_telemac3d.f and I changed those to 3000 in my f-file and now it is working!

Thanks for the help!
The administrator has disabled public write access.

Failure with many sources and tracers 9 years 1 month ago #18384

  • jmhervouet
  • jmhervouet's Avatar
Hello,

OK, so we should also have a keyword stating the maximum number of parameters, to replace all these hardcoded values. I put this officially in the todo list, but it will probably not be done in the next version which is too close to a release now.

With best regards,

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

Failure with many sources and tracers 9 years 1 month ago #18393

  • charlotta.lovstedt
  • charlotta.lovstedt's Avatar
I got the model to work yesterday with 29 sources and 13 tracers. Now I am at the next problem - I want to have 23 tracers and found that the maximum number of tracers is 20. So I changed MAXTRA in DECLARATIONS_TELEMAC3D.f but it still doesn't work. I don't get the error message that I have too many tracers after that modification so I don't know what the problem is. Do I need to change more parameters that depends on MAXTRA to compute the 23 tracers? Or is it not possible to calculate more than 20 tracers?
The administrator has disabled public write access.

Failure with many sources and tracers 9 years 1 month ago #18395

  • jmhervouet
  • jmhervouet's Avatar
Hello,

Officially changing MAXTRA should work, unless there is another limit, e.g. MAXVAR is at 100 but you probably do not have more than 100 named variables for the outputs.

A possible issue is that you have to recompile all Telemac-2D after changing MAXTRA.

In the next version MAXTRA will be a keyword, and we found (so far) no hidden hardcoded other value related to tracers, but we did not test 23 tracers yet.

With best regards,

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

Failure with many sources and tracers 9 years 1 month ago #18396

  • charlotta.lovstedt
  • charlotta.lovstedt's Avatar
Hi!

Thanks for the help! I will recompile and see if that solves the problem (by the way, it is Telemac 3D and not 2D).

The error message is:
LECDON: TRACERS NUMBER BIGGER THAN MAX NUMBER
MODIFY BETAC DIM

What is BETAC DIM?

Regards,
Charlotta
The administrator has disabled public write access.

Failure with many sources and tracers 9 years 1 month ago #18397

  • jmhervouet
  • jmhervouet's Avatar
Hello,

This message is in lecdon_telemac3d.f and it is printed when NTRAC.GT.MAXTRA so it is a hint that not all Telemac-3D has been recompiled. Information on BETAC is obsolete and we'll change it in the next release.

With best regards,

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

Failure with many sources and tracers 7 years 3 months ago #27614

  • Schmirre
  • Schmirre's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 78
  • Thank you received: 1
Hi Jean-Michel!

I found your keyword for MAXTRA, very smooth!

Unfortunately, it is not a solution to my current problem. I have a T3D model with 7 liquid boundaries and 18 point sediment sources (using SEDI-3D) and the model runs without any error messages. Although, only 16 of my 18 sources seem to have any discharge. I have 3 tracers of each source, namely temperatur, sediment and a regular tracer.

Do you have an idea of why these last to point sources aren't included?

/schmirre
The administrator has disabled public write access.

Failure with many sources and tracers 7 years 2 months ago #27650

  • jmhervouet
  • jmhervouet's Avatar
Hello,

How do you give the discharges? If it is in the parameter file I would hint a problem of line length?

JMH
The administrator has disabled public write access.

Failure with many sources and tracers 7 years 2 months ago #27656

  • Schmirre
  • Schmirre's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 78
  • Thank you received: 1
Hi JMH and thanks for your reply!

I simply give them in my .cas-file, so I don't think it is that either..

/schmirre
The administrator has disabled public write access.

Failure with many sources and tracers 7 years 2 months ago #27657

  • Schmirre
  • Schmirre's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 78
  • Thank you received: 1
I attach my cas-file!

/schmirre
Attachments:
The administrator has disabled public write access.
Moderators: pham

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