CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [General] Problem in using paraview (https://www.cfd-online.com/Forums/paraview/107770-problem-using-paraview.html)

meballav October 6, 2012 06:14

Problem in using paraview
 
Hi,
i am new in this forum.
i am having problem using paraview. actually i am doing small simulation of gassphere using gadget 2.0.7. i am scudded in runing it also. but when i tried to visualize the file created by gadget using paraview i got an error. it shows that the file is not supported by the paraview.
but the paraview user guide says that it will support the gadget2 files.
is there any solution.

OR
Behind using paraview is there any software which can visualize the gadget2 output files.
Please someone help me.

wyldckat October 6, 2012 08:30

Greetings meballav and welcome to the forum!

Which ParaView version are you using?

Best regards,
Bruno

meballav October 7, 2012 02:23

Thank you for your reply Bruno

I am using ParaView 3.8.0 32-bit.

wyldckat October 7, 2012 02:56

Then you better get a more up-to-date version. The latest is ParaView 3.14.1: http://www.paraview.org/paraview/resources/software.php

If you provided a small example file of gadget2, I could confirm if it will work properly with 3.14.1.

meballav October 7, 2012 03:25

1 Attachment(s)
Hi, Bruno

Ok then i will send you my few gadget 2 outputs file of gassphere simulation. I have run gadget 2 in ubuntu 11.04 system.
i have send you the attach files. please check

Regards
ballav

wyldckat October 7, 2012 04:08

OK, I've confirmed that ParaView 3.8.0 will not open these files.
And also confirmed that ParaView 3.12.0 did open them successfully!

meballav October 7, 2012 11:31

thanks Bruno
ok then how can i download the paraview 3.12.0 on ubuntu 11.04.

wyldckat October 7, 2012 15:27

It should be this simple:
  1. Go to the download page: http://www.paraview.org/paraview/resources/software.php
  2. Pick either "3.12" or "3.14".
  3. Pick "ParaView Binary Installers"
  4. Pick "Linux 32bit".
  5. Press the download button.
  6. When it finishes downloading, unpack the downloaded file.
  7. Go into the folder "ParaView-3.*/bin" and double click on the file "paraview".

meballav October 8, 2012 04:12

Thanks Bruno
>ok i have downloaded it and also installed it and run the paraview.
>i click on File and open.
>then the open file dialog box will open, then i search where i have saved my snapshot files.
>then paraview does not show any snapshot files
>then i change the Files of type to All files (*)
>then it shows the snapshot files.
>i click on any one file like snapshot_001 and press ok button.

>Then it shows
"A reader for "home/meballav/documents/code/Gadget-2.0.7/gassphere/out" could not be found please choose one:

>then i select Cosmology files and press ok
> then under Pipeline Browser it shows snapshot_001
>then i click apply button in Object inspector
>it shows small groups of dots in visualization


is it correct or i have made some errors while doing in above steps could you please help me. please please.


Regards ballav

wyldckat October 8, 2012 16:41

1 Attachment(s)
Hi Ballav,

Sorry about that, I forgot to mention that you should use the "All files" filter when searching for the files and then to use the "Gadget Files" reader for opening these files.

When you use the Gadget format, it provides you with options to select which fields should also be loaded. Those options appear in the Object Inspector, in the section "Cell/Point Array Status".

For me, it shows a sphere of points, as attached. As you can see on the top left side of the snapshot, where "VEL" is written, you can choose the field to be represented.

Best regards,
Bruno

meballav October 12, 2012 08:07

Hi, Bruno

>Thank you very much for your help i am able to visualize the files.

>But when i update my paraview software form 3.8 to 3.12 it visualize the files but when i again try to compile my Gadget2 make file then it shows following errors
>"mpicc -O3 -Wall -DPEANOHILBERT -DWALLCLOCK -DSYNCHRONIZATION -DHAVE_HDF5 -I/usr/local/include -I/usr/local/include -c -o main.o main.c
In file included from main.c:8:0:
proto.h:10:18: fatal error: hdf5.h: No such file or directory
compilation terminated.
make: *** [main.o] Error 1"

> it says that i dont have hdf5.h files in usr/local/include
> again i install the hdf5 file by typing following commands "sudo apt-get install libhdf5-serial-dev"
>then it installs it and then i am able to run make files.
> but at this time when i try to run paraview it shows that there is no paraview installed you can install it by sudo apt-get install paraview.

> so in brief when paraview is installed it will remove hdf5.h file and when hdf5.h is installed it will remove paraview.

>do you have any idea
> i am expecting your help please

Regard, Ballav

wyldckat October 12, 2012 16:03

Hi Ballav,

I don't understand... Why are you installing ParaView 3.8 once again, if you have ParaView 3.12.0 installed separately?
I was a bit vague in my instructions, but the idea is that:
  • The separate installation of ParaView 3.12.0 should not affect ParaView 3.8 nor Gadget2.
  • If you have ParaView 3.12.0, you no longer need ParaView 3.8!
  • Because ParaView 3.12.0 is placed in a personal folder (I assume you left it in the Downloads folder) and will not affect anything else... or at least it shouldn't, if you followed the instructions I wrote on the other post!
Best regards,
Bruno


All times are GMT -4. The time now is 20:31.