Welcome, Guest
Username: Password: Remember me

TOPIC: New Working Paraview Plugin for telemac.

New Working Paraview Plugin for telemac. 5 years 2 months ago #33214

  • pprodano
  • pprodano's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 95
  • Thank you received: 54
My personal favourite is to convert the *.slf result file to a binary *.vtk file, like this:

sel2vtk_bin.py -i mymesh.slf -o mymesh.vtk

Binary *.vtk files load much quicker than the ascii files, and they are much smaller. This is especially useful when dealing with large models.

Just my $0.02.

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

New Working Paraview Plugin for telemac. 5 years 1 month ago #33222

  • josekdiaz
  • josekdiaz's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 161
  • Thank you received: 47
Hi,

Been using sel2vtk_bin.py for quite some time, flawless in most of the cases.

Thank you!
The administrator has disabled public write access.

New Working Paraview Plugin for telemac. 5 years 1 month ago #33224

  • pilou1253
  • pilou1253's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 582
  • Thank you received: 105
Agreed 100%!

PL
The administrator has disabled public write access.

New Working Paraview Plugin for telemac. 4 years 9 months ago #34156

  • MohdAlaa
  • MohdAlaa's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 76
  • Thank you received: 1
Hi,

Is there any way to convert *.slf to *.vtk as one file instead of separate files for each timestep? My simulation period is 3 days and the timestep is 0.3 seconds. If it converts each timestep to a file, I will end up with tens or hundreds of thousands of files.

Thanks
The administrator has disabled public write access.

New Working Paraview Plugin for telemac. 4 years 9 months ago #34177

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

If you have an output file that has that many time steps, then perhaps you should use some of my other tools instead to scan, probe, extract cross sections/transects, and/or time series at an individual locations. That is what I would do.

Using a terminal is more suited for this than converting it all to *.vtk.

Of course, you can always restrict which time steps get converted to *.vtk by specifying start and end time steps for the files that get converted.

Hope it helps,

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

New Working Paraview Plugin for telemac. 4 years 9 months ago #34186

  • MohdAlaa
  • MohdAlaa's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 76
  • Thank you received: 1
Hi Pat,

Thanks for the reply. It's helpful.

But in my case, I need to see the animation of the whole domain for the entire simulation period.

I'm using currently bluekenue for that, but I wanted to use ParaView as it has better visualization capabilities, and the graphics looks nicer.

I've tried the telemac plugin for paraview and Salome-Hydro. Both work fine. They are a bit slow compared with running *.vtk, but they do the job for now.

Thanks,

Mohammed
The administrator has disabled public write access.

New Working Paraview Plugin for telemac. 4 years 2 months ago #35384

  • 王濬祐
  • 王濬祐's Avatar
Hi

I'm new here
I want to use sel2vtk_bin.py

I got "error" message

what should I do?please help me

Thanks & Best Regards
Attachments:
The administrator has disabled public write access.

New Working Paraview Plugin for telemac. 4 years 2 months ago #35543

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

Sorry for the late reply. Were you able to get the problem fixed? If not, please attach the *.slf file that you are trying to use with sel2vtk_bin.py, and I can take a look. I have a suspicion that the *.slf file you are trying to use is corrupt.

Pat
The administrator has disabled public write access.

New Working Paraview Plugin for telemac. 3 years 8 months ago #36611

  • luiz.ferreira
  • luiz.ferreira's Avatar
Pat, I am having problem to run the script. The message is that I don't have ppmodules.
The administrator has disabled public write access.

New Working Paraview Plugin for telemac. 3 years 8 months ago #36615

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

The sel2vtk.py and sel2vtk_bin.py scripts need to have the ppmodules directory in the same folder. I am suspecting that you moved an individual script out of the PPUTILS directory, and attempted to use it. You can not do that unless, of course, you deal with all the dependencies somehow.

If this is not what you did, please explain further, and we'll debug.

Pat
The administrator has disabled public write access.

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