Layered flow with viscosity contrast#
This section was contributed by Cedric Thieulot.
The idea behind this benchmark is to construct an analytical solution to the incompressible Stokes equation in the case where the viscosity field showcases a viscosity contrast at location \(y=y_0\) whose amplitude and width can be controlled. The viscosity is defined as
where \(\beta\) and \(\epsilon\) are chosen by the user. Viscosity profiles for different values of \(\beta\) and \(\epsilon\) are shown in Fig. 215 and Fig. 216. The set up of this benchmark allows testing how discretizations deal with abrupt changes in the viscosity (if \(\beta\) is small) as well as large changes in the viscosity (if \(\epsilon\) is small).
The flow is assumed to take place in an infinitely long domain (in the horizontal direction) and bounded by \(y=-1\) and \(y+1\). At the bottom we impose \(v_x(y=-1)=0\), while we impose \(v_x(y=+1)=1\) at the top. The density is set to 1 while the gravity is set to zero. Under these assumptions, the flow velocity and pressure fields are given by:
where \(C_1\) and \(C_2\) are integration constants:
The viscosity and velocity fields are shown in Fig. 217 and Fig. 218 for \(\beta=0.01\) and \(\epsilon=0.05\).