fluentMeshToFoamに関するエラーについて

804 views
Skip to first unread message

shinji

unread,
Jul 20, 2012, 1:38:29 AM7/20/12
to open...@googlegroups.com
お世話になっております、shinjiと申します。
現在gridgenよりFLUENT形式で保存した2つのデータを、
fluentMeshToFoamコマンドで変換しようとした際に、
以下のエラーが出て困っています。

一つ目がこちらです。

Create time

--> FOAM Warning :
    From function Time::readDict()
    in file db/Time/TimeIO.C at line 152
    unsupported time format gmaxAlphaCoeneral


FINISHED LEXING


dimension of grid: 0
Creating shapes for 3-D cells
Building patch-less mesh...done.

Building boundary and internal patches.
#0  Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1  Foam::sigSegv::sigHandler(int) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2   in "/lib/x86_64-linux-gnu/libc.so.6"
#3  Foam::polyTopoChange::getFaceOrder(int, Foam::List<int> const&, Foam::List<int> const&, Foam::List<int>&, Foam::List<int>&, Foam::List<int>&) const in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libdynamicMesh.so"
#4  Foam::polyTopoChange::compact(bool, bool, int&, Foam::List<int>&, Foam::List<int>&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libdynamicMesh.so"
#5  Foam::polyTopoChange::compactAndReorder(Foam::polyMesh const&, bool, bool, bool, int&, Foam::Field<Foam::Vector<double> >&, Foam::List<int>&, Foam::List<int>&, Foam::List<Foam::objectMap>&, Foam::List<Foam::objectMap>&, Foam::List<Foam::objectMap>&, Foam::List<Foam::objectMap>&, Foam::List<Foam::objectMap>&, Foam::List<Foam::objectMap>&, Foam::List<Foam::objectMap>&, Foam::List<Foam::objectMap>&, Foam::List<Foam::Map<int> >&, Foam::List<int>&, Foam::List<int>&, Foam::List<Foam::Map<int> >&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libdynamicMesh.so"
#6  Foam::polyTopoChange::changeMesh(Foam::polyMesh&, bool, bool, bool, bool) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libdynamicMesh.so"
#7  Foam::repatchPolyTopoChanger::repatch() in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libdynamicMesh.so"
#8 
 in "/opt/openfoam211/platforms/linux64GccDPOpt/bin/fluentMeshToFoam"
#9  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#10 
 in "/opt/openfoam211/platforms/linux64GccDPOpt/bin/fluentMeshToFoam"
Segmentation fault



以下が2つ目のエラーとなります。

Create time

Reading header: "exported from Gridgen 15.10R1"
Dimension of grid: 3
Number of points: 38491
number of faces: 374920
Number of cells: 178748
Reading points
Other readCellGroupData: 2 1 2ba3c 1 2
Reading uniform cells
Read zone1:2 name:fluid patchTypeID:fluid
Reading zone data
Embedded blocks in comment or unknown: (
Found end of section in unknown:)
,Reading uniform faces


FINISHED LEXING


dimension of grid: 3
Creating shapes for 3-D cells


--> FOAM FATAL ERROR:
Cannot find match for first face. cell model: tet first model face: 3(1 2 3) Mesh faces:
4
(
0()
0()
0()
0()
)


    From function create3DCellShape(const label cellIndex, const labelList& faceLabels, const labelListList& faces, const labelList& owner, const labelList& neighbour, const label fluentCellModelID)
    in file create3DCellShape.C at line 185.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1  Foam::error::abort() in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 
 in "/opt/openfoam211/platforms/linux64GccDPOpt/bin/fluentMeshToFoam"
#3 
 in "/opt/openfoam211/platforms/linux64GccDPOpt/bin/fluentMeshToFoam"
#4  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#5 
 in "/opt/openfoam211/platforms/linux64GccDPOpt/bin/fluentMeshToFoam"
中止


この様なエラーが出たのは初めてで対処法が分かりません。
もしご存じの方がいらっしゃったら、ご教授お願いいたします。

Yoshikatsu Akiyama

unread,
Jul 20, 2012, 10:06:29 PM7/20/12
to open...@googlegroups.com
akiyamaです。

以前、1.6か1.7のときICEMよりFLUENT形式で出力し、変換した際のメモがありました。

アスキー形式で出力する
systemフォルダーを作成しcontrol,fvSchemes,fvSolutionファイルを入れる
fluentMeshToFoam ***.mshまたはfluent3DMeshToFoam ***.msh

エラーと関係があるかはわかりませんが、参考になれば幸いです。

2012/7/20, shinji <s087...@gmail.com>:
> --
> このメールは Google グループのグループ「OpenFOAM」の登録者に送られています。
> このディスカッションをウェブ上で閲覧するには、https://groups.google.com/d/msg/openfoam/-/DB4taI5CNIEJ
> にアクセスしてください。
> このグループに投稿するには、open...@googlegroups.com にメールを送信してください。
> このグループから退会するには、openfoam+u...@googlegroups.com にメールを送信してください。
> 詳細については、http://groups.google.com/group/openfoam?hl=ja からこのグループにアクセスしてください。
>
>

nakagawa

unread,
Jul 21, 2012, 1:54:38 AM7/21/12
to open...@googlegroups.com
nakagawaです。

 アスキー形式をfluentMeshToFoam等で変換する際,
ファイル内部に日本語が書かれていて,エラーとなった経験があります。
(Gridgenではなく,商用CFDソフトからのエキスポートファイルです。)
 ファイル内で,括弧の内部に日本があり,似たようなエラーメッセージを見た気がします。
 テキストエディタで,該当日本語部分を削除すれば変換できたと思います。

ご参考になると良いのですが。


2012年7月20日金曜日 14時38分29秒 UTC+9 shinji:

shinji

unread,
Jul 22, 2012, 5:36:11 PM7/22/12
to open...@googlegroups.com
yoshikatsu akiyama 様 、nakagawa様、ご返信有難うございます。

akiyama様のご指摘通り、 
fluentMeshToFoam ***.mshコマンドと
fluent3DMeshToFoam ***.msh コマンドを打ちこんで見ましたが、
バージョン2.1.1なのがいけないのか分かりませんが認識されませんでした。
nakagawa様の方法も今から実行したいと思います。



2012年7月21日土曜日 14時54分38秒 UTC+9 nakagawa:
Reply all
Reply to author
Forward
0 new messages