Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Troubelshooting STBTEL error

Troubelshooting STBTEL error 7 years 2 months ago #27684

  • pilou1253
  • pilou1253's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 584
  • Thank you received: 106
Dear all,

I am trying to run STBTEL to screen and remove small elements from a large mesh (> 4 M elements), see the atached steering file.
The program runs (very slowly though...) normally until a message stating that some elements were cancelled but crashes just after pointing to an error on boundary nodes that I don't manage to understand, see the attached log. I made a test with a small mesh and didn't have any problem.

Does someone have tips?

Thanks in advance!

Best regards
PL

File Attachment:

File Name: stb_cas.txt
File Size: 1 KB


File Attachment:

File Name: stb_cas_2017-09-01-10h36min13s.txt
File Size: 3 KB
The administrator has disabled public write access.

Troubelshooting STBTEL error 5 years 5 months ago #33743

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Hello PL,
I just encountered the same error trying to eliminate small elements from my mesh.

Also, when I tried the option CUTTING ELEMENTS IN FOUR : YES, STBTEL run successfully but the produced file was invalid.

In the end, it proved that the problem was my DOUBLE PRECISION mesh. Saved the mesh as SINGLE PRECISION and STBTEL worked like a charm.

It appears than STBTEL does not support DOUBLE PRECISION meshes.

Best regards,
Costas
The administrator has disabled public write access.

Troubelshooting STBTEL error 5 years 5 months ago #33746

  • pilou1253
  • pilou1253's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 584
  • Thank you received: 106
Hello Costas,

Thanks for your feedback. In my case I had a single precision mesh so I think the main reason for the crash was the large number of elements. I remember speaking about STBTEL with EDF folks at a previous TUC and it seems that the code is maybe not optimized for large meshes... I don't think a lot of development is ongoing on this module which might also explains why it can't deal with double precision meshes.

Best regards
PL
The administrator has disabled public write access.

Troubelshooting STBTEL error 5 years 5 months ago #33749

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Actually some optimization was made on refinement in stbtel this year.
You can have a look at the trunk version.

Cheers,
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

Troubelshooting STBTEL error 5 years 5 months ago #33750

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Also stbtel does not handle DOUBLE PRECISION because so far it is not linked with the hermes module that handles the i/o within telemac.
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

Troubelshooting STBTEL error 5 years 2 months ago #34393

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
Goodmorning Yoann,
Just tried the new STBTEL update in the trunk. By default, it can now read DOUBLE PRECISION meshes, does the refining, but saves it as SINGLE PRECISION.
Setting
GEOMETRY FILE FORMAT FOR TELEMAC : 'SERAFIND'
results in the following error:
In O:\Projects\kardamaina\CAS_Set\tom-art\1.Artemis\stb_yfist.cas_2019-08-23-09h29min29s:
O:\Projects\kardamaina\CAS_Set\tom-art\1.Artemis\stb_yfist.cas_2019-08-23-09h29min29s\out_stbtel.exe


 LISTING OF STBTEL------------------------------------------------------------------------------

                 SSSSS  TTTTT  BBBB   TTTTT  EEEEE  L
                 S        T    B   B    T    E      L
                 SSSSS    T    BBBB     T    EEEE   L
                     S    T    B   B    T    E      L
                 SSSSS    T    BBBB     T    EEEEE  LLLLL

                       VERSION TRUNK  FORTRAN 2003

                  *     *    *     /\__/\  *    ---    *
                     *            /      \    /     \
                          *   *  |  -  -  |  |       |*
                   *   __________| \     /|  |       |
                     /              \ T / |   \     /
                   /                      |  *  ---
                  |  ||     |    |       /             *
                  |  ||    /______\     / |*     *
                  |  | \  |  /     \   /  |
                   \/   | |\ \      | | \ \
                        | | \ \     | |  \ \
                        | |  \ \    | |   \ \
                        '''   '''   '''    '''

 nptfr from lecsel         2248
 nptfr from lecsellim         2248

 MESH GENERATOR : SELAFIN
 --------------

 DATAS READ IN THE UNIVERSAL FILE
 ---------------------------------

 TITLE OF THE MESH                 : newSelafin
 REAL NUMBER OF POINTS             :       81676
 MAX. NUMBER GIVEN BY THE MESH GENERATOR:       81676
 TOTAL NUMBER OF ELEMENTS           :      161104
 TYPE OF ELEMENTS                   :      TRIANGLES

 CUTTING ELEMENTS BY 4
 ---------------------

 NEW NUMBER OF POINTS   :    324456
 NEW NUMBER OF ELEMENTS :    644416
 NUMBER OF BOUNDARY POINTS      :  4496
 NUMBER OF ISLANDS              :     1

 ELIMINATION OK BACKWARDS DEPENDENCIES
 ------------------------------------

 BACKWARD DEPENDENCIES ARE CANCELLED AFTER  0 ATTEMPTS

 GENERATING GEOMETRY FILE
 ------------------------

 TREATMENT OF BOUNDARY CONDITIONS
 --------------------------------

STOP 0
 CORRECT END OF RUN

 COMPUTER TIME:            1  SECONDS
 CALL OF P_EXIT IN ITS VOID VERSION
... merging separated result files

... handling result files

        moving: SERAFIND
        moving: geo_art_1m_yfist_SE.cli
Traceback (most recent call last):
  File "\\hydra\opentelemac\trunk\scripts\python3\stbtel.py", line 7, in <module>
    main('stbtel')
  File "\\hydra\opentelemac\trunk\scripts\python3\runcode.py", line 275, in main
    run_study(cas_file, code_name, options)
  File "\\hydra\opentelemac\trunk\scripts\python3\execution\run_cas.py", line 157, in run_study
    run_local_cas(my_study, options)
  File "\\hydra\opentelemac\trunk\scripts\python3\execution\run_cas.py", line 77, in run_local_cas
    my_study.gather(options.sortie_file, options.nozip)
  File "\\hydra\opentelemac\trunk\scripts\python3\execution\study.py", line 680, in gather
    self.ncsize)
  File "\\hydra\opentelemac\trunk\scripts\python3\execution\process.py", line 412, in process_ecr
    raise TelemacException(xcpt) # raise full report
utils.exceptions.TelemacException: [{'name': 'process_ecr', 'msg': 'did not create outfile: geo_art_1m_yfist_SE.slf (STBRES)'}]

A valid 'SERAFIND' does create in the folder, but it is still single precision.
Is there anything I am missing?
Best Regards,
Costas
The administrator has disabled public write access.

Troubelshooting STBTEL error 5 years 2 months ago #34395

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
I'll check it out.
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

Troubelshooting STBTEL error 5 years 2 months ago #34396

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
The behavior it has is that when refining the output will have the same format as the input.

I'll push the correction because with how it is if your input is single precision it will overwrite the format you gave him.
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

Troubelshooting STBTEL error 5 years 2 months ago #34398

  • cyamin
  • cyamin's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 997
  • Thank you received: 234
I am pretty much certain my source geometry is DOUBLE PRECISION.
On the other hand, it would be nice is STBTEL would be more verbose and broadcast the PRECISION of the source file. With Blue Kenue is impossible to tell if the SELAFIN is DOUBLE PRECISION once created...
The administrator has disabled public write access.

Troubelshooting STBTEL error 5 years 2 months ago #34399

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
I just react about Blue Kenue...
I don't understand your remark as when you open a selafin file, the format is written in the dialog box, and in the metadata.
And when you create the selafin file, you could choose if you want to create it as double precision or not...

Regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: cyamin
  • Page:
  • 1
  • 2

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