decomposeでのエラー

62 views
Skip to first unread message

アロマリッチ

unread,
Apr 11, 2024, 1:39:40 AMApr 11
to OpenFOAM
お世話になっております。
現在、周期境界条件を用いて風を吹かせようとしています。
decomposeParを実行すると、以下のようなエラーが発生し、うまくいきません。
原因を教えていただきたいです。
分割はscotchで16分割(8 1 2)しています。
よろしくお願いいたします。
From function void Foam: :AMIMethod<SourcePatch, TargetPatch»:: checkPatches)
const [with SourcePatch = Foan:: PrimitivePatch<Foam::face, Foam:: SubList, const
Foam: :Field«Foam:: Wector<double> >#>; TargetPatch = Foam::PrimitivePatch<Foam:: face, Foam: :SubList, const Foam:: Field<Foam: :Vector<double> >&>]
in file InInclude/AMIMethod C at Line 59
Source and target patch bounding boxes are not similar source box span
: (0 0.1 0.1)
target box span
(0 0.1  0.1)
source box
(-0.4 0 -5.42101e-20)(-0.40.10.1)
target box
(0 -5.42101-20 -5.42101e-20) (0 0.1 0.1)
inflated target box : (-0.00707107 -0.00707107 -0.00707107) (0.00707107 0.10
7071 0.107071)
--> FOAM FATAL ERROR:
Unable to find initial target face

Hideaki Kominami

unread,
Apr 12, 2024, 6:36:43 AMApr 12
to open...@googlegroups.com
アロマリッチさん

kominamiです。

> 分割はscotchで16分割(8 1 2)しています。
scotchは分割数だけで良いです。

並列計算しないときは、エラーの発生がなく計算が実行されるのですよね?(確認済みですか?)

>Source and target patch bounding boxes are not similar source box span
>: (0 0.1 0.1)
 から
>--> FOAM FATAL ERROR:

>Unable to find initial target face
を見ると、周期境界のペアの作成に失敗しているように思えます。

並列計算のときに分割させたくないパッチを設定できる方法がありますが、自分の経験上、scotchのときに周期境界の分割による問題に遭遇したことがありません。
並列計算をすると、計算が発散しやすいのと、周期境界のようなField量のカップリングを行う境界は計算が不安定になりやすいというのはあるかもしれません。


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


2024年4月11日(木) 14:39 アロマリッチ <rightle...@gmail.com>:
--
このメールは Google グループのグループ「OpenFOAM」に登録しているユーザーに送られています。
このグループから退会し、グループからのメールの配信を停止するには openfoam+u...@googlegroups.com にメールを送信してください。
このディスカッションをウェブ上で閲覧するには https://groups.google.com/d/msgid/openfoam/91bf09c9-9738-46cd-afd2-d94674b9160an%40googlegroups.com にアクセスしてください。

アロマリッチ

unread,
Apr 14, 2024, 2:02:29 AMApr 14
to open...@googlegroups.com
kominamiさん
返信ありがとうございます。
再度、周期境界条件の確認をしてみます。


2024年4月12日(金) 19:36 Hideaki Kominami <jce0...@gmail.com>:
このディスカッションをウェブ上で閲覧するには https://groups.google.com/d/msgid/openfoam/CANvsJ5d5yaWM7wL%2BxDUc6N5tHLebLBTz6MGOm4Oft9YhYYL6rA%40mail.gmail.com にアクセスしてください。
Reply all
Reply to author
Forward
0 new messages