Welcome, Guest
Username: Password: Remember me

TOPIC: Wrong number of segments

Wrong number of segments 12 years 7 months ago #4120

  • p-ieter
  • p-ieter's Avatar
Hi,

We are trying to run a model for the North sea and we refined our mesh to specify the coast of Belgium.
When we want to run telemac2D, it gives an error in the end:

Wrong number of segments

We attached the code of the program.

Can you help us?
C:\fakepath\foutmelding.docx
The administrator has disabled public write access.

Re: Wrong number of segments 12 years 7 months ago #4121

  • p-ieter
  • p-ieter's Avatar
********************************************
* LECDON: *
* AFTER CALLING DAMOCLES *
* CHECKING OF DATA READ *
* IN THE STEERING FILE *
********************************************


EXITING LECDON. NAME OF THE STUDY:
TELEMAC 2D : OB FILE TEST 2_2

OPENING FILES FOR TELEMAC2D



*****************************
* MEMORY ORGANIZATION *
*****************************



READGEO1: TITLE= newSelafin


NUMBER OF ELEMENTS: 117611
NUMBER OF POINTS: 59147
MXPTEL (BIEF) : MAXIMUM NUMBER OF ELEMENTS AROUND A POINT: 11
MAXIMUM NUMBER OF POINTS AROUND A POINT: 12
CORRXY (BIEF):NO MODIFICATION OF COORDINATES

MESH: MESH ALLOCATED



*************************************
* END OF MEMORY ORGANIZATION: *
*************************************

INBIEF (BIEF): NOT A VECTOR MACHINE (ACCORDING TO YOUR DATA)
CORLAT :NO MODIFICATION OF LATITUDE
STOSEG (BIEF): WRONG NUMBER OF SEGMENTS : 176759 INSTEAD OF 17675
8 EXPECTED



PLANTE: PROGRAM STOPPED AFTER AN ERROR
RETURNING EXIT CODE: 2
Duration of job : 1 seconds ( 0:0:1 ) (system=0.031 sec)
______________________________________________________________________________
*** FILES DELIVERY ***

- RESULTS FILE : res_TEST2
- res_TEST2
- FORMATTED RESULTS FILE : informations.txt

- informations.txt

________________________________________________________
Execution finished: telemac2d.bat
________________________________________________________
No compilation/linking/file errors detected.
No execution errors detected.
Missing braces on \N{} at delete_June_2002_new4412.bat line 27, near "C:\U"
Missing braces on \N{} at delete_June_2002_new4412.bat line 36, near "C:\U"
Missing braces on \N{} at delete_June_2002_new4412.bat line 37, near "C:\U"
Missing braces on \N{} at delete_June_2002_new4412.bat line 38, near "C:\U"
Missing braces on \N{} at delete_June_2002_new4412.bat line 39, near "C:\U"
Execution of delete_June_2002_new4412.bat aborted due to compilation errors.
Returning exit status 0

=========================================================
Telemac System 5.6 to 6.1 - Perl scripts version 6.1
=========================================================
...stopping.


C:\Users\Kirsten\Documents\K.U. Leuven\Master\2e master\2e semester\Projectwerk
flexibele constructies\North_Sea_Scheldt_Model>
The administrator has disabled public write access.

Re: Wrong number of segments 12 years 7 months ago #4122

  • jmhervouet
  • jmhervouet's Avatar
Hello,

What happens is that STOSEG numbers the segments and the algorithm finds one more than the formula (3*NELEM+NPTFR)/2 which is the correct number, this could be due to some mismatch in the mesh, like two segments superimposed or 2 points superimposed.

With best regards,

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

Re: Wrong number of segments 12 years 7 months ago #4123

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
Another possibility is your problem comes from your mesh.
As it's written in the output file, the maximum number of elements around a point is 11 in your case. In telemac, the limit for this value is 10. There is some arrays which are defined with this limit so overpass this value could generate crash.

Hope this helps
Christophe
The administrator has disabled public write access.
Moderators: pham

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