{"id":653,"date":"2010-06-27T09:35:15","date_gmt":"2010-06-27T07:35:15","guid":{"rendered":"http:\/\/142.93.241.207\/?p=653"},"modified":"2010-07-01T23:32:52","modified_gmt":"2010-07-01T21:32:52","slug":"installing-openfoam-1-7-on-opensuse-11-3","status":"publish","type":"post","link":"https:\/\/www.albertopassalacqua.com\/?p=653","title":{"rendered":"Installing OpenFOAM 1.7 on openSUSE 11.3"},"content":{"rendered":"<p style=\"text-align: justify;\">The installations instructions for OpenFOAM 1.7.0 on openSUSE 11.3 are almost identical to those for openSUSE 11.2 reported <a href=\"https:\/\/www.albertopassalacqua.com\/?p=646\" target=\"_blank\">here<\/a>. However, one additional package is necessary. For the reader&#8217;s convenience, I report the whole procedure, highlighting in <span style=\"color: #ff6600;\">orange <\/span>the differences with the installation on openSUSE 11.2.<\/p>\n<p style=\"text-align: justify;\">The  steps of  the procedure are the following:<\/p>\n<ul style=\"text-align: justify;\">\n<li>Use YaST to install\n<ul>\n<li><a href=\"http:\/\/dl.dropbox.com\/u\/659842\/Blog\/OF\/YaSTPatterns.png\" target=\"_blank\">the C\/C++ development pattern in YaST<\/a><\/li>\n<li>cmake<\/li>\n<li>libqt4-devel (required to build paraview)<\/li>\n<li><span style=\"color: #ff6600;\">libQtWebKit-devel (required to build paraview)<\/span><\/li>\n<li>flex<\/li>\n<\/ul>\n<\/li>\n<li>Create a directory called OpenFOAM in your home directory\n<ul>\n<li>mkdir ~\/OpenFOAM<\/li>\n<\/ul>\n<\/li>\n<li>Enter the OpenFOAM directory\n<ul>\n<li>cd ~\/OpenFOAM<\/li>\n<\/ul>\n<\/li>\n<li>Download both the OpenFOAM and ThirdParty packages from <a href=\"http:\/\/openfoam.com\/download\/source.php\" target=\"_blank\">here<\/a> and save them in your ~\/OpenFOAM directory<\/li>\n<li>Extract the\u00a0OpenFOAM-1.7.0.gtgz package with the command: tar xzf  OpenFOAM-1.7.0.gtgz<\/li>\n<li>Extract the ThirdParty-1.7.0.gtgz package with the command: tar xzf  ThirdParty-1.7.0.gtgz<\/li>\n<li>Open your ~\/.bashrc file in a text editor and add the line:\n<ul>\n<li>. $HOME\/OpenFOAM\/OpenFOAM-1.7.0\/etc\/bashrc<\/li>\n<\/ul>\n<p>and source your ~\/.bashrc file with the command: source ~\/.bashrc<\/li>\n<li>Enter the OpenFOAM-1.7.0 directory with the command: cd  $FOAM_INST_DIR\/OpenFOAM-1.7.0<\/li>\n<li>Compile OpenFOAM with the command: .\/Allwmake<\/li>\n<li>Rebuild Paraview with the following commands:\n<ul>\n<li>cd $WM_THIRD_PARTY_DIR<\/li>\n<li>.\/Allclean<\/li>\n<li>.\/makeParaView<\/li>\n<\/ul>\n<\/li>\n<li>Rebuild the PV3FoamReader as follows:\n<ul>\n<li>cd $FOAM_UTILITIES\/postProcessing\/graphicsPV3FoamReader<\/li>\n<\/ul>\n<ul>\n<li>.\/Allwclean<\/li>\n<li>.\/Allwmake<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>The <a href=\"http:\/\/openfoamwiki.net\/index.php\/Contrib_Parallelized_Native_OpenFOAM_Reader_for_ParaView\" target=\"_blank\">native VTK reader<\/a> available on the <a href=\"http:\/\/openfoamwiki.net\/index.php\/Main_Page\" target=\"_blank\">OpenFOAM Wiki<\/a> can be compiled as follows:<\/p>\n<ul style=\"text-align: justify;\">\n<li>Download the SVN version of the reader, required for Paraview 3.8  (you need the svn package installed):\n<ul>\n<li>svn co  https:\/\/of-interfaces.svn.sourceforge.net\/svnroot\/of-interfaces\/trunk\/vtkPOpenFOAMReader<\/li>\n<\/ul>\n<\/li>\n<li>I will assume you saved it in  ~\/vtkPOpenFOAMReader<\/li>\n<li>Create a directory where to build the reader. For convenience I will   call it ~\/vtkReader.<\/li>\n<li>Open a terminal and enter that directory\n<ul>\n<li>cd vtkReader.<\/li>\n<\/ul>\n<\/li>\n<li>Type the command:\n<ul>\n<li>cmake ~\/vtkPOpenFOAMReader<\/li>\n<\/ul>\n<\/li>\n<li>If OpenFOAM is properly configured, the build configuration will be  written.<\/li>\n<li>In the same terminal execute the commands\n<ul>\n<li>make<\/li>\n<li>make install<\/li>\n<\/ul>\n<\/li>\n<li>Copy the file pvFoam in ~\/vtkPOpenFOAMReader into  your  ~\/OpenFOAM\/OpenFOAM-1.7.0\/bin directory, to be able to run paraview with  pvFoam, exactly as done with paraFoam.<\/li>\n<li>Note that both the temporary directories vtkReader and  vtkPOpenFOAMReader can be removed.<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">Enjoy    \ud83d\ude42<\/p>\n<p style=\"text-align: justify;\"><em>This   offering is not approved or endorsed by  OpenCFD Limited, the producer  of the OpenFOAM software  and   owner  of  the  OPENFOAM\u00ae and OpenCFD\u00ae   trade marks.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The installations instructions for OpenFOAM 1.7.0 on openSUSE 11.3 are almost identical to those for openSUSE 11.2 reported here. However, one additional package is necessary. For the reader&#8217;s convenience, I report the whole procedure, highlighting in orange the differences with the installation on openSUSE 11.2. The steps of the procedure are the following: Use YaST to install the C\/C++ development pattern in YaST cmake libqt4-devel (required to build paraview) libQtWebKit-devel (required to build paraview) flex Create a directory called OpenFOAM in your home directory mkdir ~\/OpenFOAM Enter the OpenFOAM directory cd ~\/OpenFOAM Download both the OpenFOAM and ThirdParty packages from here and save them in your ~\/OpenFOAM directory Extract the\u00a0OpenFOAM-1.7.0.gtgz package with the command: tar xzf OpenFOAM-1.7.0.gtgz Extract the ThirdParty-1.7.0.gtgz package with the command: tar xzf ThirdParty-1.7.0.gtgz Open your ~\/.bashrc file in a text editor and add the line: . $HOME\/OpenFOAM\/OpenFOAM-1.7.0\/etc\/bashrc and source your ~\/.bashrc file with the command: source ~\/.bashrc Enter the OpenFOAM-1.7.0 directory with the command: cd $FOAM_INST_DIR\/OpenFOAM-1.7.0 Compile OpenFOAM with the command: .\/Allwmake Rebuild Paraview with the following commands: cd $WM_THIRD_PARTY_DIR .\/Allclean .\/makeParaView Rebuild the PV3FoamReader as follows: cd $FOAM_UTILITIES\/postProcessing\/graphicsPV3FoamReader .\/Allwclean .\/Allwmake The native VTK reader available on the OpenFOAM Wiki can be compiled as follows: Download the SVN version of the reader, required for Paraview 3.8 (you need the svn package installed): svn co https:\/\/of-interfaces.svn.sourceforge.net\/svnroot\/of-interfaces\/trunk\/vtkPOpenFOAMReader I will assume you saved it in ~\/vtkPOpenFOAMReader Create a directory where to build the reader. For convenience I will call it ~\/vtkReader. Open a terminal and enter that directory cd vtkReader. Type the command: cmake ~\/vtkPOpenFOAMReader If OpenFOAM is properly configured, the build configuration will be written. In the same terminal execute the commands make make install Copy the file pvFoam in ~\/vtkPOpenFOAMReader into your ~\/OpenFOAM\/OpenFOAM-1.7.0\/bin directory, to be able to run paraview with pvFoam, exactly as done with paraFoam. Note that both the temporary directories vtkReader and vtkPOpenFOAMReader can be removed. Enjoy \ud83d\ude42 This offering is not approved or endorsed by OpenCFD Limited, the producer of the OpenFOAM software and owner of the OPENFOAM\u00ae and OpenCFD\u00ae trade marks.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,6],"tags":[],"class_list":["post-653","post","type-post","status-publish","format-standard","hentry","category-cfd","category-openfoam"],"_links":{"self":[{"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=\/wp\/v2\/posts\/653","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=653"}],"version-history":[{"count":15,"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=\/wp\/v2\/posts\/653\/revisions"}],"predecessor-version":[{"id":656,"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=\/wp\/v2\/posts\/653\/revisions\/656"}],"wp:attachment":[{"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=653"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=653"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}