{"id":260,"date":"2008-12-27T19:41:10","date_gmt":"2008-12-27T17:41:10","guid":{"rendered":"http:\/\/142.93.241.207\/?p=260"},"modified":"2009-11-26T07:21:33","modified_gmt":"2009-11-26T05:21:33","slug":"installing-openfoam-15x-on-opensuse-111","status":"publish","type":"post","link":"https:\/\/www.albertopassalacqua.com\/?p=260","title":{"rendered":"Installing OpenFOAM 1.5.x on OpenSUSE 11.1"},"content":{"rendered":"<p>I have recently installed OpenFOAM 1.5.x following the procedure I explained in <a href=\"https:\/\/www.albertopassalacqua.com\/?p=112\" target=\"_blank\">this post<\/a> some time ago. With OpenSUSE 11.1, paraview and paraFOAM work properly after being recompiled following these simple instructions:<\/p>\n<ul>\n<li>Install OpenSUSE 11.1, which can be downloaded from <a href=\"http:\/\/software.opensuse.org\/\" target=\"_blank\">here<\/a>.<\/li>\n<li>Install qt4-devel: as root, type zypper in libqt4-devel<\/li>\n<li> Download OpenFOAM 1.5 from git repository (See <a href=\"https:\/\/www.albertopassalacqua.com\/?p=112\" target=\"_blank\">here<\/a>)<\/li>\n<li>Download the third-party packages from <a href=\"http:\/\/www.opencfd.co.uk\/openfoam\/download.html#download\">OpenCFD<\/a> site<\/li>\n<li> Source the bash configuration file for OpenFOAM, as usual.<\/li>\n<li> Edit ~\/OpenFOAM\/ThirdParty\/ParaView3.3-cvs\/CMakeLists.txt and comment out the line:<\/li>\n<\/ul>\n<p style=\"padding-left: 60px;\">MESSAGE(SEND_ERROR \u201cQt ${QTVERSION} not supported.  Please use Qt 4.3 (you may need to clean your dirtied cache).\u201d)<\/p>\n<ul>\n<li>Compile paraview and its reader following the instructions provided in OpenFOAM 1.5.x README file:\n<ul>\n<li><span style=\"font-size: small;\"><span style=\"font-family: Verdana,Arial,Helvetica;\">cd $FOAM_INST_DIR\/ThirdParty<\/span><\/span><\/li>\n<li><span style=\"font-size: small;\"><span style=\"font-family: Verdana,Arial,Helvetica;\">rm -rf ParaView3.3-cvs\/platforms<\/span><\/span><\/li>\n<li><span style=\"font-size: small;\"><span style=\"font-family: Verdana,Arial,Helvetica;\">buildParaView3.3-cvs<\/span><\/span><\/li>\n<li><\/li>\n<li><span style=\"font-size: small;\"><span style=\"font-family: Verdana,Arial,Helvetica;\">cd $FOAM_UTILITIES\/postProcessing\/graphics\/PV3FoamReader<\/span><\/span><\/li>\n<li><span style=\"font-size: small;\"><span style=\"font-family: Verdana,Arial,Helvetica;\">.\/Allwclean<\/span><\/span><\/li>\n<li><span style=\"font-size: small;\"><span style=\"font-family: Verdana,Arial,Helvetica;\">.\/Allwmake<\/span><\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li>Compile OpenFOAM 1.5 with .\/Allwmake in its main directory<\/li>\n<\/ul>\n<p>Enjoy \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have recently installed OpenFOAM 1.5.x following the procedure I explained in this post some time ago. With OpenSUSE 11.1, paraview and paraFOAM work properly after being recompiled following these simple instructions: Install OpenSUSE 11.1, which can be downloaded from here. Install qt4-devel: as root, type zypper in libqt4-devel Download OpenFOAM 1.5 from git repository (See here) Download the third-party packages from OpenCFD site Source the bash configuration file for OpenFOAM, as usual. Edit ~\/OpenFOAM\/ThirdParty\/ParaView3.3-cvs\/CMakeLists.txt and comment out the line: MESSAGE(SEND_ERROR \u201cQt ${QTVERSION} not supported. Please use Qt 4.3 (you may need to clean your dirtied cache).\u201d) Compile paraview and its reader following the instructions provided in OpenFOAM 1.5.x README file: cd $FOAM_INST_DIR\/ThirdParty rm -rf ParaView3.3-cvs\/platforms buildParaView3.3-cvs cd $FOAM_UTILITIES\/postProcessing\/graphics\/PV3FoamReader .\/Allwclean .\/Allwmake Compile OpenFOAM 1.5 with .\/Allwmake in its main directory Enjoy \ud83d\ude42<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[117],"class_list":["post-260","post","type-post","status-publish","format-standard","hentry","category-openfoam","tag-openfoam"],"_links":{"self":[{"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=\/wp\/v2\/posts\/260","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=260"}],"version-history":[{"count":9,"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=\/wp\/v2\/posts\/260\/revisions"}],"predecessor-version":[{"id":521,"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=\/wp\/v2\/posts\/260\/revisions\/521"}],"wp:attachment":[{"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=260"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=260"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.albertopassalacqua.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=260"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}