CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > ParaView

Problem in using paraview

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 6, 2012, 06:14
Default Problem in using paraview
  #1
New Member
 
ballav
Join Date: Oct 2012
Posts: 6
Rep Power: 4
meballav is on a distinguished road
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.
meballav is offline   Reply With Quote

Old   October 6, 2012, 08:30
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,258
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings meballav and welcome to the forum!

Which ParaView version are you using?

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   October 7, 2012, 02:23
Default
  #3
New Member
 
ballav
Join Date: Oct 2012
Posts: 6
Rep Power: 4
meballav is on a distinguished road
Thank you for your reply Bruno

I am using ParaView 3.8.0 32-bit.
meballav is offline   Reply With Quote

Old   October 7, 2012, 02:56
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,258
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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.
wyldckat is offline   Reply With Quote

Old   October 7, 2012, 03:25
Default
  #5
New Member
 
ballav
Join Date: Oct 2012
Posts: 6
Rep Power: 4
meballav is on a distinguished road
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
Attached Files
File Type: zip gassphere outputs.zip (96.8 KB, 4 views)
meballav is offline   Reply With Quote

Old   October 7, 2012, 04:08
Default
  #6
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,258
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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!
wyldckat is offline   Reply With Quote

Old   October 7, 2012, 11:31
Default
  #7
New Member
 
ballav
Join Date: Oct 2012
Posts: 6
Rep Power: 4
meballav is on a distinguished road
thanks Bruno
ok then how can i download the paraview 3.12.0 on ubuntu 11.04.
meballav is offline   Reply With Quote

Old   October 7, 2012, 15:27
Default
  #8
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,258
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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".
wyldckat is offline   Reply With Quote

Old   October 8, 2012, 04:12
Unhappy
  #9
New Member
 
ballav
Join Date: Oct 2012
Posts: 6
Rep Power: 4
meballav is on a distinguished road
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
meballav is offline   Reply With Quote

Old   October 8, 2012, 16:41
Default
  #10
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,258
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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
Attached Images
File Type: jpg grass_sphere.jpg (40.1 KB, 12 views)
wyldckat is offline   Reply With Quote

Old   October 12, 2012, 08:07
Unhappy
  #11
New Member
 
ballav
Join Date: Oct 2012
Posts: 6
Rep Power: 4
meballav is on a distinguished road
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
meballav is offline   Reply With Quote

Old   October 12, 2012, 16:03
Default
  #12
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,258
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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
wyldckat is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Paraview ata OpenFOAM 10 August 6, 2011 03:21
Installation problem with ParaView 3.8.0 on openSUSE 11.2 aero_ OpenFOAM Paraview & paraFoam 14 August 2, 2010 18:13
Yet another Paraview problem gascortado OpenFOAM 5 February 21, 2010 07:39
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41
Problem with Colors in ParaView sven OpenFOAM Paraview & paraFoam 1 May 31, 2009 08:13


All times are GMT -4. The time now is 06:51.