<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
   <channel>
      <title>独習！LinuxでOpenFOAMとC++</title>
      <link>http://zhongtian-sh.com/</link>
      <description>LinuxもCFDもC++も初心者。一歩ずつ前進しながら解析屋を目指す！linuxにOpenFOAMをインストールして”まずはやってみよう！”の姿勢でC++も学んでみます。インターネットをフルに使い、時間をかけてお金を出さない勉強を試みます。</description>
      <language>ja</language>
      <copyright>Copyright 2006</copyright>
      <lastBuildDate>Tue, 12 Sep 2006 19:44:32 +0900</lastBuildDate>
      <generator>http://www.sixapart.com/movabletype/?v=3.2-ja-2</generator>
      <docs>http://blogs.law.harvard.edu/tech/rss</docs> 

            <item>
         <title>C++の存在を忘れてはならない</title>
         <description>LinuxとOpenFOAMとC++を独習すると決めてから、C++だけは何も手を付けていなかったのです。

Linux上でOpenFOAMの作動を確認してからでも、と考えていましたが、上手くいかず、リフレッシュしたい気持ちに。

ということで、「C++」をキーワードにネットサーフィンを展開。

参考になるページを多数発見。
やっぱりインターネットは宝の山じゃ！
</description>
         <link>http://zhongtian-sh.com/2006/09/c.html</link>
         <guid>http://zhongtian-sh.com/2006/09/c.html</guid>
         <category>300C++</category>
         <pubDate>Tue, 12 Sep 2006 19:44:32 +0900</pubDate>
      </item>
            <item>
         <title>TurboLinuxにglibc_2.3.4は？</title>
         <description>詳しくはわからないのですが、glibc_2.3.4が見当たらない・・・。
OpenFOAM1.3を動かしたい。ので、必要なよう。

OpenFOAM1.3の記事を読んでいると同じような問題に遭っている方がチラホラ。
Plateformが違うので何とも言えませんが、アドバイスの中には、Plateformが動かなくなるよ。などが書かれていました。少しビビってます。

どうしよう。どうすればよいのだ？？？？

と、独りで悩んでいてもしょうがない。
前進あるのみ。
</description>
         <link>http://zhongtian-sh.com/2006/09/turbolinuxglibc_234.html</link>
         <guid>http://zhongtian-sh.com/2006/09/turbolinuxglibc_234.html</guid>
         <category>001Linux</category>
         <pubDate>Tue, 12 Sep 2006 19:38:00 +0900</pubDate>
      </item>
            <item>
         <title>chmod ディレクトリ、ファイルのアクセス権を変更する</title>
         <description> 【chmod】
ディレクトリ（Windowsになれている方は「フォルダ」と呼びますね）、ファイルのアクセス権（Windowsだと読み取り専用ファイルであったり、フォルダをダブルクリックするとアクセス権がありませんなどと表示がでたり、と、制限がついているフォルダやファイルがあったりしますね。それと同じです。）を変更する。</description>
         <link>http://zhongtian-sh.com/2006/09/chmod.html</link>
         <guid>http://zhongtian-sh.com/2006/09/chmod.html</guid>
         <category>001Linuxコマンド覚書</category>
         <pubDate>Sun, 10 Sep 2006 10:04:29 +0900</pubDate>
      </item>
            <item>
         <title>FoamXで問題が</title>
         <description>インストール作業は順調に進んで、意気揚々とUsersGuideを読んでいました。

第2章と第5章に何やらサーバープログラムを起動しておかないとダメなようなことが書いてあり、ううう・・・。

気になるのでFoamXを実行。
nsd　error　が・・・。

ホスト名を設定し、色々試すと今度は、
glibc_2.3.4　が　not Found　と・・・。

glibc_2.3.4　は　インストールしたTurbolinuxにはないことが判明。rpmから引っ張ってこようとしたら、OSが動かない可能性があるという記事を発見。

ちょっとまった！

さて、どうしようか・・・。Fedora Core 3あたりに乗り換えようか？？？

今日は「・・・」が多い日でした。
楽しまなくては！


</description>
         <link>http://zhongtian-sh.com/2006/09/foamx.html</link>
         <guid>http://zhongtian-sh.com/2006/09/foamx.html</guid>
         <category>100OpenFOAM</category>
         <pubDate>Fri, 08 Sep 2006 09:37:27 +0900</pubDate>
      </item>
            <item>
         <title>可視化のオープンソースParaView</title>
         <description><![CDATA[OpenFOAMにParaViewが何たら、と書いてありました。

可視化ソフトのようです。

<a href="http://www.paraview.org/" target="_blank">ParaView</a>

]]></description>
         <link>http://zhongtian-sh.com/2006/09/paraview.html</link>
         <guid>http://zhongtian-sh.com/2006/09/paraview.html</guid>
         <category>200ParaView</category>
         <pubDate>Mon, 04 Sep 2006 18:31:48 +0900</pubDate>
      </item>
            <item>
         <title>あっという間に終わってしまったRally JAPAN</title>
         <description>Rally JAPAN楽しかったぁ～。

え？結果？聞かないで下さい。

2年振りのラリーでしたが、何とかFinish出来ました。

ご声援ありがとうございました。</description>
         <link>http://zhongtian-sh.com/2006/09/rally_japan.html</link>
         <guid>http://zhongtian-sh.com/2006/09/rally_japan.html</guid>
         <category>888Diary</category>
         <pubDate>Sun, 03 Sep 2006 18:24:36 +0900</pubDate>
      </item>
            <item>
         <title>もうちょっとでWRC JAPANだ！</title>
         <description><![CDATA[WRCってご存知ですか？
World Rally Championshipの略です。
日本語では、世界ラリー選手権と呼ばれています。

この選手権が9月1日から3日にかけて、北海道で
開催されます。

2004年は出場しました。
2005年は仕事が忙しくて出場できず・・・。
今年、2006年は急遽出場が決定。

ということで、
<a href="http://www.rallyjapan.jp" target="_blank">ラリージャパン</a>
をご覧下さい！


]]></description>
         <link>http://zhongtian-sh.com/2006/08/wrc_japan.html</link>
         <guid>http://zhongtian-sh.com/2006/08/wrc_japan.html</guid>
         <category>888Diary</category>
         <pubDate>Thu, 31 Aug 2006 18:17:26 +0900</pubDate>
      </item>
            <item>
         <title>OpenFOAMのインストールその２</title>
         <description><![CDATA[その２です。

はじめに、derjamesさん本当にありがとうございます。
<a href="http://www.ubuntuforums.org/archive/index.php/t-156298.html" target="_balnk">http://www.ubuntuforums.org/archive/index.php/t-156298.html</a>

では、いきます。

<strong>11 * now look for foamSystemCheck
which is located at

~/OpenFOAM/OpenFOAM-1.3/bin</strong>
→コンソール(シェル)にて、上記のディレクトリに移動
コマンド [$ cd /home/akio/OpenFOAM/OpenFOAM-1.3/bin]

<strong>this is a shell script that we have to execute, however we need to change it to an executable format

type

chmod -v 555 foamSystemCheck

press enter, </strong>

→コマンド [$ chmod -v 555 foamSystemCheck]をEnter keyで実行

<strong>then type

export PATH=$PATH:~/OpenFOAM/OpenFOAM-1.3/bin/

press enter, 
</strong>
→コマンド [$ export PATH=$PATH:home/akio/OpenFOAM/OpenFOAM-1.3/bin/
]をEnter keyで実行

<strong>then type

foamSystemCheck

press enter
</strong>
→コマンド [$ foamSystemCheck]をEnter Keyにて実行

<strong>At this time, the shell script will call some functions to check if your system comply with the minimum requirements for the installation, Host, username, Linux version, and Network conectivity, however at the end of the process some error occur, just ignore any warning or fatal error about ssh or rsh, this is not needed for the stand alone installation (It doesn't matter what it tells you, just ignore it!!!)

type

chmod -v 755 foamSystemCheck

press enter</strong>

→お教えの通り問題が出ているらしいメッセージが表示されましたが、お教えの通り無視しました。そして、
コマンド [$ chmod -v 755 foamSystemCheck]を実行


<strong>12 * * * * * *
Now you have to set the environment variables for a correct file access

The environment variable settings are stored in
~/OpenFOAM/OpenFOAM-1.3/.OpenFOAM-1.3
</strong>

→ コマンド [S cd /home/akio/OpenFOAM/OpenFOAM-1.3/.OpenFOAM-1.3]

<strong>since I am using the default options in UBUNTU, my shell is BASH and my text editor is gedit, you can use VIM as well</strong>

→ 私がインストールできたTurbolinuxには、geditというeditorは見付からず、keditが存在したので、keditを使うことに。

<strong>type

echo $SHELL

(if you are not sure which shell you are using)</strong>

→ コマンド [$ echo $SHELL]

<strong>now type

gedit ~/.bashrc &</strong>

→ コマンド [$ kedit ~/.bashrc &]

<strong>once in gedit type

. ~/OpenFOAM/OpenFOAM-1.3/.OpenFOAM-1.3/bashrc

N.B. it is dot, space~/.......
select file>save
and then file>quit
</strong>

→開かれたkedit内(私はわけもわからず一番最後の行)に
. /home/akio/OpenFOAM/OpenFOAM-1.3/.OpenFOAM-1.3/bashrc
をたたき、保存してシェルのWindowに移りました。

<strong>now update the environment typing

. ~/.bashrc
N.B. it is dot space ~/.......</strong>

→ コマンド [$ . /home/akio/.bashrc]

<strong>the environment variables are updated, you can see this if you type

echo $PATH</strong>

→ コマンド [$ echo $PATH]

<strong>
We are almost done!!,</strong>
私もDoneでございます！！

<strong>13 **** Now test the installation

look for foamInstallationTest

it is located at

~/OpenFOAM/OpenFOAM-1.3/bin

in the same way this file is a shell script

type

chmod -v 555 foamInstallationTest

press enter</strong>

→ コマンド [$ cd ~/OpenFOAM/OpenFOAM-1.3/bin]
続いて、
コマンド [$ chmod -v 555 foamInstallationTest]

<strong>in this case you don't need to export the path, since you have already done it...

now type

foamInstallationTest

press enter</strong>

→コマンド [$ foamInstallationTest]

<strong>here the shell scrip verifies every directory and assigns to each of them an environment variable (PATH), also this takes a bit of time. However you will see an error at the end of the process, something like this:

test_rsh unsuccessful_conection_refused*
test_ssh unsuccessful_conection_refused*

FATAL: No remote shell available (blah, blah, blah, blah, etc....)</strong>

→確かに上記のメッセージを確認しました！

<strong>It is very simple: who cares, just ignore it.....

And it's done!!!!!!!</strong>

→ おおおおお！感動！

<strong>Now open

~/OpenFOAM/OpenFOAM-1.3/doc/Guides-a4</strong>

→ X windowにて
/home/akio/OpenFOAM/OpenFOAM-1.3/doc/Guides-a4
にアクセス

<strong>you will find there some PDFs with tutorials and very useful examples....

Well that's all, I hope this helps, please have fun and be safe</strong>

やりました！PDFのデータも発見！

これって、インストストールできたってことでしょうか？

さて、これからが大変です。

挑戦！！！

derjamesさん、感謝感謝です！
]]></description>
         <link>http://zhongtian-sh.com/2006/08/openfoam_3.html</link>
         <guid>http://zhongtian-sh.com/2006/08/openfoam_3.html</guid>
         <category>100OpenFOAM</category>
         <pubDate>Mon, 21 Aug 2006 01:33:54 +0900</pubDate>
      </item>
            <item>
         <title>OpenFOAM Wiki を発見！</title>
         <description><![CDATA[OpenFOAM Wikiなるものを発見した。

ナビゲーション性が良く、構成も私好み。
これは掘り出し物だな。勉強させていただきます！

<a href="http://gcdw05.unileoben.ac.at/non_cdl/OpenFOAMWiki/index.php/Main_Page#About_OpenFOAM" target="_blank">Open FOAM Wiki</a>]]></description>
         <link>http://zhongtian-sh.com/2006/08/openfoam_wiki.html</link>
         <guid>http://zhongtian-sh.com/2006/08/openfoam_wiki.html</guid>
         <category>100OpenFOAM</category>
         <pubDate>Mon, 21 Aug 2006 01:28:07 +0900</pubDate>
      </item>
            <item>
         <title>OpenFOAMのインストールその１</title>
         <description><![CDATA[derjamesさん、ありがとうございます！

derjamesさんの文章を引用し、私が行ったインストール作業を日本語で書きます。

<strong>2 * * * * * * * * * * * * *
Enter to OpenFOAM web page

<a href="http://www.openfoam.org" target="_blank">http://www.openfoam.org</a>
or
<a href="http://www.opencfd.co.uk" target="_blank">http://www.opencfd.co.uk</a></strong>

→<a href="http://www.opencfd.co.uk" target="_blank">http://www.opencfd.co.uk</a>からダウンロード決行！]]></description>
         <link>http://zhongtian-sh.com/2006/08/openfoam_2.html</link>
         <guid>http://zhongtian-sh.com/2006/08/openfoam_2.html</guid>
         <category>100OpenFOAM</category>
         <pubDate>Fri, 18 Aug 2006 16:47:58 +0900</pubDate>
      </item>
            <item>
         <title>OpenFOAMのインストールってどうやるんだ？</title>
         <description><![CDATA[まずは日本語のHPを探す。
どこにもない・・・。

インストールの方法がわからない・・・。
英語のページを探そう！

あった！素敵！

<a href="http://www.ubuntuforums.org/archive/index.php/t-156298.html" target="_blank">http://www.ubuntuforums.org/archive/index.php/t-156298.html</a>

お教えの通り即実行！！！]]></description>
         <link>http://zhongtian-sh.com/2006/08/openfoam_1.html</link>
         <guid>http://zhongtian-sh.com/2006/08/openfoam_1.html</guid>
         <category>100OpenFOAM</category>
         <pubDate>Fri, 18 Aug 2006 16:42:20 +0900</pubDate>
      </item>
            <item>
         <title>OpenFOAMを探す！</title>
         <description>http://www.opencfd.co.uk/
にありました！

</description>
         <link>http://zhongtian-sh.com/2006/08/openfoam.html</link>
         <guid>http://zhongtian-sh.com/2006/08/openfoam.html</guid>
         <category>100OpenFOAM</category>
         <pubDate>Fri, 18 Aug 2006 16:33:49 +0900</pubDate>
      </item>
            <item>
         <title>できた！Turbolinuxのインストール！</title>
         <description>他のPCに付いていたCD-ROMデバイスを取り付けて
CDからBoot。

順調じゃ。さ～て問題の「インストールイメージの転送」が
始まるぞ！おおおお！

できた。できた！

何とも・・・。
理由は定かではないが、DVD-ROMデバイスをやめて、
CD-ROMデバイスに変更したら上手く行った。

今日は寝る。</description>
         <link>http://zhongtian-sh.com/2006/08/turbolinux_3.html</link>
         <guid>http://zhongtian-sh.com/2006/08/turbolinux_3.html</guid>
         <category>001Linux</category>
         <pubDate>Thu, 17 Aug 2006 23:26:25 +0900</pubDate>
      </item>
            <item>
         <title>Turbolinuxのインストールができない</title>
         <description>悩む。何度やっても、ダメじゃ。
何故だ？パーティションの設定はおかしくない。

もしかして、デバイスか？
HDDか？CD-ROMか？
それとも・・・・、インストールCDがまずいのか？それは無いだろう・・・。

HDDを買う金など無い。まずは他のPCからCD-ROMを外して付けてみようっと。</description>
         <link>http://zhongtian-sh.com/2006/08/turbolinux_2.html</link>
         <guid>http://zhongtian-sh.com/2006/08/turbolinux_2.html</guid>
         <category>001Linux</category>
         <pubDate>Thu, 17 Aug 2006 21:19:47 +0900</pubDate>
      </item>
            <item>
         <title>Turbolinuxのインストール作業</title>
         <description>インストールするマシンは中国で生活していたときに購入した
Heady社のPC。

スペックは、
Pentium4
HDD　75G
Memory　256MB
WindowsXP中国語版インストール済み（本物）

Win機は数台所有しているので思い切ってlinux専用機にすることに。

BIOSの設定をしてCDからBoot。
説明書に従ってインストール作業を行う。
以前Turbo,Vine,RedHatのインストールで挫折した経験があったので
今回はじっくり取り組もうと決めていた。

案の定？
順調にインストールは進んでいたが、最後の最後に・・・・。
「インストールイメージが転送できません・・・・」のメッセージが・・・。

やっぱりだめか？パーティションの設定がおかしいのか？
なぜだ～～～！？</description>
         <link>http://zhongtian-sh.com/2006/08/turbolinux_1.html</link>
         <guid>http://zhongtian-sh.com/2006/08/turbolinux_1.html</guid>
         <category>001Linux</category>
         <pubDate>Thu, 17 Aug 2006 16:08:54 +0900</pubDate>
      </item>
      
   </channel>
</rss>
