Welcome, Guest
Username: Password: Remember me

TOPIC: Sources are not read from the file

Sources are not read from the file 6 years 2 months ago #31372

  • harryyao
  • harryyao's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 190
  • Thank you received: 3
Dear all,

I have a question about adding the sources in telemac-2d.
I want to add 22 sources into my simulation and the problem is that the program reads the location of all 22 sources but just assign 20 sources in calculation. It seems that it can read just 21 columns from the file (1 column including time and 20 columns of discharges). The attached figures show that program is only considering 20 sources in its calculation.
I would be grateful if you could possibly help me.

Thank you so much in advance.
Attachments:
The administrator has disabled public write access.

Sources are not read from the file 6 years 2 months ago #31373

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
there is no rules on column number when telemac read sources values, only a limited line length...
But the limit if 3000 characters!
Are your lines in the file longer than 300 characters?

If not you could try to look at read_fic_sources.f to debug your case

regards
Christophe
The administrator has disabled public write access.

Sources are not read from the file 6 years 2 months ago #31374

  • harryyao
  • harryyao's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 190
  • Thank you received: 3
Hi,
Thank you so much for your reply.
I do not think it exceed 300 charachters. I have attached the filed I am using.
What is the solution in case we have a lot of sources and it exceeds 300 charachters?
Attachments:
The administrator has disabled public write access.

Sources are not read from the file 6 years 2 months ago #31391

  • harryyao
  • harryyao's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 190
  • Thank you received: 3
Hi,

The problem is solved by modifying the subroutine lecdon_telemac2d.f and changing the value of MAXSCE.
The administrator has disabled public write access.
Moderators: pham

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