Welcome, Guest
Username: Password: Remember me

TOPIC: Help me to translate this file slf to vtk

Help me to translate this file slf to vtk 3 years 4 months ago #37440

  • kero_feuz
  • kero_feuz's Avatar
Hello friends,

Please help me as fast as possible to transform this slf file to vtk
The administrator has disabled public write access.

Help me to translate this file slf to vtk 3 years 4 months ago #37447

  • Gambarini
  • Gambarini's Avatar
Hi, you can use the scripts sel2vtk.py or sel2vtk_bin.py by Pat Prodanovic: see here
www.opentelemac.org/index.php/assistance...l2vtk-0-5-5?start=10
and here
github.com/pprodano/pputils

They work great!
The administrator has disabled public write access.

Help me to translate this file slf to vtk 3 years 4 months ago #37478

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1460
  • Thank you received: 563
Hello,

As told in rule #1 of this forum, if you use the search feature of the forum (menu as "Recent Topics" or "Rules" not the search of the opentelemac website), you can find a relevant answer with the keyword vtk:
www.opentelemac.co.uk/index.php/kunena/p...-into-vtk-file#36796

The command (from the TELEMAC-MASCARET Python scripts) converter.py srf2vtk file.srf file.vtk works well and no need to use pputils from Pat.

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.
The following user(s) said Thank You: kero_feuz

Help me to translate this file slf to vtk 3 years 4 months ago #37479

  • Gambarini
  • Gambarini's Avatar
I'm sorry for giving a misleading answer: I was just trying to help by saying how I personally do it, but thanks for clarifying!

Good evening,
Marco
The administrator has disabled public write access.

Help me to translate this file slf to vtk 3 years 4 months ago #37487

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1460
  • Thank you received: 563
No problem Marco,

My previous message was just a reminder how to find an already answered question. It was also to say that some scripts exist in the TELEMAC-MASCARET system that may anwser the question.

Chi-Tuan
The administrator has disabled public write access.

Help me to translate this file slf to vtk 3 years 4 months ago #37480

  • pprodano
  • pprodano's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 95
  • Thank you received: 54
Hello,

Just to clarify, the scripts in PPUTILS allow for the conversion to binary vtk files, which result in smaller file sizes and load much quicker in Paraview.

Cheers,

Pat
The administrator has disabled public write access.
The following user(s) said Thank You: kero_feuz

Help me to translate this file slf to vtk 3 years 4 months ago #37488

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1460
  • Thank you received: 563
Thanks for the clarification Pat.

Indeed it is a good idea to reduce sizes of files. I hope this feature may be available in Python scripts soon.

A good solution may also be to compile Paraview with the Serafin addon, to skip the conversion step (which is not so easy I recognize).

Chi-Tuan
The administrator has disabled public write access.

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