Welcome, Guest
Username: Password: Remember me

TOPIC: Error while defining more than 4 discharge source

Error while defining more than 4 discharge source 2 months 2 weeks ago #46567

  • Jay_00
  • Jay_00's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
Hello,

Im trying to model flooding in Urban areas using combination of SWMM and TELEMAC.

When I try to define manholes in Telemac as a source of discharge using the ABSCISSAE and ORDINARTE of sources, I get an error as soon as I define more than 4 sources.

I looked up in the forum for similar problem or questions but that havent been completely helpful. Intially as a test im trying to include 10 points to see if the results are as expected but ultimately I will have to define ~700 sources.

Im attaching both the version of the cas file and the error that im getting when defining more than 4 sources along with the boundary files and selafin files.

I would appreciate if someone could guide me in the right direction :)

Thank you,

Jay.
The administrator has disabled public write access.

Error while defining more than 4 discharge source 2 months 2 weeks ago #46568

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3797
  • Thank you received: 1056
no attachments
Christophe
The administrator has disabled public write access.

Error while defining more than 4 discharge source 2 months 2 weeks ago #46572

  • Jay_00
  • Jay_00's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15

File Attachment:

File Name: Runoff_19.cas
File Size: 3 KB


File Attachment:

File Name: Error_message_more_than_4_sources.txt
File Size: 2 KB


Finally got it to work. These are the error messages that im getting along with the cas file.

PS: uploading the slf and cli files too
Attachments:
The administrator has disabled public write access.

Error while defining more than 4 discharge source 2 months 2 weeks ago #46574

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3797
  • Thank you received: 1056
Hi the error is explained here in the log file:
7 ABSCISSAE OF SOURCES EXPECTED
5 FOUND
Lines are too long and some sources was not recognized
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: Jay_00

Error while defining more than 4 discharge source 2 months 2 weeks ago #46577

  • Jay_00
  • Jay_00's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
Yes, and there was a similar question posted on the forum and there what the "user" had done was specify the discharge sources less than the number of sources and they later mentioned correcting that helped resolve the issue.

When I looked at my files both the number sources matched and I am still getting the error.
The administrator has disabled public write access.

Error while defining more than 4 discharge source 2 months 2 weeks ago #46573

  • Jay_00
  • Jay_00's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
Sorry for the confusion.

drive.google.com/drive/folders/1VQOjB5HR...9xN7CwJV?usp=sharing

This is the link to all the relevant files that I used to run the simulations.
The administrator has disabled public write access.

Error while defining more than 4 discharge source 2 months 2 weeks ago #46569

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3797
  • Thank you received: 1056
If you plan to define 700 sources, you necessarily have to use user fortran capabilities to define the number and the position.
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: Jay_00

Error while defining more than 4 discharge source 2 months 2 weeks ago #46570

  • Jay_00
  • Jay_00's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
Hi Mr Coulet,

Thank you for the reply, I was for some reason unable to attach the files.

What subroutine do you mean exactly? Because what I understood from the User manual is that we can define the discharge using the source file or the user_debsce.f file. And the way do define the points/nodes are through abscissae or through with the polygon again through the external file.
The administrator has disabled public write access.

Error while defining more than 4 discharge source 2 months 2 weeks ago #46576

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3797
  • Thank you received: 1056
Hi
To manually declare the sources (by reading in a dedicated file for example) you should adapt lecdon_telemac2d.f
This could be quite complex if you are not fully familiar with fortran.
As this fortran file is huge, you could search NREJET which is the number of sources...
Hope this helps
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: Jay_00

Error while defining more than 4 discharge source 2 months 2 weeks ago #46578

  • Jay_00
  • Jay_00's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
Thank you for your help. I'll look at the fortran file and if im still unable to have any progress. I'll write back.
The administrator has disabled public write access.
Moderators: pham

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