IO errorについて

399 views
Skip to first unread message

sahotatsu

unread,
Mar 30, 2013, 6:55:46 PM3/30/13
to open...@googlegroups.com
初めまして。
sahotatsuと申します。

simpleFoamを用いて管内流れの計算を行っています。
そこで、最近になってsimpleFoamを実行した際にIO errorが出るようになりました。
以前は問題なく実行できていたのですが・・・。

その時のterminalの表示です。

−−−−−−−−−−−−−−−−−−−−−−−−−

Create time


Create mesh for time = 0


--> FOAM Warning :

From function entry::getKeyword(keyType&, Istream&)

in file db/dictionary/entry/entryIO.C at line 78

Reading /home/sahotatsu/Desktop/aaa/constant/polyMesh/boundary

found on line 53 the punctuation token ')'

expected either } or EOF



--> FOAM FATAL IO ERROR:

Expected a ')' or a '}' while reading PtrList, found on line 53 an error


file: /home/sahotatsu/Desktop/aaa/constant/polyMesh/boundary at line 53.


From function Istream::readEndList(const char*)

in file db/IOstreams/IOstreams/Istream.C at line 159.


FOAM exiting 

−−−−−−−−−−−−−−−−−−−−−−−−−−−

boundaryファイル内の最後の“)”、“}”が問題ですよ、と返しているようなのですが、チェックしても特に問題は無いように思います。

添付しているファイルをご参照下さい。

以前は普通通りに解析できていたのですが、最近になってerrorを返すようになった、というのもどうにも解せません。


非常に初歩的な質問で申し訳ないのですが、問題解決の方法をご教授頂ければ幸いです。


boundary.txt

すもも

unread,
Mar 30, 2013, 11:11:23 PM3/30/13
to open...@googlegroups.com
こんにちは。

ぱっと見た感じですが、
指定している境界の数と実際の境界の数が合っていないように見えます。
以下の部分。

7(
...

数字はなくても大丈夫だったと思いますので、数字を消してみては?

sahotatsu

unread,
Mar 31, 2013, 2:26:53 AM3/31/13
to open...@googlegroups.com
sahotatsuです。

すもも様。

こんにちは。
ありがとうございます。
まさにご指摘の通りでした。
こんな初歩的な事に気づかないとは・・・。
お恥ずかしい限りです。


2013年3月31日日曜日 12時11分23秒 UTC+9 すもも:
Reply all
Reply to author
Forward
0 new messages