MOF test case with rigid rotation
The aim of this test case is to simulate the behavior of two fluids in a box with a zalesak's slotted disk.
The verification criteria is:
The simulations take place in a box of fluid of coordinates (0,0) and (1,1). The second fluid is placed in a zalesak's slotted disk positioned at (0.5,0.75).
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.
We consider the case of the rigid rotation. The velocity is set to : \(u(x,y)=(2 \pi (\dfrac{1}{2}-y) ,2 \pi (x- \dfrac{1}{2}))\)
The numerical method used for phase advection is MOF.
We involve the variable CellsPerDirection to change the regular mesh in order to study the convergence. By default, this variable takes the value 16. We consider \(\dfrac{L}{\Delta x}=CellsPerDirection\) for each direction of the grid.
The time step is fixed for the numerical resolution but depends on the variable CellsPerDirection. Time step is defined as: \(\Delta t=CFL \dfrac{\Delta x}{V_{max}}\) where \(V_{max}= \dfrac{\pi}{\sqrt2}\). The final time is set to 1s.
The UseAnalyticReconstruction variable is used to choose between the analytic reconstruction and minimization. The tolerance angle and derivative are respectively set to \(10^{-5}\) and 0.
The UseFilaments variable is added for using Filaments at MOF method.
After running many cases, one observes that neither using filaments nor analytic reconstruction make a difference.
Figure 1 shows the volume fraction of the fluids at different times when CellsPerDirection=128.
Five spatial discretizations are used to study the convergence of the mesh.
Mesh | Area of symmetric difference | order |
---|---|---|
16×16 | 0.009512639522275095 | n/a |
32×32 | 0.0019090203585962542 | 2.317 |
64×64 | 0.0001507775251455658 | 3.662 |
128×128 | 3.186137374736726e-05 | 2.243 |
256×256 | 8.458533635165664e-06 | 1.913 |