{"id":15411,"date":"2009-01-30T07:18:29","date_gmt":"2009-01-30T07:19:29","guid":{"rendered":"https:\/\/ocse2.com\/?p=15411"},"modified":"2009-01-31T07:22:31","modified_gmt":"2009-01-31T07:23:31","slug":"dexcs2008-openfoam-15-dev","status":"publish","type":"post","link":"https:\/\/ocse2.com\/?p=15411","title":{"rendered":"DEXCS2008-OpenFOAM-1.5-dev"},"content":{"rendered":"<p>DEXCS2008-OpenFOAM\u306f\u3001DEXCS\u672c\u5bb6\u3067\u9593\u3082\u306a\u304f\u516c\u958b\u4e88\u5b9a\u3060\u304c\u3001\u3053\u3053\u306b\u53ce\u9332\u3055\u308c\u3066\u3044\u308b\u306e\u306f\u3001OpenFOAM-1.4.1\u3002\u306a\u306e\u3067\u3001\u3053\u3061\u3089\u3067\u306f\u4e00\u8db3\u304a\u5148\u306b\u8868\u984c\u306e1.5-dev\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u30c6\u30b9\u30c8\u74b0\u5883\u3092\u4f5c\u6210\u4e2d\u3002\u305d\u306e\u88fd\u4f5c\u30e1\u30e2\u3092\u3001\u3053\u3053\u306b\u6b8b\u3057\u3066\u304a\u304f\u3053\u3068\u3068\u3057\u307e\u3057\u305f\u3002<\/p>\n<h2>DEXCS2008-OpenFOAM\u306bOpenFOAM-1.5-dev\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>\n\u306a\u304a\u30011\u670815\u65e5\u4ed8\u3051\u306e\u8a18\u4e8b\uff08\u3059\u3067\u306bOpenFOAM-1.5\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3042\u308b\u30de\u30b7\u30f3\u306b1.5-dev\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u6642\u306e\u8a18\u9332\uff09\u306b\u52a0\u3048\u3066\u3001\u66f4\u306b\u5fc5\u8981\u3067\u3042\u3063\u305f\u5909\u66f4\u70b9\u306e\u307f\u3092\u8a18\u3057\u3066\u304a\u304d\u307e\u3059\u3002<br \/>\n-\u8ffd\u52a0\u3057\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\uff08Synaptic\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u3092\u4f7f\u3063\u305f\uff09<br \/>\n&nbsp;libmpfr-dev<br \/>\n&nbsp;flex<br \/>\n&nbsp;zlib1g-dev<br \/>\n&nbsp;libqt4-dev<br \/>\n&nbsp;python-dev<br \/>\n-\u4f55\u6545\u304b\u3001openmpi\u95a2\u9023\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u6240\u5b9a\u306e\u5834\u6240\u306b\u51fa\u6765\u3066\u304f\u308c\u306a\u304b\u3063\u305f\u306e\u3067\u3002\u3002\u3002<br \/>\n&nbsp;ln -s openmpi-1.2.6\/libparmetis.so libparmetis.so \u306a\u3069<br \/>\n-\u305d\u306e\u4ed6\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u306e\u30f4\u30a1\u30fc\u30b8\u30e7\u30f3\u554f\u984c\u5bfe\u5fdc<br \/>\n&nbsp;sudo ln -s \/lib\/libhistory.so.5.2 \/lib\/libhistory.so<br \/>\n&nbsp;sudo ln -s \/lib\/libreadline.so.5.2 \/lib\/libreadline.so<\/p>\n<h2>\u51fa\u6765\u4e0a\u304c\u3063\u305fOpenFOAM-1.5-dev\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u56fa\u3081\u308b<\/h2>\n<p>\u3053\u3053\u306f\u3001GUI\u30c4\u30fc\u30eb\u3067\u306a\u304f\u3001tar\u30b3\u30de\u30f3\u30c9\u306e\u76f4\u6253\u3061\u3067\u3084\u308b\u3002<br \/>\n-$HOME\/OpenFOAM\u306b\u3066\u3001<br \/>\n&nbsp;tar czvf OpenFOAM-1.5-dev.tgz OpenFOAM-1.5-dev<br \/>\n&nbsp;tar czvf ThirdParty.tgz ThirdParty<br \/>\n-\u51fa\u6765\u4e0a\u304c\u3063\u305f\u30d5\u30a1\u30a4\u30eb\u306f\u3001USB\u30e1\u30e2\u30ea\u30fc\u306a\u308a\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30c9\u30e9\u30a4\u30d6\u306a\u308a\u3001\u5225\u306e\u30c7\u30d0\u30a4\u30b9\u306b\u79fb\u52d5\uff08\u307e\u305f\u306f\u30b3\u30d4\u30fc\uff09\u3057\u3066\u304a\u304f<\/p>\n<h2>DEXCS2008-OpenFOAM-1.5-dev\u306eVM\u30a4\u30e1\u30fc\u30b8\u306e\u4f5c\u6210<\/h2>\n<p>\u3053\u3053\u306f\u3001[[DEXCS2008-OpenFOAM\u306e\u88fd\u4f5c\u30e1\u30e2(2):http:\/\/mogura7.zenno.info\/~et\/xoops\/modules\/wordpress\/index.php?p=141]]\u306b\u8a18\u3057\u305f\u65b9\u6cd5\u3067\u3084\u3063\u3066\u307e\u3059<br \/>\n-\u8ffd\u52a0\u3057\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\uff08apt-get\u3092\u4f7f\u7528\uff09<br \/>\n&nbsp;libmpfr-dev<br \/>\n&nbsp;flex<br \/>\n&nbsp;zlib1g-dev<br \/>\n&nbsp;libqt4-dev<br \/>\n&nbsp;python-dev<br \/>\n\u5168\u90e8\u5fc5\u8981\u3060\u3063\u305f\u304b\u3069\u3046\u304b\u306f\u4e0d\u660e\u3002<br \/>\n-\u8ffd\u52a0\uff08\u30d5\u30a1\u30a4\u30eb\u30b3\u30d4\u30fc\uff09\u3057\u305f\u30e2\u30b8\u30e5\u30fc\u30eb<br \/>\n&#8211;OpenFOAM-1.5-dev(&rArr;\/mnt\/disk\/usr\/local\/OpenFOAM)<br \/>\n&nbsp;tar czvf OpenFOAM-1.5-dev.tgz OpenFOAM-1.5-dev<br \/>\n&nbsp;tar czvf ThirdParty.tgz ThirdParty<br \/>\n&nbsp;chown -R root.root OpenFOAM-1.5-dev<br \/>\n&nbsp;chown -R root.root ThirdParty<br \/>\n&nbsp;chmod 755 -R OpenFOAM-1.5-dev<br \/>\n&nbsp;chmod 755 -R ThirdParty<br \/>\n&#8211;blender\u30b9\u30af\u30ea\u30d7\u30c8\uff08blockMeshDict\u751f\u6210\u30c4\u30fc\u30eb\uff09\u306e\u8ffd\u52a0~<br \/>\n&rArr;[[<a href=\"http:\/\/mogura7.zenno.info\/~et\/xoops\/modules\/wordpress\/index.php?p=149\" target=\"_blank\">Tool: Block generation with blender:<\/a>]]\u306e\u8a18\u4e8b\u304b\u3089\u305f\u3069\u3063\u3066\u30b2\u30c3\u30c8\u3057\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u3001\/mnt\/disk\/usr\/lib\/blender\/scripts \u306e\u4e0b\u306b\u5165\u308c\u3066\u304a\u304d\u307e\u3059<br \/>\n-\u7d30\u90e8\u624b\u76f4\u3057<br \/>\n&#8211;\/mnt\/disk\/usr\/local\/OpenFOAMOpenFOAM-1.5-dev\/etc\/bashrc \u306e\u4e00\u90e8\u5909\u66f4<br \/>\n&nbsp;# Location of FOAM installation<br \/>\n&nbsp;# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br \/>\n&nbsp;# foamInstall=$HOME\/$WM_PROJECT &nbsp; &nbsp;<br \/>\n&nbsp;# foamInstall=~$WM_PROJECT<br \/>\n&nbsp;foamInstall=\/usr\/local\/$WM_PROJECT<br \/>\n&nbsp;# foamInstall=\/opt\/$WM_PROJECT<\/p>\n<p>&#8211;\u30e9\u30f3\u30c1\u30e3\u30fc\u30b9\u30af\u30ea\u30d7\u30c8(\/mnt\/disk\/usr\/local\/OpenFOAM\/launcher\/simple-launcher-OpenFOAM.py)\u306e\u5909\u66f4~<br \/>\n\uff08\u30e9\u30f3\u30c1\u30e3\u30fc\u304b\u3089OpenFOAM-1.5-dev\u3092\u8d77\u52d5\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b~<br \/>\nL.48<br \/>\n&nbsp;menu5.Append(502, u&quot;\\u30bf\\u30fc\\u30df\\u30ca\\u30eb(OF-1.4.1)&quot;)<br \/>\n&nbsp;menu5.Append(5021, u&quot;\\u30bf\\u30fc\\u30df\\u30ca\\u30eb(OF-1.5-dev)&quot;)<br \/>\nL.101<br \/>\n&nbsp;self.Bind(wx.EVT_MENU, self.Terminal, id=502)<br \/>\n&nbsp;self.Bind(wx.EVT_MENU, self.Terminal1, id=5021)<br \/>\nL.177<br \/>\n&nbsp;def Terminal1(self, event):<br \/>\n&nbsp; &nbsp;try :<br \/>\n&nbsp; &nbsp; &nbsp;os.system(&quot;gnome-terminal -e &#39;\/bin\/bash &#8211;rcfile \/usr\/local\/OpenFOAM\/OpenFOAM-1.5-dev\/etc\/bashrc&#39; &amp;&quot;)<br \/>\n&nbsp; &nbsp;except :<br \/>\n&nbsp; &nbsp; &nbsp;self.ErrorDialog(u&quot;\\u30bf\\u30fc\\u30df\\u30ca\\u30eb\\u304c\\u8d77\\u52d5\\u3067\\u304d\\u307e\\u305b\\u3093&quot;)<br \/>\n&nbsp; &nbsp; &nbsp;return False<\/p>\n<p>-VM\u30a4\u30e1\u30fc\u30b8\u306e\u30c1\u30a7\u30c3\u30af\u30c7\u30a3\u30b9\u30af\u3068\u30a4\u30e1\u30fc\u30b8\u5727\u7e2e~<br \/>\n&rArr;[[<a href=\"http:\/\/mogura7.zenno.info\/~et\/xoops\/modules\/wordpress\/index.php?p=145\" target=\"_blank\">DEXCS2008-OpenFOAM\u306e\u88fd\u4f5c\u30e1\u30e2(3):<\/a>]]\u306e\u8a18\u4e8b\u53c2\u7167<\/p>\n<h2>\n\u51fa\u6765\u4e0a\u304c\u3063\u305f\u30a4\u30e1\u30fc\u30b8\u30d5\u30a1\u30a4\u30eb\u306e\u5727\u7e2e<\/h2>\n<p>&rArr;\u5168\u90e8\u3067\u30012.07GB\u3068\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DEXCS2008-OpenFOAM\u306f\u3001DEXCS\u672c\u5bb6\u3067\u9593\u3082\u306a\u304f\u516c\u958b\u4e88\u5b9a\u3060\u304c\u3001\u3053\u3053\u306b\u53ce\u9332\u3055\u308c\u3066\u3044\u308b\u306e\u306f\u3001OpenFOAM-1.4.1\u3002\u306a\u306e\u3067\u3001\u3053\u3061\u3089\u3067\u306f\u4e00\u8db3\u304a\u5148\u306b\u8868\u984c\u306e1.5-dev\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u30c6\u30b9\u30c8\u74b0\u5883\u3092\u4f5c\u6210\u4e2d\u3002 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[],"tags":[],"class_list":["post-15411","post","type-post","status-publish","format-standard","hentry"],"views":64,"_links":{"self":[{"href":"https:\/\/ocse2.com\/index.php?rest_route=\/wp\/v2\/posts\/15411","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ocse2.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ocse2.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ocse2.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ocse2.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=15411"}],"version-history":[{"count":0,"href":"https:\/\/ocse2.com\/index.php?rest_route=\/wp\/v2\/posts\/15411\/revisions"}],"wp:attachment":[{"href":"https:\/\/ocse2.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15411"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ocse2.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15411"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ocse2.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}