[go: up one dir, main page]

JP3978534B2 - Method for setting moving boundary moving on fixed grid and computer program for realizing the same - Google Patents

Method for setting moving boundary moving on fixed grid and computer program for realizing the same Download PDF

Info

Publication number
JP3978534B2
JP3978534B2 JP2001351585A JP2001351585A JP3978534B2 JP 3978534 B2 JP3978534 B2 JP 3978534B2 JP 2001351585 A JP2001351585 A JP 2001351585A JP 2001351585 A JP2001351585 A JP 2001351585A JP 3978534 B2 JP3978534 B2 JP 3978534B2
Authority
JP
Japan
Prior art keywords
level set
boundary
function
moving
zero level
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2001351585A
Other languages
Japanese (ja)
Other versions
JP2003150651A (en
Inventor
井 研 介 横
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
RIKEN Institute of Physical and Chemical Research
Original Assignee
RIKEN Institute of Physical and Chemical Research
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by RIKEN Institute of Physical and Chemical Research filed Critical RIKEN Institute of Physical and Chemical Research
Priority to JP2001351585A priority Critical patent/JP3978534B2/en
Publication of JP2003150651A publication Critical patent/JP2003150651A/en
Application granted granted Critical
Publication of JP3978534B2 publication Critical patent/JP3978534B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Complex Calculations (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、移動境界を有する流体現象等を数値的に解析する手法に係り、とりわけ、固定格子上を移動する移動境界をレベルセット法を用いて設定する、移動境界の設定方法およびそれを実現するコンピュータプログラムに関する。
【0002】
【従来の技術】
複雑な移動境界(気液、液液および気液固等)を有する液体現象は、我々の身の回り(例えば、河川やキッチン、体内等)の至るところに現れる。逆に、実際の流体現象としては、複雑な移動境界を有しない流体現象の方がむしろ少ないと言える。
【0003】
このような流体現象に対する研究は、物理学や工学、医学等の様々な分野で重要であると考えられており、実験的な手法による解析に加えて、数値的な手法による解析も求められている。
【0004】
例えば河川の浸食や堤防の破損の原因となる激流を減衰させるための構造物(ダム等)の設計は、大変形を伴う移動境界および複雑な移動境界の捕獲が考慮された適当な流体シュミレーション手法がないため大規模な実験や経験則のみによらざるを得ず、有効な手法の開発が望まれている。また、同様な課題は、海岸における突堤やテトラポットの設計および配置、工業装置における冷却パイプの振動破断を防止するためのパイプ形状の設計等にも共通するものである。また、有効な手法が得られればインクジェットやコーティング、洗浄等の効率化にも応用が可能である。
【0005】
しかしながら、複雑な移動境界を有する流体現象を数値的な手法により解析する場合には、境界条件の扱いが複雑であり、また現象のスケールと複雑な移動境界のスケールとを同時に扱う必要があること等から、現象の解析には様々な困難を伴う。
【0006】
複雑な移動境界を有する流体問題に対しては、固定格子(Euler grid)を用いることが有効である。これは、固定格子によれば、複雑な境界形状であっても容易に表現することができ、また境界の移動に伴ってその都度格子を生成する必要がないからである。また、固定されている格子点上を境界が移動するだけであるので、格子が捻れて計算が破綻するといったことがなく、境界の大変形やトポロジーの変化等にも容易に対応することができるからである。
【0007】
しかしながら、固定格子を用いる場合には、境界での数値拡散やメッシュの影響等の問題が当然に起こり得る。そのため、様々な工夫が必要となる。
【0008】
現在、このような問題に対処するための手法として、レベルセット法(level set method)が有効であると考えられている(文献1(S. Osher and J.A. Sethian, J. Comput. Phys. 79, 12 (1988))および文献2(J.A. Sethian, Level Set Methods and Fast Marching Methods, Cambridge University Press (1999))参照)。なお、レベルセット法は、現在までに様々な問題に適用されて成果を挙げている(上記文献2および文献3(K. Yokoi and F. Xiao, Phys. Rev. E 61 R1016 (2000))参照)。
【0009】
レベルセット法は、移動境界を設定(捕獲)するための手法の一つであり、(N−1)次元の境界をN次元の関数のゼロ等高面(zero-contour)(値が0である等値線や等値面)を用いて表現する。このN次元の関数をレベルセット関数(level set function)と呼び、そのゼロ等高面をゼロレベルセット(zero-level set)と呼ぶ。この手法では、境界自体を直接追跡するのではなく、レベルセット関数を介して、そのゼロレベルセットとして求められる境界を間接的に追跡する。
【0010】
ここで、レベルセット関数としては、次式(1)の条件を満たす関数flsが用いられる。
【0011】
【数1】

Figure 0003978534
【0012】
また、レベルセット関数flsの時間発展は、次式(2)の移流方程式に従って計算される。なお、次式(2)において、uは流体の速度を表している。
【0013】
【数2】
Figure 0003978534
【0014】
ここで、図9に示すような1次元の流体問題を例にとると、上式(1)に示すレベルセット関数flsは、符号20に示すようなものとなり、液体と気体との境界21,22がレベルセット関数flsのゼロ等高面(ゼロレベルセット)として求められる。
【0015】
このため、上式(1)に示すレベルセット関数flsを上式(2)の移流方程式に従って時間発展させ、ある時刻でのレベルセット関数flsのゼロレベルセットを求めることにより、境界を追跡することができる。
【0016】
なお、上式(1)および図9から分かるように、レベルセット関数flsは傾きが1の関数であり、ある点23におけるflsの値aは、点23の境界21からの距離bと等しい。すなわち、レベルセット関数flsは、境界からの距離を表す距離関数としての性質を有している。
【0017】
このようなレベルセット法では、境界を直接追跡することなく、レベルセット関数flsを用いて間接的に追跡するので、境界のトポロジーが変化するような場合(例えば、図10(a)(b)(c)に示すように、2つの水滴(液体)が衝突するような場合)でも、特別な処理を行うことなく自然に対応することができる。また、直交固定格子上で曲面からなる境界を精度良く捕らえるには、境界をある程度スムースにする必要があるが、レベルセット法では、境界のスムーシングの幅を容易にコントロールすることができるので、曲面を精度良く捕らえることができる。さらに、表面張力の計算等に必要な曲率κの計算には、境界に対する単位法線ベクトルの発散を求める必要があり、境界の周辺での単位法線ベクトルが必要になるが、レベルセット法では、レベルセット関数flsを用いることにより、次式(3)に従って曲率κを精度良く計算することができる。
【0018】
【数3】
Figure 0003978534
【0019】
なお、このようにして求められた曲率κに基づいて、CSF(Continum Surface Force)モデル(文献4(J.U. Brackbill, D.B. Kothe and C. Zemach, J. Comput. Phys. 100, 335 (1992))参照)等を用いて、容易に表面張力を計算することができる。
【0020】
【発明が解決しようとする課題】
上述したように、レベルセット法は、移動境界を設定(捕獲)する手法として優れたものであるが、移動境界の設定に必要とされるレベルセット関数flsには一般に、上式(2)の移流方程式に従って時間発展させるにつれてその関数の性質(特に、距離関数としての性質)が損なわれていくという問題がある。
【0021】
すなわち、ある時刻でのレベルセット関数flsが図11(a)に示すように距離関数の性質を満たしていても、上式(2)の移流方程式により時間発展させた後のレベルセット関数flsは、図11(b)に示すように一般に距離関数の性質を満たさなくなる。
【0022】
このため、従来のレベルセット法では、時間発展させた後のゼロレベルセットが境界を正しく表現しているものと仮定し、このゼロレベルセットを基準としてその他の部分に対して距離関数の性質を回復させるための処理、すなわち再初期化処理(re-initialization)を行っている。
【0023】
しかしながら、このような再初期化処理に伴って、ゼロレベルセットも若干ずれることとなるので、これにより境界の位置に関してエラーが混入する(図11(c))。このエラーは1計算ステップ分で見れば僅かであるが、このエラーが混入したレベルセット関数(図11(d))を用いて次回以降の計算ステップを繰り返すこととなるので、このようなエラーが毎計算ステップごとに蓄積してしまう。このため、時間発展させるにつれて境界の位置が正しい位置から大きくずれてしまう。このようなエラーの蓄積は、流体問題の種類によっては深刻な問題となり、特に複雑な移動境界を有する流体問題の場合には、このエラーは無視できないものとなる。
【0024】
本発明はこのような点を考慮してなされたものであり、レベルセット法において問題となる再初期化処理時のエラーの蓄積を効果的に防止して、固定格子上で移動境界を精度良く捕らえることができる、移動境界の設定方法およびそれを実現するコンピュータプログラムを提供することを目的とする。
【0025】
【課題を解決するための手段】
本発明は、その第1の解決手段として、移動境界を有する流体現象を数値的に解析する流体シミュレーションで用いられ、固定格子上を移動する移動境界をレベルセット法を用いて設定する、移動境界の設定方法において、移流方程式に従って移動する移動境界の設定に必要とされるレベルセット関数から独立した関数として、移動境界を表すゼロレベルセットを追跡することを目的とするゼロレベルセット追跡関数であって、そのゼロ等高面がゼロレベルセットであり、レベルセット関数と同一の形を有するゼロレベルセット追跡関数を準備するステップと、前記ゼロレベルセット追跡関数を前記移流方程式に従って、当該移流方程式の計算を安定的に行うために要求される安定性の条件から決定される時間間隔分だけ時間発展させる時間発展ステップと、前記時間発展ステップにより時間発展された後のゼロレベルセット追跡関数に基づいて、移動境界を表すゼロレベルセットを求めるとともに、この求められたゼロレベルセットに基づいて、移動境界の設定に必要とされるレベルセット関数を構築する境界設定ステップとを含み、前記時間発展ステップおよび前記境界設定ステップを、所定の終了時間に達するまで繰り返すことを特徴とする、移動境界の設定方法を提供する。
【0026】
なお、上述した第1の解決手段においては、前記境界設定ステップにより構築されたレベルセット関数に基づいて、移動境界の内外にある物質の識別に用いられる密度関数を求めるステップをさらに含むことが好ましい。また、前記時間発展ステップにおいて、前記移流方程式をCIP法により解くことが好ましい。さらに、前記固定格子は直交固定格子であることが好ましい。
【0027】
本発明は、その第2の解決手段として、移動境界を有する流体現象を数値的に解析する流体シミュレーションで用いられ、固定格子上を移動する移動境界をレベルセット法を用いて設定する、移動境界の設定方法を実現するコンピュータプログラムにおいて、コンピュータに対して実行させる手順として、移流方程式に従って移動する移動境界の設定に必要とされるレベルセット関数から独立した関数として、移動境界を表すゼロレベルセットを追跡することを目的とするゼロレベルセット追跡関数であって、そのゼロ等高面がゼロレベルセットであり、レベルセット関数と同一の形を有するゼロレベルセット追跡関数を準備する手順と、前記ゼロレベルセット追跡関数を前記移流方程式に従って、当該移流方程式の計算を安定的に行うために要求される安定性の条件から決定される時間間隔分だけ時間発展させる時間発展手順と、前記時間発展手順により時間発展された後のゼロレベルセット追跡関数に基づいて、移動境界を表すゼロレベルセットを求めるとともに、この求められたゼロレベルセットに基づいて、移動境界の設定に必要とされるレベルセット関数を構築する境界設定手順とを含み、前記時間発展手順および前記境界設定手順を、所定の終了時間に達するまで繰り返しコンピュータに対して実行させることを特徴とする、移動境界の設定方法を実現するコンピュータプログラムを提供する。
【0028】
本発明によれば、レベルセット法で用いられるレベルセット関数flsから独立した関数としてゼロレベルセット追跡関数を準備し、このゼロレベルセット追跡関数を移流方程式に従って時間発展させ、ゼロレベルセット追跡関数に基づいて、移動境界を表すゼロレベルセットを求めるとともに、この求められたゼロレベルセットに基づいて、移動境界の設定に必要とされるレベルセット関数を構築しているので、時間発展の計算によりレベルセット関数にエラーが蓄積することがなく、従来のレベルセット法で問題となっていた再初期化処理時のエラーの蓄積の問題を効果的に防止することができる。
【0029】
【発明の実施の形態】
以下、図面を参照して本発明の実施の形態について説明する。ここで、図1は本発明による移動境界の設定方法の一実施の形態を説明するためのフローチャート、図2(a)(b)(c)(d)は本実施の形態の概要を1次元の移動境界問題を例に挙げて説明するための概念図である。なお、本実施の形態に係る移動境界の設定方法は、直交固定格子上を移動する移動境界をレベルセット法を用いて設定するものであり、移動境界を有する流体現象等の解析に用いられる。なお、固定格子としては、直交固定格子以外にも、三角格子等の任意の固定格子を用いることができる。
【0030】
図1に示すように、本実施の形態に係る移動境界の設定方法においては、まず、レベルセット法で用いられるレベルセット関数flsから独立した関数として、移動境界を表すゼロレベルセットを追跡することのみを目的とするゼロレベルセット追跡関数fzeroを準備する(ステップ101)。なお、広い意味でいえば、ゼロレベルセット追跡関数fzeroもレベルセット関数であり、そのゼロ等高面はゼロレベルセットであるが、本明細書では、距離関数の性質を持つ関数のみをレベルセット関数と呼び、このようなレベルセット関数のゼロ等高面のみをゼロレベルセットと呼ぶことにする。
【0031】
次に、ゼロレベルセット追跡関数fzeroを次式(4)の移流方程式に従って、安定性の条件から決定される時間間隔分だけ時間発展させる(ステップ102)。具体的には例えば、図2(a)(b)に示すように、ゼロレベルセット追跡関数fzeroを境界の移動に合わせて右方向に移動させる。なおこのとき、ゼロレベルセット追跡関数fzeroは時間発展に伴ってその形状が崩れる。
【0032】
【数4】
Figure 0003978534
【0033】
なお、上式(4)の移流方程式の解法には、高精度でかつロバストな方法であるCIP法(Cubic Interpolated Propagation Method)(文献5(T. Yabe and T. Aoki, Comput. Phys. Commun. 66, 219 (1991))および文献6(T. Nakamura and T. Yabe, Comput. Phys. Commun. 120, 122 (1999))参照)を用いることが好ましく、これにより、ゼロレベルセット追跡関数fzeroの形状の崩れを抑えることができる。なお、移流方程式の解法には、CIP法以外にも、PPM(Piecewise Parabolic Method)法等の任意の方法を用いることができる。
【0034】
その後、時間発展された後のゼロレベルセット追跡関数fzeroに基づいて、移動境界を表すゼロレベルセットを求めるとともに、この求められたゼロレベルセットに基づいて、移動境界の設定に必要とされるレベルセット関数flsを構築する(ステップ103)。具体的には例えば、図2(c)に示すように、ゼロレベルセット追跡関数fzeroのゼロ等高面に基づいて、移動境界を表すゼロレベルセットを求め、この求められたゼロレベルセットに基づいて、距離関数の性質を持つレベルセット関数flsを構築する。なお、レベルセット関数flsは、境界のスムーシングや曲率の計算等のために用いられる。
【0035】
以下、ステップ103における処理(ゼロレベルセット追跡関数fzeroからレベルセット関数flsを構築する処理)の詳細について説明する。
【0036】
ステップ103においては、まず、ゼロレベルセット追跡関数fzeroのゼロ等高面を、各格子点間を補間することにより求める。
【0037】
次に、このようにして求められたゼロ等高面を、移動境界を表すゼロレベルセットとし、境界から1セル以内の格子点のレベルセット関数flsを、ファーストマーチング法(fast marching method)(上記文献2および文献7(D. Adalsteinsson and J.A. Sethian, J. Comput. Phys. 148, 2 (1999))参照)に従って、次式(5)のEikonal方程式を計算することにより求める。
【0038】
【数5】
Figure 0003978534
【0039】
次に、このようにして求められたレベルセット関数flsの値を固定し、Sussmann等の反復計算による方法(文献8(M. Sussman, P. Smereka and S. Osher, J. Comput. Phys. 114, 146 (1994))参照)に従って、次式(6)が収束するまで収束計算を行うことにより、1セル以遠の部分のレベルセット関数flsを構築する。なお、Sussman等の方法では一般に、反復計算の間にゼロレベルセットがずれるという問題があるが、ここでは、ゼロレベルセットの周辺の値がファーストマーチング法により事前に計算され、実際の収束計算時には固定されているため、その問題は起こらない。
【0040】
【数6】
Figure 0003978534
【0041】
ここで、τは反復計算のための時間であり、実時間と同じである必要はない。また、Sは平滑化符号関数(smoothed sign function)であり、次式(7)により表される。
【0042】
【数7】
Figure 0003978534
【0043】
なお、ゼロレベルセットの周辺のレベルセット関数flsを固定しているため、計算の安定性が問題とならない場合には、S(fls)=1とすることも可能である。
【0044】
ここで、上式(6)による収束計算における初期値としては、前の計算ステップのflsの値や、1、−1等を用いるのではなく、上式(2)の移流方程式により計算した値を用いるようにしてもよく、これにより、収束に要する時間を大幅に短縮することができる。このような収束計算には、上述したCIP法を用いることができる他、1次の風上差分法を用いることができる。これは、1次の風上差分法のような比較的低精度の方法を用いても、その方法により混入されたエラーが上式(6)による収束計算により補正されるからである。なお、計算時間に拘らない場合には、上式(6)による収束計算ではなく、上述したファーストマーチング法を用いることもできる。
【0045】
その後、このようにして構築されたレベルセット関数flsに基づいて、移動境界の内外にある物質の識別に用いられる密度関数(color (density) function)fcolorを求める(ステップ104)。なお、密度関数fcolorは、次式(8)(9)に従って、レベルセット関数flsから平滑化ヘビサイド関数(smoothed Heaviside function)Hαを用いて計算することができる。ここで、2αは境界のスムーシングの幅である。
【0046】
【数8】
Figure 0003978534
【0047】
そして、所定の終了時間に達するまでステップ102〜104における処理を繰り返す(ステップ105)。なお、ステップ102に戻って処理を続ける場合、時間発展の計算の基礎となる関数はゼロレベルセット追跡関数fzeroである。すなわち、ステップ103において、ゼロレベルセット追跡関数fzeroに基づいてレベルセット関数flsを構築するときには、従来のレベルセット法と同様にエラーが混入することとなるが(図2(c)参照)、ステップ102における時間発展の計算には、エラーが混入していないゼロレベルセット追跡関数fzeroが用いられる(図2(d)参照)。
【0048】
このように本実施の形態によれば、レベルセット法で用いられるレベルセット関数flsから独立した関数としてゼロレベルセット追跡関数fzeroを準備し、このゼロレベルセット追跡関数fzeroを移流方程式に従って時間発展させ、ゼロレベルセット追跡関数fzeroに基づいて、移動境界を表すゼロレベルセットを求めるとともに、この求められたゼロレベルセットに基づいて、移動境界の設定に必要とされるレベルセット関数flsを構築しているので、時間発展の計算によりレベルセット関数flsにエラーが蓄積することがなく、従来のレベルセット法で問題となっていた再初期化処理時のエラーの蓄積の問題を効果的に防止することができる。
【0049】
なお、上述した実施の形態に係る移動境界の設定方法は、図3に示すようなコンピュータシステム10上で稼働するコンピュータプログラムとして実現することができる。ここで、コンピュータシステム10は、バス11と、バス11に接続されたプロセッサ12、メモリ13およびハードディスク14と、バス11に接続された周辺機器(キーボードやマウス等の入力装置15、ディスプレイやプリンタ等の出力装置16、FDドライブ17およびCD−ROMドライブ18)とを備えている。そして、上述したようなコンピュータプログラムは、フレキシブルディスク19aおよびCD−ROM19b等のようなコンピュータ読み取り可能な記録媒体に格納され、メモリ13やハードディスク14等に読み込まれる。そして、コンピュータシステム10において、プロセッサ12から逐次読み出されて実行されることにより上述したような手順を実現することができる。
【0050】
【実施例】
次に、上述した実施の形態の具体的実施例について述べる。
【0051】
まず、上述した実施の形態をZalesak問題(文献9(S.T. Zalesak, J. Comput. Phys. 31, 335 (1979))参照)に適用した場合の実施例について述べる。
【0052】
図4に示すように、本実施例の移動境界問題は、一部に切り欠きを有する円形状の二次元の剛体31を矢印32に沿って反時計方向に回転させるものである。
【0053】
ここで、剛体31の初期条件は、次式(10)とした。
【0054】
【数9】
Figure 0003978534
【0055】
また、計算のための格子は100×100の直交固定格子とし、剛体31の回転速度は、次式(11)のような速度場の下で、1回転の計算を628回の計算ステップで行うようなものとした。(すなわち、時間間隔Δtを1/628とした。)
【0056】
【数10】
Figure 0003978534
【0057】
さらに、レベルセット関数flsは図5(a)に示すものとした。なお、このようなレベルセット関数flsに対応する、初期状態でのゼロレベルセット(境界)および密度関数fcolorはそれぞれ、図5(b)(c)に示すようなものとなる。
【0058】
このような条件の下で、レベルセット関数flsと同一の形を有するゼロレベルセット追跡関数fzeroを準備し、このゼロレベルセット追跡関数fzeroを上式(11)に従ってCIP法により時間発展させ、ゼロレベルセット追跡関数fzeroに基づいて、移動境界を表すゼロレベルセットを求めるとともに、この求められたゼロレベルセットに基づいて、移動境界の設定に必要とされるレベルセット関数flsを構築し、移動境界を設定した。
【0059】
図6(a)(b)および図6(c)(d)はそれぞれ、剛体31の1回転後および10回転後の境界の様子を示す図である。なお、図6(a)(c)はレベルセット関数flsに基づいて求められたゼロレベルセット(境界)を厳密解(初期条件)とともに示す図であり、図6(b)(d)はレベルセット関数flsに基づいて求められた密度関数fcolorを示す図である。
【0060】
図6(a)(b)(c)(d)に示すように、本実施例では、剛体31の1回転後はもちろん10回転後であっても境界を精度良く捕らえていることが分かる。
【0061】
ここで、比較例として、上述した従来のレベルセット法を用いて剛体31を1回転させた場合の境界の様子を図7(a)(b)に示す。図7(a)はゼロレベルセット(境界)を厳密解(初期条件)とともに示す図であり、図7(b)は密度関数fcolorを示す図である。なお、この比較例におけるレベルセット法では、レベルセット関数flsを時間発展させる際の移流方程式の解法としてCIP法を用いた。
【0062】
図7(a)(b)に示すように、この比較例では、1回転後にもかかわらず、移動境界が初期状態からかなりずれていることが分かる。なお、このずれは時間とともに拡大した。
【0063】
次に、上述した実施の形態を流体問題に適用した場合の実施例について述べる。
【0064】
図8(a)(b)に示すように、本実施例の流体問題は、長方形の剛体33を水面34に落下させるものである。なお、計算のための格子は40×40の直交固定格子とし、時間間隔(Δt)は安定性の条件を満たすように決定した。また、流体シミュレーションの手法としては、圧力のポアソン方程式をベースにした混相流の計算手法であるCUP法(文献10(T. Yabe and P.Y. Wang, J. Phys. Soc. Jpn. 60, 2105 (1991))参照)を用いた。
【0065】
その結果、図8(b)に示すように、本実施例においては、比較的少ない格子数にもかかわらず、剛体33の形状を良く捕らえていることが分かる。これに対し、図8(c)に示す比較例(従来のレベルセット法を用いたもの)では、再初期化処理時のエラーにより、剛体33の角が丸くなる傾向があることが分かる。
【0066】
【発明の効果】
以上説明したように本発明によれば、レベルセット法において問題となる再初期化処理時のエラーの蓄積を効果的に防止して、固定格子上で移動境界を精度良く捕らえることができる。従って、本発明は、河川の激流や、海岸の大規模波動、工業装置における流体現象等に対応する構造物の設計等に極めて有用である。
【図面の簡単な説明】
【図1】本発明による移動境界の設定方法の一実施の形態を説明するためのフローチャート。
【図2】図1に示す実施の形態の概要を1次元の移動境界問題を例に挙げて説明するための概念図。
【図3】図1に示す実施の形態を実現するコンピュータプログラムが実行されるコンピュータシステムの一例を示す図。
【図4】本発明の一実施例としてのZalesak問題(二次元の剛体の回転問題)の概要を説明するための模式図。
【図5】図4に示す実施例におけるレベルセット関数、ゼロレベルセットおよび密度関数の一例を示す図。
【図6】図4に示す実施例における剛体の回転後(1回転後および10回転後)の境界の様子を示す図。
【図7】従来のレベルセット法を用いた場合の剛体の回転後(1回転後)の境界の様子を示す図。
【図8】本発明の一実施例としての流体問題(長方形の剛体を水面に落下させる問題)の計算結果を示す図。
【図9】1次元の流体問題で用いられるレベルセット関数の一例を示す図。
【図10】境界のトポロジーが変化するような1次元の流体問題の一例を示す図。
【図11】従来のレベルセット法の概要を説明するための概念図。
【符号の説明】
zero ゼロレベルセット追跡関数
ls レベルセット関数
10 コンピュータシステム
20 レベルセット関数
21,22 境界[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a method for numerically analyzing a fluid phenomenon or the like having a moving boundary, and in particular, a moving boundary setting method for setting a moving boundary moving on a fixed grid using a level set method, and the realization thereof. Relates to a computer program.
[0002]
[Prior art]
Liquid phenomena with complex moving boundaries (gas-liquid, liquid-liquid, gas-liquid solid, etc.) appear everywhere around us (eg rivers, kitchens, bodies, etc.). Conversely, as an actual fluid phenomenon, it can be said that there are few fluid phenomena that do not have complicated moving boundaries.
[0003]
Research on such fluid phenomena is considered important in various fields such as physics, engineering, and medicine. In addition to analysis by experimental methods, analysis by numerical methods is also required. Yes.
[0004]
For example, the design of structures (dams, etc.) for attenuating torrents that cause river erosion and bank breakage is an appropriate fluid simulation method considering the capture of moving boundaries with large deformations and complex moving boundaries. Therefore, there is no choice but to rely on large-scale experiments and empirical rules alone, and the development of effective methods is desired. Similar problems are common to the design and arrangement of jetty and tetrapots on the coast, and the design of pipe shapes to prevent vibration breakage of cooling pipes in industrial equipment. Moreover, if an effective method is obtained, it can be applied to increase the efficiency of inkjet, coating, cleaning, and the like.
[0005]
However, when analyzing fluid phenomena with complex moving boundaries by numerical methods, the handling of boundary conditions is complicated, and the scale of phenomena and the scale of complex moving boundaries must be handled simultaneously. From the above, the analysis of phenomena involves various difficulties.
[0006]
For fluid problems with complex moving boundaries, it is effective to use a fixed grid (Euler grid). This is because, according to the fixed grid, even a complicated boundary shape can be easily expressed, and it is not necessary to generate a grid each time the boundary moves. In addition, since the boundary only moves on a fixed lattice point, the lattice is not twisted and the calculation is not broken, and it is possible to easily cope with a large boundary deformation or a topology change. Because.
[0007]
However, when a fixed grid is used, problems such as numerical diffusion at the boundary and the influence of meshes can naturally occur. Therefore, various devices are required.
[0008]
At present, the level set method is considered to be effective as a method for dealing with such problems (Reference 1 (S. Osher and JA Sethian, J. Comput. Phys. 79, 12 (1988)) and Reference 2 (JA Sethian, Level Set Methods and Fast Marching Methods, Cambridge University Press (1999)). In addition, the level set method has been applied to various problems so far, and has been successful (see the above-mentioned literature 2 and literature 3 (K. Yokoi and F. Xiao, Phys. Rev. E 61 R1016 (2000)). ).
[0009]
The level set method is one of the methods for setting (capturing) the moving boundary. The (N−1) -dimensional boundary is defined as a zero-contour (value of 0) of an N-dimensional function. It is expressed using a certain isoline or isosurface). This N-dimensional function is called a level set function, and its zero contour is called a zero-level set. In this method, the boundary itself is not tracked directly, but the boundary determined as the zero level set is indirectly tracked through a level set function.
[0010]
Here, a function f ls that satisfies the condition of the following equation (1) is used as the level set function.
[0011]
[Expression 1]
Figure 0003978534
[0012]
Further, the time evolution of the level set function f ls is calculated according to the advection equation of the following equation (2). In the following equation (2), u represents the velocity of the fluid.
[0013]
[Expression 2]
Figure 0003978534
[0014]
Here, taking the one-dimensional fluid problem as shown in FIG. 9 as an example, the level set function f ls shown in the above equation (1) is as shown by reference numeral 20, and the boundary 21 between the liquid and the gas 21 , 22 is obtained as a zero contour surface (zero level set) of the level set function fls .
[0015]
For this reason, the level set function f ls shown in the above equation (1) is time-developed according to the advection equation of the above equation (2), and the zero level set of the level set function f ls at a certain time is obtained to track the boundary. can do.
[0016]
As can be seen from the above equation (1) and FIG. 9, the level set function f ls is a function having a slope of 1, and the value a of f ls at a certain point 23 is the distance b from the boundary 21 of the point 23. equal. That is, the level set function f ls has a property as a distance function representing a distance from the boundary.
[0017]
In such a level set method, since the boundary is not tracked directly but is tracked indirectly using the level set function f ls , the boundary topology changes (for example, FIG. 10 (a) (b) (As shown in (c), even when two water droplets (liquid) collide with each other), it can be handled naturally without any special treatment. In addition, in order to accurately capture a boundary consisting of curved surfaces on an orthogonal fixed grid, it is necessary to smooth the boundaries to some extent, but in the level set method, the width of the smoothing of the boundaries can be easily controlled. Can be accurately captured. Furthermore, in calculating the curvature κ required for the calculation of surface tension, etc., it is necessary to obtain the divergence of the unit normal vector with respect to the boundary, and the unit normal vector around the boundary is required. By using the level set function f ls , the curvature κ can be accurately calculated according to the following equation (3).
[0018]
[Equation 3]
Figure 0003978534
[0019]
The CSF (Continum Surface Force) model (Reference 4 (JU Brackbill, DB Kothe and C. Zemach, J. Comput. Phys. 100, 335 (1992)) is referred to based on the curvature κ thus obtained. ) Etc., the surface tension can be easily calculated.
[0020]
[Problems to be solved by the invention]
As described above, the level set method is excellent as a method for setting (capturing) a moving boundary. Generally, the level set function f ls required for setting a moving boundary is generally expressed by the above equation (2). As the time evolves according to the advection equation, the property of the function (particularly, the property as a distance function) is impaired.
[0021]
That is, even if the level set function f ls at a certain time satisfies the property of the distance function as shown in FIG. 11 (a), the level set function f after time evolution by the advection equation of the above equation (2). As shown in FIG. 11B, ls generally does not satisfy the properties of the distance function.
[0022]
For this reason, in the conventional level set method, it is assumed that the zero level set after time evolution correctly represents the boundary, and the properties of the distance function are expressed with respect to other parts based on this zero level set. Processing for recovery, that is, re-initialization is performed.
[0023]
However, with such re-initialization processing, the zero level set is also slightly shifted, which causes an error regarding the boundary position (FIG. 11 (c)). This error is slight in one calculation step, but the next calculation step is repeated using the level set function (FIG. 11 (d)) in which this error is mixed. It accumulates at every calculation step. For this reason, the position of the boundary greatly deviates from the correct position as time progresses. Accumulation of such errors becomes a serious problem depending on the type of fluid problem, and this error cannot be ignored particularly in the case of a fluid problem having a complicated moving boundary.
[0024]
The present invention has been made in consideration of such points, and effectively prevents accumulation of errors during re-initialization processing, which is a problem in the level set method, so that the moving boundary can be accurately defined on the fixed grid. An object of the present invention is to provide a moving boundary setting method that can be captured and a computer program that realizes the method.
[0025]
[Means for Solving the Problems]
As a first solution, the present invention is used in a fluid simulation for numerically analyzing a fluid phenomenon having a moving boundary, and sets a moving boundary that moves on a fixed grid using a level set method. This is a zero level set tracking function for tracking the zero level set representing the moving boundary as a function independent of the level set function required for setting the moving boundary moving according to the advection equation. Preparing a zero level set tracking function whose zero contour surface is a zero level set and having the same shape as the level set function, and applying the zero level set tracking function to the advection equation according to the advection equation. Time to develop the time by the time interval determined from the stability condition required for stable calculation Based on the expansion step and the zero level set tracking function after time evolution by the time evolution step, a zero level set representing the movement boundary is obtained, and the movement boundary is set based on the obtained zero level set. And a boundary setting step for constructing a level set function required for the method, and the time evolution step and the boundary setting step are repeated until a predetermined end time is reached. To do.
[0026]
In the first solving means described above, it is preferable that the method further includes a step of obtaining a density function used for identifying a substance inside and outside the moving boundary based on the level set function constructed by the boundary setting step. . In the time development step, the advection equation is preferably solved by a CIP method. Further, the fixed grating is preferably an orthogonal fixed grating.
[0027]
As a second solution, the present invention is used in a fluid simulation for numerically analyzing a fluid phenomenon having a moving boundary, and sets a moving boundary that moves on a fixed grid using a level set method. In the computer program that realizes the setting method, the zero level set representing the moving boundary is set as a function independent of the level set function required for setting the moving boundary moving according to the advection equation. A zero level set tracking function intended to be tracked, the zero contour surface of which is a zero level set, and preparing a zero level set tracking function having the same shape as the level set function; To stably calculate the advection equation according to the advection equation with the level set tracking function A zero level set representing a moving boundary based on a time evolution procedure that evolves time by a time interval determined from a required stability condition, and a zero level set tracking function after time evolution by the time evolution procedure. And a boundary setting procedure for constructing a level set function required for setting the moving boundary based on the determined zero level set, and the time evolution procedure and the boundary setting procedure are set to a predetermined value. Provided is a computer program for realizing a moving boundary setting method, wherein the computer repeatedly executes the computer until an end time is reached.
[0028]
According to the present invention, a zero level set tracking function is prepared as a function independent of the level set function f ls used in the level set method, the zero level set tracking function is time-developed according to the advection equation, and the zero level set tracking function is provided. Based on the above, the zero level set representing the moving boundary is obtained, and the level set function required for setting the moving boundary is constructed based on the obtained zero level set. Errors do not accumulate in the level set function, and it is possible to effectively prevent the accumulation of errors during the reinitialization process, which has been a problem with the conventional level set method.
[0029]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings. Here, FIG. 1 is a flowchart for explaining an embodiment of a moving boundary setting method according to the present invention, and FIGS. 2 (a), (b), (c) and (d) are one-dimensional outlines of the present embodiment. It is a conceptual diagram for exemplifying and explaining the moving boundary problem. The moving boundary setting method according to the present embodiment sets the moving boundary moving on the orthogonal fixed grid using the level set method, and is used for analysis of a fluid phenomenon having the moving boundary. In addition to the orthogonal fixed grating, an arbitrary fixed grating such as a triangular grating can be used as the fixed grating.
[0030]
As shown in FIG. 1, in the moving boundary setting method according to the present embodiment, first, a zero level set representing a moving boundary is tracked as a function independent of the level set function f ls used in the level set method. A zero level set tracking function f zero is prepared for the purpose only (step 101). In a broad sense, the zero level set tracking function f zero is also a level set function, and the zero contour surface is a zero level set. This is called a set function, and only the zero contour surface of such a level set function is called a zero level set.
[0031]
Next, the zero level set tracking function f zero is evolved by the time interval determined from the stability condition according to the advection equation of the following equation (4) (step 102). Specifically, for example, as shown in FIGS. 2A and 2B, the zero level set tracking function f zero is moved in the right direction in accordance with the movement of the boundary. At this time, the shape of the zero level set tracking function f zero collapses with time development.
[0032]
[Expression 4]
Figure 0003978534
[0033]
It should be noted that the CIP method (Cubic Interpolated Propagation Method) (Reference 5 (T. Yabe and T. Aoki, Comput. Phys. Commun.)) Is a highly accurate and robust method for solving the advection equation (4). 66, 219 (1991)) and literature 6 (T. Nakamura and T. Yabe , Comput. Phys. Commun. 120, 122 (1999)) is preferably used reference), Thus, the zero level set tracking function f zero The collapse of the shape can be suppressed. In addition to the CIP method, an arbitrary method such as a PPM (Piecewise Parabolic Method) method can be used for solving the advection equation.
[0034]
Thereafter, a zero level set representing a moving boundary is obtained based on the zero level set tracking function f zero after time evolution, and the moving boundary is set based on the obtained zero level set. A level set function f ls is constructed (step 103). Specifically, for example, as shown in FIG. 2 (c), a zero level set representing a moving boundary is obtained based on the zero level surface of the zero level set tracking function f zero , and the obtained zero level set is obtained. Based on this, a level set function f ls having the property of a distance function is constructed. The level set function f ls is used for boundary smoothing, curvature calculation, and the like.
[0035]
Hereinafter, details of the processing in step 103 (processing for constructing the level set function f ls from the zero level set tracking function f zero ) will be described.
[0036]
In step 103, first, the zero level surface of the zero level set tracking function f zero is obtained by interpolating between the lattice points.
[0037]
Next, the zero contour surface obtained in this way is set as a zero level set representing a moving boundary, and a level set function f ls of lattice points within one cell from the boundary is defined as a fast marching method (fast marching method ( According to Reference 2 and Reference 7 (see D. Adalsteinsson and JA Sethian, J. Comput. Phys. 148, 2 (1999)), the Eikonal equation of the following equation (5) is calculated.
[0038]
[Equation 5]
Figure 0003978534
[0039]
Next, the value of the level set function f ls obtained in this way is fixed, and a method based on iterative calculation by Sussmann et al. (Reference 8 (M. Sussman, P. Smereka and S. Osher, J. Comput. Phys. 114, 146 (1994))), the level set function f ls of the part beyond one cell is constructed by performing convergence calculation until the following expression (6) converges. In general, the method of Sussman et al. Has a problem that the zero level set is shifted during the iterative calculation, but here, the values around the zero level set are calculated in advance by the first marching method, and at the time of actual convergence calculation The problem does not occur because it is fixed.
[0040]
[Formula 6]
Figure 0003978534
[0041]
Here, τ is the time for the iterative calculation and need not be the same as the real time. S is a smoothed sign function and is expressed by the following equation (7).
[0042]
[Expression 7]
Figure 0003978534
[0043]
Since the level set function f ls around the zero level set is fixed, it is possible to set S (f ls ) = 1 when the stability of calculation does not matter.
[0044]
Here, as the initial value in the convergence calculation by the above equation (6), the value of f ls in the previous calculation step, 1, -1, etc. are not used, but the calculation is performed by the advection equation of the above equation (2). A value may be used, which can greatly reduce the time required for convergence. For such convergence calculation, the above-described CIP method can be used, and a first-order upwind difference method can be used. This is because even if a relatively low accuracy method such as the first-order upwind difference method is used, an error mixed by the method is corrected by the convergence calculation according to the above equation (6). If the calculation time is not concerned, the first marching method described above can be used instead of the convergence calculation according to the above equation (6).
[0045]
Thereafter, based on the level set function f ls constructed in this way, a density function (color (function) f color ) used to identify the substance inside and outside the moving boundary is obtained (step 104). The density function f color can be calculated from the level set function f ls by using a smoothed Heaviside function H α according to the following equations (8) and (9). Here, 2α is the width of the boundary smoothing.
[0046]
[Equation 8]
Figure 0003978534
[0047]
Then, the processes in steps 102 to 104 are repeated until a predetermined end time is reached (step 105). When returning to step 102 and continuing the processing, the function that is the basis of the time evolution calculation is the zero level set tracking function f zero . That is, in step 103, when the level set function f ls is constructed based on the zero level set tracking function f zero , an error is mixed as in the conventional level set method (see FIG. 2 (c)). The time evolution calculation in step 102 uses a zero level set tracking function f zero in which no error is mixed (see FIG. 2D).
[0048]
Thus, according to the present embodiment, the zero level set tracking function f zero is prepared as a function independent of the level set function f ls used in the level set method, and the zero level set tracking function f zero is determined according to the advection equation. Based on the zero level set tracking function f zero , a zero level set representing a moving boundary is obtained, and a level set function f required for setting the moving boundary is obtained based on the obtained zero level set. Since ls is constructed, errors are not accumulated in the level set function f ls due to the calculation of time evolution, and the problem of error accumulation during the reinitialization process, which has been a problem with the conventional level set method, is solved. It can be effectively prevented.
[0049]
Note that the moving boundary setting method according to the above-described embodiment can be realized as a computer program that runs on a computer system 10 as shown in FIG. Here, the computer system 10 includes a bus 11, a processor 12, a memory 13 and a hard disk 14 connected to the bus 11, and peripheral devices (an input device 15 such as a keyboard and a mouse, a display, a printer, etc.) connected to the bus 11. Output device 16, FD drive 17 and CD-ROM drive 18). The computer program as described above is stored in a computer-readable recording medium such as the flexible disk 19a and the CD-ROM 19b, and is read into the memory 13, the hard disk 14, or the like. In the computer system 10, the above-described procedure can be realized by being sequentially read from the processor 12 and executed.
[0050]
【Example】
Next, specific examples of the above-described embodiment will be described.
[0051]
First, an example in which the above-described embodiment is applied to the Zalesak problem (see Reference 9 (ST Zalesak, J. Comput. Phys. 31, 335 (1979))) will be described.
[0052]
As shown in FIG. 4, the moving boundary problem of this embodiment is to rotate a circular two-dimensional rigid body 31 having a notch in a part in a counterclockwise direction along an arrow 32.
[0053]
Here, the initial condition of the rigid body 31 was set to the following formula (10).
[0054]
[Equation 9]
Figure 0003978534
[0055]
In addition, the lattice for calculation is a 100 × 100 orthogonal fixed lattice, and the rotation speed of the rigid body 31 is calculated in one rotation in 628 calculation steps under the velocity field as in the following equation (11). It was like that. (That is, the time interval Δt is set to 1/628.)
[0056]
[Expression 10]
Figure 0003978534
[0057]
Further, the level set function f ls is assumed to be as shown in FIG. Note that corresponds to such a level set function f ls, zero level set (boundary) and density function f color in the initial state, respectively, is as shown in FIG. 5 (b) (c).
[0058]
Under such conditions, a zero level set tracking function f zero having the same form as the level set function f ls is prepared, and this zero level set tracking function f zero is time-developed by the CIP method according to the above equation (11). Based on the zero level set tracking function f zero , a zero level set representing a moving boundary is obtained, and a level set function f ls required for setting the moving boundary is obtained based on the obtained zero level set. Constructed and set moving boundaries.
[0059]
6 (a), 6 (b) and 6 (c), (d) are diagrams showing the state of the boundary after one rotation and ten rotations of the rigid body 31, respectively. FIGS. 6A and 6C are diagrams showing the zero level set (boundary) obtained based on the level set function f ls together with an exact solution (initial condition). FIGS. It is a figure which shows the density function fcolor calculated | required based on the level set function fls .
[0060]
As shown in FIGS. 6 (a), (b), (c), and (d), in this embodiment, it can be seen that the boundary is accurately captured even after 10 revolutions as well as after 10 revolutions of the rigid body 31.
[0061]
Here, as a comparative example, FIGS. 7A and 7B show a boundary state when the rigid body 31 is rotated once by using the above-described conventional level set method. FIG. 7A shows a zero level set (boundary) together with an exact solution (initial condition), and FIG. 7B shows a density function f color . Note that, in the level set method in this comparative example, the CIP method was used as a solution method of the advection equation when the level set function fls is developed over time.
[0062]
As shown in FIGS. 7 (a) and 7 (b), it can be seen that in this comparative example, the movement boundary is considerably deviated from the initial state, even after one rotation. Note that this deviation increased with time.
[0063]
Next, an example in which the above-described embodiment is applied to a fluid problem will be described.
[0064]
As shown in FIGS. 8A and 8B, the fluid problem of this embodiment is that the rectangular rigid body 33 is dropped on the water surface 34. The lattice for calculation was a 40 × 40 orthogonal fixed lattice, and the time interval (Δt) was determined so as to satisfy the stability condition. As a fluid simulation method, a CUP method (Reference 10 (T. Yabe and PY Wang, J. Phys. Soc. Jpn. 60, 2105 (1991)) is a calculation method of multiphase flow based on the Poisson equation of pressure. )))) Was used.
[0065]
As a result, as shown in FIG. 8B, it can be seen that in this embodiment, the shape of the rigid body 33 is well captured despite the relatively small number of lattices. In contrast, in the comparative example shown in FIG. 8C (using the conventional level set method), it can be seen that the corners of the rigid body 33 tend to be rounded due to an error during the reinitialization process.
[0066]
【The invention's effect】
As described above, according to the present invention, it is possible to effectively prevent accumulation of errors during re-initialization processing, which is a problem in the level set method, and to accurately capture the moving boundary on the fixed grid. Therefore, the present invention is extremely useful for designing a structure corresponding to a rapid stream of a river, a large-scale wave on a coast, a fluid phenomenon in an industrial apparatus, and the like.
[Brief description of the drawings]
FIG. 1 is a flowchart for explaining an embodiment of a moving boundary setting method according to the present invention.
FIG. 2 is a conceptual diagram for explaining the outline of the embodiment shown in FIG. 1 taking a one-dimensional moving boundary problem as an example;
FIG. 3 is a diagram showing an example of a computer system that executes a computer program that implements the embodiment shown in FIG. 1;
FIG. 4 is a schematic diagram for explaining the outline of the Zalesak problem (two-dimensional rigid body rotation problem) as an embodiment of the present invention.
FIG. 5 is a diagram showing an example of a level set function, a zero level set, and a density function in the embodiment shown in FIG. 4;
6 is a diagram showing a boundary state after rotation (after one rotation and after ten rotations) of the rigid body in the embodiment shown in FIG. 4;
FIG. 7 is a view showing a boundary after a rigid body is rotated (after one rotation) when a conventional level set method is used.
FIG. 8 is a diagram showing a calculation result of a fluid problem (problem of dropping a rectangular rigid body onto the water surface) as an embodiment of the present invention.
FIG. 9 is a diagram illustrating an example of a level set function used in a one-dimensional fluid problem.
FIG. 10 is a diagram illustrating an example of a one-dimensional fluid problem in which the boundary topology changes.
FIG. 11 is a conceptual diagram for explaining an overview of a conventional level set method.
[Explanation of symbols]
f zero level set tracking function f ls level set function 10 computer system 20 level set functions 21, 22 boundary

Claims (5)

移動境界を有する流体現象を数値的に解析する流体シミュレーションで用いられ、固定格子上を移動する移動境界をレベルセット法を用いて設定する、移動境界の設定方法において、
移流方程式に従って移動する移動境界の設定に必要とされるレベルセット関数から独立した関数として、移動境界を表すゼロレベルセットを追跡することを目的とするゼロレベルセット追跡関数であって、そのゼロ等高面がゼロレベルセットであり、レベルセット関数と同一の形を有するゼロレベルセット追跡関数を準備するステップと、
前記ゼロレベルセット追跡関数を前記移流方程式に従って、当該移流方程式の計算を安定的に行うために要求される安定性の条件から決定される時間間隔分だけ時間発展させる時間発展ステップと、
前記時間発展ステップにより時間発展された後のゼロレベルセット追跡関数に基づいて、移動境界を表すゼロレベルセットを求めるとともに、この求められたゼロレベルセットに基づいて、移動境界の設定に必要とされるレベルセット関数を構築する境界設定ステップとを含み、
前記時間発展ステップおよび前記境界設定ステップを、所定の終了時間に達するまで繰り返すことを特徴とする、移動境界の設定方法。
In a moving boundary setting method, which is used in a fluid simulation that numerically analyzes a fluid phenomenon having a moving boundary and sets a moving boundary that moves on a fixed grid using a level set method,
A zero level set tracking function intended to track the zero level set representing the moving boundary as a function independent of the level set function required for setting the moving boundary moving according to the advection equation, such as zero Providing a zero level set tracking function whose elevation is a zero level set and having the same shape as the level set function;
A time evolution step of evolving the zero level set tracking function according to the advection equation by a time interval determined from a stability condition required to stably calculate the advection equation;
Based on the zero level set tracking function after time evolution by the time evolution step, a zero level set representing a movement boundary is obtained, and the movement boundary is set based on the obtained zero level set. A boundary setting step for constructing a level set function
A method for setting a moving boundary, wherein the time development step and the boundary setting step are repeated until a predetermined end time is reached.
前記境界設定ステップにより構築されたレベルセット関数に基づいて、移動境界の内外にある物質の識別に用いられる密度関数を求めるステップをさらに含むことを特徴とする、請求項1記載の方法。  The method according to claim 1, further comprising: determining a density function used for identifying substances inside and outside the moving boundary based on the level set function constructed by the boundary setting step. 前記時間発展ステップにおいて、前記移流方程式をCIP法により解くことを特徴とする、請求項1または2記載の方法。  3. The method according to claim 1, wherein the advection equation is solved by a CIP method in the time evolution step. 前記固定格子は直交固定格子であることを特徴とする、請求項1乃至3のいずれか記載の方法。  The method according to claim 1, wherein the fixed grating is an orthogonal fixed grating. 移動境界を有する流体現象を数値的に解析する流体シミュレーションで用いられ、固定格子上を移動する移動境界をレベルセット法を用いて設定する、移動境界の設定方法を実現するコンピュータプログラムにおいて、
コンピュータに対して実行させる手順として、
移流方程式に従って移動する移動境界の設定に必要とされるレベルセット関数から独立した関数として、移動境界を表すゼロレベルセットを追跡することを目的とするゼロレベルセット追跡関数であって、そのゼロ等高面がゼロレベルセットであり、レベルセット関数と同一の形を有するゼロレベルセット追跡関数を準備する手順と、
前記ゼロレベルセット追跡関数を前記移流方程式に従って、当該移流方程式の計算を安定的に行うために要求される安定性の条件から決定される時間間隔分だけ時間発展させる時間発展手順と、
前記時間発展手順により時間発展された後のゼロレベルセット追跡関数に基づいて、移動境界を表すゼロレベルセットを求めるとともに、この求められたゼロレベルセットに基づいて、移動境界の設定に必要とされるレベルセット関数を構築する境界設定手順とを含み、
前記時間発展手順および前記境界設定手順を、所定の終了時間に達するまで繰り返しコンピュータに対して実行させることを特徴とする、移動境界の設定方法を実現するコンピュータプログラム。
In a computer program for realizing a moving boundary setting method, which is used in a fluid simulation for numerically analyzing a fluid phenomenon having a moving boundary and sets a moving boundary moving on a fixed grid using a level set method.
As a procedure to be executed on the computer,
A zero level set tracking function intended to track the zero level set representing the moving boundary as a function independent of the level set function required for setting the moving boundary moving according to the advection equation, such as zero A procedure for preparing a zero level set tracking function whose elevation is a zero level set and having the same shape as the level set function;
A time evolution procedure for evolving the zero level set tracking function according to the advection equation by a time interval determined from a stability condition required to stably calculate the advection equation;
Based on the zero level set tracking function after time evolution by the time evolution procedure, a zero level set representing a movement boundary is obtained, and the movement boundary is set based on the obtained zero level set. A boundary setting procedure for constructing a level set function
A computer program for realizing a moving boundary setting method, wherein the computer repeatedly executes the time evolution procedure and the boundary setting procedure until a predetermined end time is reached.
JP2001351585A 2001-11-16 2001-11-16 Method for setting moving boundary moving on fixed grid and computer program for realizing the same Expired - Lifetime JP3978534B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001351585A JP3978534B2 (en) 2001-11-16 2001-11-16 Method for setting moving boundary moving on fixed grid and computer program for realizing the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001351585A JP3978534B2 (en) 2001-11-16 2001-11-16 Method for setting moving boundary moving on fixed grid and computer program for realizing the same

Publications (2)

Publication Number Publication Date
JP2003150651A JP2003150651A (en) 2003-05-23
JP3978534B2 true JP3978534B2 (en) 2007-09-19

Family

ID=19163879

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001351585A Expired - Lifetime JP3978534B2 (en) 2001-11-16 2001-11-16 Method for setting moving boundary moving on fixed grid and computer program for realizing the same

Country Status (1)

Country Link
JP (1) JP3978534B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006098034A1 (en) 2005-03-17 2006-09-21 Fujitsu Limited Simulation apparatus, simulation method, simulation program, and computer readable recording medium in which that program has been recorded
JP4527762B2 (en) * 2007-10-31 2010-08-18 日本電信電話株式会社 POSITION CORRECTION DEVICE, POSITION CORRECTION METHOD, AND POSITION CORRECTION PROGRAM
JP5377501B2 (en) * 2008-09-11 2013-12-25 国立大学法人京都大学 Structure optimization device, structure optimization method, and structure optimization program
JP5033211B2 (en) * 2010-03-31 2012-09-26 住友ゴム工業株式会社 Boundary position determination method in fluid simulation
CN102841964B (en) * 2012-08-17 2015-04-08 大连理工大学 A 3D Computational Method for the Evolution of Plasma Etching Profiles
CN117195375B (en) * 2023-09-27 2024-06-11 湖北工业大学 Simulation modeling method for two-storage joint casting system of high arch dam

Also Published As

Publication number Publication date
JP2003150651A (en) 2003-05-23

Similar Documents

Publication Publication Date Title
Andreasen et al. Level set topology and shape optimization by density methods using cut elements with length scale control
Borcea et al. On the number of embeddings of minimally rigid graphs
Saye et al. Analysis and applications of the Voronoi implicit interface method
CN100565496C (en) Space simulation facility and method
CN112861445A (en) Simulation method of grid-free numerical model
JP3978534B2 (en) Method for setting moving boundary moving on fixed grid and computer program for realizing the same
Bernard et al. High-order h-adaptive discontinuous Galerkin methods for ocean modelling
Marić et al. lentFoam–A hybrid Level Set/Front Tracking method on unstructured meshes
Sussman et al. A discontinuous spectral element method for the level set equation
Merriman et al. Level set methods, with an application to modeling the growth of thin films
CN106024080B (en) It is a kind of to obtain the method that reactor core netron-flux density is finely distributed
Li High order arbitrary Lagrangian-Eulerian finite difference WENO scheme for Hamilton-Jacobi equations
CN102252672A (en) Nonlinear filtering method for underwater navigation
Zhang et al. An AI-aided algorithm for multivariate polynomial reconstruction on Cartesian grids and the PLG finite difference method
CN105807093A (en) Acceleration measurement method and device based on particle image velocimetry technology
Lervåg Calculation of interface curvature with the level-set method
Mourad et al. An assumed‐gradient finite element method for the level set equation
CN116595745B (en) High-precision capture method of strong impact material interface based on particle level set
JP2011065360A (en) Flow numerical analysis method for setting boundary condition of unramified and non-orthogonal structural grid and using iterative computation
Zhu et al. A generalization of a troubled-cell indicator to h-adaptive meshes for discontinuous Galerkin methods
Pons et al. A Lagrangian approach to dynamic interfaces through kinetic triangulation of the ambient space
CN114707433A (en) Numerical simulation method for gas-liquid two-phase flow of aircraft engine
CN116595748B (en) A high-precision numerical simulation method for strong shock compressible multiphase fluids
Ahmed Techniques for mesh independent displacement recovery in elastic finite element solutions
Kumar et al. Local interface remapping based curvature computation on unstructured grids in volume of fluid methods using machine learning

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040907

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041104

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20041224

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050210

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20050224

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20050318

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070417

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070611

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100706

Year of fee payment: 3