Welcome, Guest
Username: Password: Remember me

TOPIC: Increase maximum number of sources

Increase maximum number of sources 7 years 11 months ago #24518

  • mourad
  • mourad's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 155
  • Thank you received: 6
I have the same probleme : 646 sources with varying dischage. I have a txt file for discharge but nothing for nodes coordinates. Its look like the folowing
Steering file :
ABSCICES DES SOURCES=
many lines with 4 abscisses separated by ';' without blank.
DEBITS DES SOURCES
The same line number used in ABSCISSES but with 0 everywhere
ORDONNEES DES SOURCES
Similar to ABSCISSES...

The txt file where I stored the discharges of sources looks as follow :
T Q(1) Q(2) .......Q(646)
s m3/s m3/s ....... m3/s
0 0.5 0.6 1
3600 0.2 0.2 0.5
7200 1.2 1.5 5
.
.
.
But still doses not work. is it possible to make a txt file for SOURCES COORDINATES ?
If yes, which format I have to use? is it like this :

XSCE(1) YSCE(1) XSCE(2) YSCE(2).....XCSE(646) YSCE(646)
X1 Y1 X2 Y2 ..... X646 Y646
The administrator has disabled public write access.

Increase maximum number of sources 7 years 11 months ago #24520

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
There is no solution already developed for this kind of problem up to now.
You could do it in the way you want by modifying manually some subroutines in order to give the right size for all array dealing with sources and also replace the read in the steering file by a read in an external file.

Regards
Christophe
The administrator has disabled public write access.

Increase maximum number of sources 7 years 11 months ago #24538

  • mourad
  • mourad's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 155
  • Thank you received: 6
Thank you Mr Coulet for your reply.
Which subroutine I have to modify, please can you give me an example. Lets suppose that all the needed changes are done, do I need to recompile TELEMAC?
The administrator has disabled public write access.
Moderators: pham

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