CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] Paraview_data_root (https://www.cfd-online.com/Forums/paraview/75806-paraview_data_root.html)

heavy_user May 5, 2010 12:39

Paraview_data_root
 
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!

wyldckat May 6, 2010 21:26

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

heavy_user May 18, 2010 09:32

Hi Bruno,

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

regards!


Quote:

Originally Posted by wyldckat (Post 257867)
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



All times are GMT -4. The time now is 22:48.