Welcome, Guest
Username: Password: Remember me

TOPIC: New Working Paraview Plugin for telemac.

New Working Paraview Plugin for telemac - simple compilation guide. 7 years 10 months ago #24853

  • huyquangtran
  • huyquangtran's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 271
  • Thank you received: 23
Hi,

I have read this post, and others on the internet to learn how to compile PARAVIEW on Linux (I am using Linux Min18). I did successfully compile Paraview (V4.4 as recommended), but I still get an error with SerafinReader Plugin. The error attached.

I just wonder if I still did a mistake while compiling Paraview and Plugin?

Could anyone help?

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

New Working Paraview Plugin for telemac - simple compilation guide. 7 years 10 months ago #24916

  • j_floyd
  • j_floyd's Avatar
I am not sure...

Compilation is not straight forward, it is possible to build the plugin separately with my instructions and some simple editing of the required paraview plugin control files as discussed so libraries etc can be found.

Sorry I didnt replay I have been very busy at this end.

One thing that hasnt been supported which may be relevant, is support for double precision floats. This is something that was not in the original and this may easily cause problems.

Double precision files can be easily detected, but substantial coding needs to be done to handle double precision records due to the original form of the code which I worked from. I have not yet had time to revamp the whole coding system since.

It was something flagged in my initial posts as needed to be done.

Please outline what type of serafin files you are trying to read.

Cheers
The administrator has disabled public write access.

New Working Paraview Plugin for telemac - simple compilation guide. 7 years 10 months ago #24917

  • huyquangtran
  • huyquangtran's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 271
  • Thank you received: 23
Dear Jorn,

I want to plot 3D TELEMAC output files, so I need to use Paraview. When I try to open some of results from examples directory, the same error occurs.

I have also built the plug-in separately with the following steps:

1. Build Paraview without TELEMAC plugin at:
home/huyquangtran/paraview-build

2. Build Serafinreader:
- in CmakeLists.txt I change the directory to: home/huyquangtran/paraview-build
- create a build folder inside the directory: home/huyquangtran/paraview-source/plugins/Serafinreader/build
- then: ccmake home/huyquangtran/paraview-source/plugins/Serafinreader
- then: make

After all, I can see the file: libSerafinreader.so

But when I try to test some slf files in examples directory, it does not work.

The error I attach here is the same before :(

Screenshotfrom2017-01-2214-03-51.png


Screenshotfrom2017-01-2214-05-08.png
The administrator has disabled public write access.

New Working Paraview Plugin for telemac - simple compilation guide. 7 years 9 months ago #24963

  • huyquangtran
  • huyquangtran's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 271
  • Thank you received: 23
So, finally I have successfully compiled "SerafinReader" with Paraview! :woohoo: :woohoo:

Really happy with this, and happy to help others with this plug-in!
checkslf.png
The administrator has disabled public write access.

New Working Paraview Plugin for telemac - simple compilation guide. 5 years 9 months ago #32826

  • amanj2013
  • amanj2013's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 211
  • Thank you received: 24
Hi dear,

I have read the post and seen you successfully compiled slf plugin in paraview, is it possible to share the procedure for windowns here?

Thanks,
AMANJ
The administrator has disabled public write access.

New Working Paraview Plugin for telemac - simple compilation guide. 5 years 9 months ago #32830

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
The image shows a linux mint computer...
Compiling the plugin for windows is possible but very complex as you should compile paraview...
There is no particular procedure.
Download paraview sources and use Cmake...
I remember that I have to modify few sources file to solve compilation error...
Christophe
The administrator has disabled public write access.

New Working Paraview Plugin for telemac - simple compilation guide. 5 years 8 months ago #33127

  • Arvid Dujardin
  • Arvid Dujardin's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 3
Hi Amanj,

I circumvent this problem by using the selafin2vtk converter that pprodano wrote in python.

See http://www.opentelemac.org/index.php/assistance/forum5/paraview/10886-paraview-in-windows
The administrator has disabled public write access.

New Working Paraview Plugin for telemac - simple compilation guide. 5 years 8 months ago #33139

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
You can also use converter.py from within the code to convert into vtk.
converter.py mymesh.slf -o my_mesh.vtk
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.

New Working Paraview Plugin for telemac - simple compilation guide. 5 years 8 months ago #33140

  • amanj2013
  • amanj2013's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 211
  • Thank you received: 24
hi,

where is the converter located?

Thanks,
AMANJ
The administrator has disabled public write access.

New Working Paraview Plugin for telemac - simple compilation guide. 5 years 8 months ago #33141

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
It is in scripts/python27/converter.py
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.

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