CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] change in paraview 3.14 version (https://www.cfd-online.com/Forums/paraview/101472-change-paraview-3-14-version.html)

lakeat May 4, 2012 15:47

change in paraview 3.14 version
 
For those who want to use paraview 3.14.

please do the following if you see an error message when you are building the PV3FoamReader

Code:

cp $paraviewInstDir/CMake/generate_proxydocumentation.cmake $ParaView_DIR/lib/paraview-3.14/CMake/
cp $paraviewInstDir/CMake/smxml_to_xml.xsl $ParaView_DIR/lib/paraview-3.14/CMake/
cp $paraviewInstDir/CMake/xml_to_html.xsl $ParaView_DIR/lib/paraview-3.14/CMake/
cp $paraviewInstDir/CMake/xml_to_wiki.xsl.in $ParaView_DIR/lib/paraview-3.14/CMake/
cp $paraviewInstDir/CMake/generate_qhp.cmake $ParaView_DIR/lib/paraview-3.14/CMake/


alberto May 5, 2012 02:44

Thank you :)

nsf July 9, 2012 11:14

Hi,

I'd like to add one more file that needs to be copied. After a git pull today, compilation of the reader failed with the following message

Code:

CMake Error at CMakeLists.txt:13 (INCLUDE):
  include could not find load file:

    $ParaView_DIR/lib/paraview-3.14/CMake/ParaViewUse.cmake


CMake Error at CMakeLists.txt:42 (QT4_WRAP_CPP):
  Unknown CMake command "QT4_WRAP_CPP".

Coping the missing file like Daniels post above resolved the issue.

Code:

cp $WM_THIRD_PARTY_DIR/ParaView-3.14.1/ParaViewUse.cmake  $ParaView_DIR/lib/paraview-3.14/CMake/.
/Nicolas

caduqued July 23, 2012 16:25

Hi There,

I am just wondering... what should be modified in the ParaView 3.14.1 original configuration files to point to this development path?

Any idea? I have been trying for hours, but not luck....

Of course, just copying those files should works (indeed it does), but it would be nice to have a clean, nice and neat OF+PV compilation, without manually altering anything...

Cheers,

caduqued

nsf July 25, 2012 13:17

Hi There,

I don't know to much about the PV3FoamReader nor the internal workings of paraview but I suspect that the modification should be done in the OpenFOAM module rather than paraview it self.

Maybe you can find something if you dive in to how the PV3FoamReader is built.

Have a look in
Code:

$WM_PROJECT_DIR/applications/utilities/postProcessing/graphics/PV3Readers
Keep us posted and good luck!


All times are GMT -4. The time now is 07:18.