Welcome, Guest
Username: Password: Remember me

TOPIC: SELAFIN ==> ParaView

SELAFIN ==> ParaView 12 years 11 months ago #3953

  • bhunter
  • bhunter's Avatar
Hopefully someone can point me in the right direction.
I would like to get infomation from Telemac2D and Telemac3D GEOMETRY and RESULT files into ParaView. Does anyone have a Pluggin for Paraview that reads the SELAFIN files or a routine/script that can convert the SELAFIN format to one that can be read directly by ParaView (retaining all of the information - B, Z, U, V, W etc) .
I am working on a Linux box (Ubuntu) so I would prefer to remain in that environment but can live with Windows executable.

Thanks in advance

Bruce
The administrator has disabled public write access.

Re: SELAFIN ==> ParaView 12 years 11 months ago #3954

  • ails
  • ails's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 17
Hello Bruce,

Actually, there are several ways to use Paraview with Telemac :
  • Convert Selafin files to VTK :
we can provide a (small) program (not very smart though),
  • Load Selafin files in Paraview : a plugin has been developed and can be sent. However, it requires a manual installation (using CMake I guess) as well as some knowledge on Paraview (that I haven't yet),
  • Another solution (available in the next version of TELEMAC) requires to export TELEMAC results in the MED format which can be processed by the Salome platform in which Paraview is encapsulated. We are still working on compatibility between the m_med.f routine and the latest MES library.


    So, those who are interested in solution (1) or (2) can send me a mail (This email address is being protected from spambots. You need JavaScript enabled to view it.). These solutions are also available on our SVN repository (I should check before posting the link).

    We will be able to release in V6P2 a data converter for handling Selafin files.

    Best regards,

    Fabien Decung
    The administrator has disabled public write access.

    Re: SELAFIN ==> ParaView 12 years 11 months ago #3955

    • bhunter
    • bhunter's Avatar
    Fabian

    Thanks for the quick reply. I will send an email in the morning (Canada-Pacific Coast) regarding 1) and 2). I didn't see anything in the SVN repository last week (except for the tecplot pluggin and Rubens/Matisse installation) but I may have missed something.

    Again - Thanks

    Bruce
    The administrator has disabled public write access.

    Re: SELAFIN ==> ParaView 12 years 11 months ago #3964

    • ogoe
    • ogoe's Avatar
    Bruce,

    there's this small tool sel2vtk I've developed some years ago. I think you may find it in the svn repo under bin/AddOns Paraview_Plugins/sel2vtk. Or you may download it from www.ogoethel.de/tools. I'm not sure if all the information that's available in the selafin file will be converted but it's sure worth a try.

    Have fun

    Oliver
    The administrator has disabled public write access.

    Re: SELAFIN ==> ParaView 12 years 11 months ago #3977

    • bhunter
    • bhunter's Avatar
    Oliver

    Thanks for the information and direction. I some how missed the Paraview directory in the repository. Downloaded your routine and will see how things go.

    Regards

    Bruce
    The administrator has disabled public write access.

    SELAFIN ==> ParaView 2 weeks 1 day ago #46055

    • phmusiedlak
    • phmusiedlak's Avatar
    • OFFLINE
    • Fresh Boarder
    • Posts: 15
    • Thank you received: 3
    Hello everyone,

    I come up with a solution to visualised TELEMAC3D .slf results in Paraview in on single file:
    1/ convert results.slf into multiple .vtk using stbtel (or else, as described in multiple post on this forum):
    stbtel.py stbtel_vtk.cas

    2/ create a new file: results3d.vtk.series that is a JSON like file
    {
      "file-series-version" : "1.0",
      "files" : [
        { "name" : "r3d00000000.vtk", "time" : 0.0 },
        { "name" : "r3d00000001.vtk", "time" : 0.05 },
        { "name" : "r3d00000002.vtk", "time" : 0.1 },
        ....
      ]
    }

    3/ Open the results3d.vtk.series file in Paraview
    You should be able to view all time-step (at least the one you wrote into the results3d.vtk.series file).
    You can stop here, it works but so far Paraview is quite slow to go from one time-step to the other and freeze (so I am rather disappointed).

    4/ Export into .vtu: File > Save as > "VTK UnstructuredGrid Files" (saving is a bit long)

    5/ Open this last in Paraview:

    more information and (big) Thanks to:
    stackoverflow.com/questions/33771609/how...ew/34120782#34120782



    Ps: I also tried / faced:
    - meshio tool failed
    - Paraview is on my windows and I can't (be asked to) (re)-compile Paraview so to implement Plug-in
    - the first solution from stack_overflow Bertrand Gazanion answer: open all .vtk and try to save the whole into another format (I almost though it worked :| ) - XML crasesh, PVD worked but somehow only for the first time-step (even if I select "all time-step" ;)), same goes for PVTU...

    On the todolist:
    - write Python/whatever script to generate this file


    Have a nice day

    Pierre-Henri
    The administrator has disabled public write access.
    The following user(s) said Thank You: Renault

    SELAFIN ==> ParaView 4 days 3 hours ago #46133

    • pham
    • pham's Avatar
    • OFFLINE
    • Administrator
    • Posts: 1602
    • Thank you received: 611
    Hello,

    FYI, you can install SALOME platform available here:
    www.salome-platform.org/?page_id=2430

    Paraview should be available with the SERAFIN reader plugin.

    Hope this helps,

    Chi-Tuan
    The administrator has disabled public write access.

    SELAFIN ==> ParaView 3 days 19 hours ago #46135

    • phmusiedlak
    • phmusiedlak's Avatar
    • OFFLINE
    • Fresh Boarder
    • Posts: 15
    • Thank you received: 3
    Thanks Chi-Tuan,

    I though so but somehow last time (i.e. last year) I couldn't manage to install Salome on my computer (but this has to do with Salome developpers).

    Thanks

    Pierre-Henri
    The administrator has disabled public write access.

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