blockmeshでのエラーについて

78 views
Skip to first unread message

Kim

unread,
Apr 22, 2024, 2:34:15 AMApr 22
to OpenFOAM
はじめまして
画像のように助走部、伝熱部、排水部からなる矩形管に水を流し、赤い面を加熱する条件で数値解析を行いたいです。z軸方向を流れ方向としています。
しかし、blockmeshのコマンドを入力すると、以下のエラー文のようなものが出ます。
何が原因かわからないので、有識者の方に教えていただきたいです。blockMeshDictのファイルも添付しますので、よろしくお願いします。

/*---------------------------------------------------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  9
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
Build  : 9-b456138dc4bc
Exec   : blockMesh
Date   : Apr 22 2024
Time   : 15:05:46
Host   : "kam-Endeavor-MR4800E"
PID    : 2567
I/O    : uncollated
Case   : /media/kam/HD-ADU3/kim/Lhalf/0.1/Re100
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Reading "blockMeshDict"

Creating block mesh from
    "system/blockMeshDict"
Creating block edges
No non-planar block faces defined
Creating topology blocks
#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::sigSegv::sigHandler(int) at ??:?
#2  ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3  Foam::Vector<double> Foam::face::centre<Foam::UIndirectList<Foam::Vector<double> > >(Foam::UIndirectList<Foam::Vector<double> > const&) at ??:?
#4  Foam::face::centre(Foam::Field<Foam::Vector<double> > const&) const at ??:?
#5  Foam::blockDescriptor::check(Foam::Istream const&) at ??:?
#6  Foam::blockDescriptor::blockDescriptor(Foam::dictionary const&, int, Foam::Field<Foam::Vector<double> > const&, Foam::PtrList<Foam::blockEdge> const&, Foam::PtrList<Foam::blockFace> const&, Foam::Istream&) at ??:?
#7  Foam::block::block(Foam::dictionary const&, int, Foam::Field<Foam::Vector<double> > const&, Foam::PtrList<Foam::blockEdge> const&, Foam::PtrList<Foam::blockFace> const&, Foam::Istream&) at ??:?
#8  Foam::block::New(Foam::dictionary const&, int, Foam::Field<Foam::Vector<double> > const&, Foam::PtrList<Foam::blockEdge> const&, Foam::PtrList<Foam::blockFace> const&, Foam::Istream&) at ??:?
#9  void Foam::PtrList<Foam::block>::read<Foam::block::iNew>(Foam::Istream&, Foam::block::iNew const&) at ??:?
#10  Foam::blockMesh::createTopology(Foam::IOdictionary const&, Foam::word const&) at ??:?
#11  Foam::blockMesh::blockMesh(Foam::IOdictionary const&, Foam::word const&) at ??:?
#12  ? in "/opt/openfoam9/platforms/linux64GccDPInt32Opt/bin/blockMesh"
#13  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#14  ? in "/opt/openfoam9/platforms/linux64GccDPInt32Opt/bin/blockMesh"
Segmentation fault (core dumped)
blockMeshDict
モデルイメージ.png

Youhei Takagi

unread,
Apr 22, 2024, 5:11:21 AMApr 22
to open...@googlegroups.com
Kimさま

高木と申します。

私の環境(OpenFoam 10)で頂いたblockMeshDictでblockMeshを実行すると、
以下のようなエラーが出ます。

--> FOAM FATAL IO ERROR:
Block hex (27 30 31 28 39 40 36) (10 10 1000) simpleGrading (1(1) 1(1) 1(1)) has inward-pointing faces
    4(28 33 36 31) 4(39 40 36 33)

blockMeshDictの76行目で、hexを構成するvertexが1つ足らないようですが、大丈夫でしょうか?
また、モデル図から推測すると、合計12ブロック必要かと思いますが、blocksでの指定は1つ
少ない11ブロックのようです。

以上よろしくお願い申し上げます。 

2024年4月22日(月) 15:34 Kim <kgpr...@gmail.com>:
--
このメールは Google グループのグループ「OpenFOAM」に登録しているユーザーに送られています。
このグループから退会し、グループからのメールの配信を停止するには openfoam+u...@googlegroups.com にメールを送信してください。
このディスカッションをウェブ上で閲覧するには https://groups.google.com/d/msgid/openfoam/f53106e1-2f53-4860-a0ca-b2fcd93feec1n%40googlegroups.com にアクセスしてください。

Kim

unread,
Apr 22, 2024, 9:58:17 PMApr 22
to OpenFOAM
高木様
無事解決しました。やはりhexを構成するvertexが足りていないようでした。確認したつもりでしたが見落としていました。
とても助かりました!ありがとうございました。

2024年4月22日月曜日 18:11:21 UTC+9 Youhei Takagi:
Reply all
Reply to author
Forward
0 new messages