MOF test case verifying temporal convergence
The simulations take place in a box of fluid of coordinates (0,0) and (1,1). The second fluid initially occupies a rectangular domain in the box.
Both of the fluids considered have the same properties :
\(\rho\) | \(\mu\) | \(\sigma\) | C | \(\alpha\) | \(T_{0}\) |
---|---|---|---|---|---|
1 | 1 | 1 | 1 | 1 | 1 |
where \(\rho\) is the density, \(\mu\) the dynamic viscosity coefficient, \(\sigma\) the conductivity, C the specific heat capacity, \(\alpha\) the thermal expansion coefficient and \(T_{0}\) the reference temperature.
The velocity field is unidirectional. The direction is selected according to the variable direction. If direction=1, the velocity is expressed as \(u=(\alpha \cos(\beta t) + \gamma,0)\), where \( \alpha, \beta\) and \( \gamma \) are determined from the initial conditions.
The numerical method used for phase advection is MOF.
A regular mesh with \( \dfrac{L}{\Delta x}=32 \) for each direction is considered.
The time step is fixed and equals to 0,01 s.
The UseAnalytic variable is used to toggle the analytic reconstruction. The tolerance angle and derivative are respectively set to \(10^{-5}\) and 0.
The UseFilaments variable is used to toggle the filaments in MOF method.
The variables direction and sign allow to adjust the direction of the velocity and the position of the initial domain of the second fluid.
Using filaments and analytic reconstruction have no great impact on numerical results. We choose as default case enabling analytic reconstruction and disabling filaments.
Figure 1 presents the volume fraction of the fluids at three different times for the default case.
The area of symmetric difference is 9.63832518352091688E-007 m².
Five temporal discretizations were used to study the temporal convergence.
Time step | Area of symmetric difference | order |
---|---|---|
0.01 | 9.638325183520917e-07 | n/a |
0.005 | 2.4095738624567783e-07 | 2.000 |
0.0025 | 6.023930141166312e-08 | 2.000 |
0.00125 | 1.505982403626066e-08 | 2.000 |
0.000625 | 3.764958129981456e-09 | 2.000 |