contact-angle2d¶
英語 | 日本語
2D sessile-droplet contact-angle benchmark, on OpenRheo's OWN two-phase phase-field LBM (conservative Allen-Cahn + Fakhari 2017 high-density-ratio hydrodynamics, MRT), two_phase.hpp.
概要: 壁面上の静止液滴。指定した平衡接触角が Young の式どおりに実現されるかを測る。濡れ性モデルの検証。
Geometry¶

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


Build & run¶
cmake -S native -B native/build && cmake --build native/build -j
./native/build/orheo-contact-angle2d
このページの図を作った計算のコスト(Miyabi-G Grace CPU (72 cores, -stdpar=multicore)): 89.8 s wall。
Validation¶
| Tier | T2 — 単点比較 |
| QoI | contact_angle |
| Reference | Young's law cos(theta) = (sigma_sv - sigma_sl)/sigma_lv |
| Gate | 🧩 モジュールゲート (phase_field) |
Source & run details¶
| Item | Value |
|---|---|
| Target | orheo-contact-angle2d |
| Source | native/benchmarks/contact_angle2d.cpp |
| Lattice | D2Q9 |
| GPU twin | no |
| Modules | two_phase.hpp |
| Gallery run | 2026-07-27 @ 7628c0cf |
| Args | `` |
| Wall time | 89.84 s |
| CPU time | 3766.29 s |
| Device | Miyabi-G Grace CPU (72 cores, -stdpar=multicore) |
Computation log¶
この計算の実際の出力(先頭と末尾)。
=== Sessile droplet contact angle 2D ===
grid 256x128 (nz=1) R=40.0 imposed theta=90.0 deg (cot=0.0000)
rho ratio=100 nu=0.05 sigma=0.01 W=4.0 M=0.02 s_ghost=1.00 steps=40000
s= 2000 theta_fit= 90.00 theta_chord= 90.00 Rc=40.00 base=80.00 apex=40.00 dp=2.089e-04 (lap 2.500e-04) umax=4.56e-05 md=1.49e-13
s= 4000 theta_fit= 90.00 theta_chord= 90.01 Rc=40.00 base=80.00 apex=40.00 dp=2.231e-04 (lap 2.500e-04) umax=4.52e-05 md=3.90e-13
s= 6000 theta_fit= 90.00 theta_chord= 90.01 Rc=40.00 base=80.00 apex=40.01 dp=2.244e-04 (lap 2.500e-04) umax=4.52e-05 md=5.79e-13
s= 8000 theta_fit= 90.00 theta_chord= 90.02 Rc=40.00 base=80.00 apex=40.01 dp=2.246e-04 (lap 2.500e-04) umax=4.51e-05 md=7.81e-13
s= 10000 theta_fit= 90.00 theta_chord= 90.03 Rc=40.00 base=80.00 apex=40.02 dp=2.246e-04 (lap 2.500e-04) umax=4.51e-05 md=9.83e-13
s= 12000 theta_fit= 90.00 theta_chord= 90.03 Rc=40.00 base=80.00 apex=40.02 dp=2.246e-04 (lap 2.500e-04) umax=4.51e-05 md=1.19e-12
s= 14000 theta_fit= 90.00 theta_chord= 90.04 Rc=40.00 base=80.00 apex=40.03 dp=2.246e-04 (lap 2.500e-04) umax=4.51e-05 md=1.38e-12
s= 16000 theta_fit= 90.00 theta_chord= 90.04 Rc=40.00 base=80.00 apex=40.03 dp=2.246e-04 (lap 2.500e-04) umax=4.51e-05 md=1.58e-12
s= 18000 theta_fit= 90.00 theta_chord= 90.05 Rc=40.00 base=80.00 apex=40.03 dp=2.246e-04 (lap 2.500e-04) umax=4.50e-05 md=1.78e-12
s= 20000 theta_fit= 90.00 theta_chord= 90.06 Rc=40.00 base=80.00 apex=40.04 dp=2.246e-04 (lap 2.500e-04) umax=4.50e-05 md=1.99e-12
...
s= 38000 theta_fit= 90.00 theta_chord= 90.10 Rc=40.00 base=79.99 apex=40.07 dp=2.246e-04 (lap 2.500e-04) umax=4.53e-05 md=3.79e-12
s= 40000 theta_fit= 90.00 theta_chord= 90.11 Rc=40.00 base=79.99 apex=40.07 dp=2.246e-04 (lap 2.500e-04) umax=4.53e-05 md=3.98e-12
=== FINAL (imposed theta = 90.0 deg) ===
measured theta fit=90.00 deg chord=90.11 deg
cap radius Rc=40.00 centre height d=0.00 base=79.99 apex=40.07
Laplace: dp=2.2457e-04 sigma/Rc=2.5003e-04 (ratio 0.898)
phi field -> contact_angle2d_phi.csv
CSV -> contact_angle2d.csv