コンテンツにスキップ

rayleigh-taylor2d

英語 | 日本語

« Home · « 二相流(フェーズフィールド)

2D single-mode Rayleigh-Taylor instability -- OpenRheo two-phase phase-field benchmark (clean-room). A heavy fluid rests on top of a light one under gravity; a single-mode cosine perturbation of the horizontal interface grows, the heavy spike falls and the light bubble rises, and the interface rolls up into the characteristic Kelvin-Helmholtz "mushroom" by t* ~ 3-4.

概要: 重い流体が軽い流体の上に載った単一モードのレイリー・テイラー不安定。スパイクとバブルの先端位置を文献と比較する。

Geometry

rayleigh-taylor2d geometry

Animation

Fields

この計算が最後の出力ステップで書き出した場をそのまま描いたもの。3D ケースは中央断面。

rayleigh-taylor2d phi

rayleigh-taylor2d umag

Build & run

cmake -S native -B native/build && cmake --build native/build -j
./native/build/orheo-rayleigh-taylor2d

このページの図を作った計算のコスト(Miyabi-G Grace CPU (72 cores, -stdpar=multicore)): 4.1 s wall。

Validation

Tier T2 — 単点比較
QoI spike_position, bubble_position
Reference He, Chen & Zhang (1999) single-mode RT front positions
Gate 🧩 モジュールゲート (two_phase_laplace)

Source & run details

View source

Item Value
Target orheo-rayleigh-taylor2d
Source native/benchmarks/rayleigh_taylor2d.cpp
Lattice D2Q9
GPU twin no
Modules two_phase.hpp
Gallery run 2026-07-27 @ 7628c0cf
Args ``
Wall time 4.12 s
CPU time 198.64 s
Device Miyabi-G Grace CPU (72 cores, -stdpar=multicore)

Computation log

この計算の実際の出力(先頭と末尾)。

# RT2D  nx=64 ny=256 d=64  At=0.500 Re=256.0  g=2.500e-05 nu=1.000e-02 sigma=1.00e-04 amp=6.40
# inviscid linear rate n=sqrt(At g k)=1.1078e-03  t*=step*4.4194e-04  (t*=1 at step 2263)
step 100  t*=0.044
step 200  t*=0.088
step 300  t*=0.133
step 400  t*=0.177
step 500  t*=0.221
step 600  t*=0.265
step 700  t*=0.309
step 800  t*=0.354
step 900  t*=0.398
step 1000  t*=0.442
step 1100  t*=0.486
step 1200  t*=0.530
...

step 9300  t*=4.110
step 9400  t*=4.154
step 9500  t*=4.198
step 9600  t*=4.243
step 9700  t*=4.287
step 9800  t*=4.331
step 9900  t*=4.375
step 10000  t*=4.419
done. csv -> rt2d.csv