CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

Paraview_data_root

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 5, 2010, 12:39
Default Paraview_data_root
  #1
Senior Member
 
Join Date: Dec 2009
Posts: 112
Rep Power: 9
heavy_user is on a distinguished road
Hey There,

i would like to post process things with ParaFoam.

Unfortunately I figuered that my "python shell is not available" klicking on tools->pythonshell. I found that i could set "PARAVIEW_ENABLE_PYTHON" to true before compiling, but where?

So I tried to use html for tools->record test.
But when I reuse the script he complains that I did not save the screen shots in "PARAVIEW_DATA_ROOT". But where can I find "PARAVIEW_DATA_ROOT" or define it if it is not available?

Thx & regards!

Last edited by heavy_user; May 6, 2010 at 04:33.
heavy_user is offline   Reply With Quote

Old   May 6, 2010, 21:26
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,748
Blog Entries: 39
Rep Power: 103
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Greetings heavy_user,

OK, it's as simple as pie... well, sort of. In the folder ThirdParty-1.6 you have a script named makeParaView and a link named makeParaView-python. Now, if you follow the instructions for building Paraview in OpenFOAM's README, but if instead of running:
Code:
./makeParaView
You run:
Code:
./makeParaView-python
At the end of the building process (and assuming all goes well), you will now have python scripting in Paraview

But don't forget to install python, before re-building Paraview!!

And hopefully, the rebuild process will fix the problem you've had with:
Quote:
So I tried to use html for tools->record test.
But when I reuse the script he complains that I did not save the screen shots in "PARAVIEW_DATA_ROOT".
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   May 18, 2010, 09:32
Default
  #3
Senior Member
 
Join Date: Dec 2009
Posts: 112
Rep Power: 9
heavy_user is on a distinguished road
Hi Bruno,

thanks a lot!!
It was that easy !!
(i have looked at some places, but NOT there )

regards!


Quote:
Originally Posted by wyldckat View Post
Greetings heavy_user,

OK, it's as simple as pie... well, sort of. In the folder ThirdParty-1.6 you have a script named makeParaView and a link named makeParaView-python. Now, if you follow the instructions for building Paraview in OpenFOAM's README, but if instead of running:
Code:
./makeParaView
You run:
Code:
./makeParaView-python
At the end of the building process (and assuming all goes well), you will now have python scripting in Paraview

But don't forget to install python, before re-building Paraview!!

And hopefully, the rebuild process will fix the problem you've had with:Best regards,
Bruno
heavy_user 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



All times are GMT -4. The time now is 17:16.