コンテンツにスキップ

phase-separation2d

英語 | 日本語

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

2D spinodal decomposition / phase separation -- OpenRheo two-phase phase-field benchmark (clean-room). A homogeneous 50/50 mixture is quenched into the two-phase region by seeding phi = 1/2 + small random noise in a fully periodic, gravity-free square box with equal densities and viscosities. The mixture is linearly unstable: the noise grows, the two phases separate into an interpenetrating (bicontinuous) domain morphology, and those domains then COARSEN -- a single characteristic length L(t) grows as a power law.

概要: 50:50 組成の急冷によるスピノーダル分解。ドメインサイズ L(t) の粗大化べき則を見る。長時間挙動の検証。

Geometry

phase-separation2d geometry

Animation

Fields

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

phase-separation2d phi

phase-separation2d umag

Build & run

cmake -S native -B native/build && cmake --build native/build -j
./native/build/orheo-phase-separation2d

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

Validation

Tier T2 — 単点比較
QoI domain_length_exponent
Reference spinodal-decomposition coarsening power law L(t) ~ t^(2/3)
Gate 🧩 モジュールゲート (phase_field)

Source & run details

View source

Item Value
Target orheo-phase-separation2d
Source native/benchmarks/phase_separation2d.cpp
Lattice D2Q9
GPU twin no
Modules two_phase.hpp
Gallery run 2026-07-27 @ 8da31257
Args ``
Wall time 56.48 s
CPU time 3647.09 s
Device Miyabi-G Grace CPU (72 cores, -stdpar=multicore)

Computation log

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

=== Phase separation 2D (spinodal decomposition) ===
grid 256 x 256 (nz=1)  periodic, no gravity, rho ratio 1
nu=0.01 (tau=0.5300)  sigma=0.01  width=4  mob=0.02
phi0=0.500  noise amp=0.01  seed=12345  steps=60000  MRT s_ghost=1.00
  snapshot -> ./psep_phi_000001.dat
  snapshot -> ./psep_phi_000002.dat
  snapshot -> ./psep_phi_000003.dat
  snapshot -> ./psep_phi_000004.dat
  snapshot -> ./psep_phi_000007.dat
  snapshot -> ./psep_phi_000011.dat
  snapshot -> ./psep_phi_000018.dat
  snapshot -> ./psep_phi_000028.dat
  snapshot -> ./psep_phi_000046.dat
  snapshot -> ./psep_phi_000074.dat
...

step  48000  L=99.422  ilen=659  <phi>=0.5000  umax=1.53e-02  phi[-0.000,1.000]
step  50000  L=94.665  ilen=692  <phi>=0.5000  umax=1.27e-02  phi[-0.000,1.000]
step  52000  L=91.267  ilen=718  <phi>=0.5000  umax=9.55e-03  phi[-0.000,1.000]
step  54000  L=90.216  ilen=726  <phi>=0.5000  umax=9.48e-03  phi[-0.000,1.000]
step  56000  L=93.745  ilen=699  <phi>=0.5000  umax=1.19e-02  phi[-0.000,1.000]
step  58000  L=99.355  ilen=660  <phi>=0.5000  umax=1.22e-02  phi[-0.000,1.000]
step  60000  L=105.280  ilen=622  <phi>=0.5000  umax=1.30e-02  phi[-0.000,1.000]
  snapshot -> ./psep_phi_060000.dat
done. csv -> phase_separation2d.csv