Example 1: coalescence of two bubbles¶
Files¶
- Comprehensive test file: main.cpp
 - Reference results for comparison: time_specialized.csv
 
Statement of the problem¶
This test corresponds to a 2D simulation of coalescence of two kissing bubbles.
The domain is a square
where is the phase indicator, the generalized chemical potential and the derivative against of the potential defined by:
Initial condition¶
The initial condition consists of two bubbles:
    Parameters used for the test¶
For this test, all parameters are equal to one except the energy gradient coefficient.
| Name | Description | Symbol | Value | 
|---|---|---|---|
mob | 
mobility coefficient | ||
lambda | 
energy gradient coefficient | ||
omega | 
depth of the double-well potential | 
Boundary conditions¶
Neumann boundary conditions are prescribed on the boundary of the domain:
Numerical scheme¶
- Time integration: Euler Implicit over the interval (it could be extended further) with a time-step
 - Spatial discretization: uniform grid with nodes in each spatial direction
 - Newton solver: relative tolerance , absolute tolerance
 - Iterative solver: HYPRE_GMRES
 - Preconditioner: HYPRE_ILU
 
Results¶
The average value of  is an available ouput of the simulation (see the file time_specialized.csv). It is defined by:
For this test, the computed average value should remain constant over time.
The figure 2 shows the coalescence of the two bubbles, with a final simulation time set to .