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

TOPIC: how to change results to vtk to open on paraview

how to change results to vtk to open on paraview 4 years 3 months ago #36483

  • kero_feuz
  • kero_feuz's Avatar
Dear Friends

How to change the results from res.sel to vtk format to open it on paraview

everything is going smoothly and perfect but i have this problem shown

'slv2vtk_new' is not recognized as an internal or external command,
operable program or batch file.
The administrator has disabled public write access.

how to change results to vtk to open on paraview 4 years 3 months ago #36484

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hello,

Have you tried the converter.py script with the positional argument srf2vtk (run converter.py -h for example)?

Hope this helps,

Chi-Tuan
The administrator has disabled public write access.

how to change results to vtk to open on paraview 4 years 3 months ago #36555

  • kero_feuz
  • kero_feuz's Avatar
Hello Pham

its not working for me
The administrator has disabled public write access.

how to change results to vtk to open on paraview 4 years 3 months ago #36563

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hello kero_feuz,

Hard to answer you with so few elements, "it is not working for me" is not a good answer for me. Please follow rule #7 www.opentelemac.org/index.php/kunena/help
Error message? Command failed with no error message? Result file(s) produced but your are not able to visualise it? Paraview crashes?

I wonder what slv2vtk_new is.

When you tried converter.py srt2vtk etc, what happens?


I wonder if your PATH or other environmental variables are correctly filled in.

Chi-Tuan
The administrator has disabled public write access.

how to change results to vtk to open on paraview 4 years 3 months ago #36558

  • rosparsw
  • rosparsw's Avatar
Hello,

Have you tried with this method : wikhydro.developpement-durable.gouv.fr/i...ire_%C3%A0_Sandillon

Also, here are the files necessary for the conversion.


Regards

William
Attachments:
The administrator has disabled public write access.

how to change results to vtk to open on paraview 4 years 2 months ago #36780

  • TomS
  • TomS's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 71
  • Thank you received: 8
Hi,

As a relative beginner to TELEMAC I thought I would share this method
for creating videos using Paraview in Ubuntu. It may also be useful
for Windows users.

In /optionals/addons/Paraview_Plugins/sel2vtk

Compile the code using:

./script.gfortran.sh

Copy your TELEMAC SELAFIN results file into the directory:

/optionals/addons/Paraview_Plugins/sel2vtk

Run the executable:

sel2vtk_gfortran

And follow the instructions. This will create VTK files e.g.

clyde.00001.vtk, clyde.00002.vtk, clyde.00003.vtk...etc.

In Paraview open the file named "clyde...vtk" which will open all VTK
files in a single file, then choose:

File/Save Animation

and select the option for "PNG images" choosing an appropriate file name.

Paraview will loop through the VTK files saving them (in my case) as:

cl.0000.png, cl.0001.png, cl.0003.png...etc.

Install the open source video software ffmpeg, and use the command
(for 4 frames per second):

ffmpeg -r 4 -i cl.%4d.png -pix_fmt yuv420p -r 4 cl.mp4

To create the mpeg cl.mp4.
The administrator has disabled public write access.

how to change results to vtk to open on paraview 4 years 2 months ago #36781

  • TomS
  • TomS's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 71
  • Thank you received: 8
MPEG converted to avi attached (perhaps lost a bit in translation!).
Attachments:
The administrator has disabled public write access.

how to change results to vtk to open on paraview 4 years 2 months ago #36786

  • wentaogong08
  • wentaogong08's Avatar
which command did you use for compiling the code
The administrator has disabled public write access.

how to change results to vtk to open on paraview 4 years 2 months ago #36787

  • TomS
  • TomS's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 71
  • Thank you received: 8
./script.gfortran.sh
The administrator has disabled public write access.
The following user(s) said Thank You: wentaogong08

how to change results to vtk to open on paraview 4 years 2 months ago #36788

  • wentaogong08
  • wentaogong08's Avatar
I don't know why I can not run this command
Attachments:
The administrator has disabled public write access.
  • Page:
  • 1
  • 2

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