Skip to main content
Log in

On the Quality of Velocity Interpolation Schemes for Marker-in-Cell Method and Staggered Grids

  • Published:
Pure and Applied Geophysics Aims and scope Submit manuscript

Abstract

The marker-in-cell method is generally considered a flexible and robust method to model the advection of heterogenous non-diffusive properties (i.e., rock type or composition) in geodynamic problems. In this method, Lagrangian points carrying compositional information are advected with the ambient velocity field on an Eulerian grid. However, velocity interpolation from grid points to marker locations is often performed without considering the divergence of the velocity field at the interpolated locations (i.e., non-conservative). Such interpolation schemes can induce non-physical clustering of markers when strong velocity gradients are present (Journal of Computational Physics 166:218–252, 2001) and this may, eventually, result in empty grid cells, a serious numerical violation of the marker-in-cell method. To remedy this at low computational costs, Jenny et al. (Journal of Computational Physics 166:218–252, 2001) and Meyer and Jenny (Proceedings in Applied Mathematics and Mechanics 4:466–467, 2004) proposed a simple, conservative velocity interpolation scheme for 2-D staggered grid, while Wang et al. (Geochemistry, Geophysics, Geosystems 16(6):2015–2023, 2015) extended the formulation to 3-D finite element methods. Here, we adapt this formulation for 3-D staggered grids (correction interpolation) and we report on the quality of various velocity interpolation methods for 2-D and 3-D staggered grids. We test the interpolation schemes in combination with different advection schemes on incompressible Stokes problems with strong velocity gradients, which are discretized using a finite difference method. Our results suggest that a conservative formulation reduces the dispersion and clustering of markers, minimizing the need of unphysical marker control in geodynamic models.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8

Similar content being viewed by others

References

  • Agrusta, R., van Hunen, J., & Goes, S. (2014). The effect of metastable pyroxene on the slab dynamics. Geophysical Research Letters, 41(24), 8800–8808.

    Article  Google Scholar 

  • Crameri, F., Schmeling, H., Golabek, G., Duretz, T., Orendt, R., Buiter, S., et al. (2012). A comparison of numerical surface topography calculations in geodynamic modelling: An evaluation of the ‘sticky air’ method. Geophysical Journal International, 189(1), 38–54.

    Article  Google Scholar 

  • Duretz, T., May, D., Gerya, T., & Tackley, P. (2011). Discretization errors and free surface stabilization in the finite difference and marker-in-cell method for applied geodynamics: A numerical study. Geochemistry Geophysics Geosystems, 12(7), 1–26.

    Article  Google Scholar 

  • Duretz, T., May, D., & Yamato, P. (2016). A free surface capturing discretization for the staggered grid finite difference scheme. Geophysical Journal International, 204(3), 1518–1530.

    Article  Google Scholar 

  • Evans, M., & Harlow, F. (1957). The particle-in-cell method for hydrodynamic calculations. Los Alamos National Laboratory Report, LA-2139.

  • Fornberg, B. (1995). A practical guide to pseudospectral methods. In: Cambridge Monographs on Applied and Computational Mathematics. Cambridge University Press.

  • Gerya, T. (2010). Introduction to numerical geodynamic modelling. Cambridge University Press.

  • Gerya, T., & Yuen, D. (2003). Characteristics-based marker-in-cell method with conservative finite-differences schemes for modeling geological flows with strongly variable transport properties. Physics of the Earth and Planetary Interiors, 140, 293–318.

    Article  Google Scholar 

  • Harlow, F., & Welch, J. (1965). Numerical calculation of time-dependent viscous incompressible flow of fluid with free surface. The Physics of Fluids, 8(2), 2182–2189.

    Article  Google Scholar 

  • Hirth, G., & Kohlstedt, D. (2003). Rheology of the upper mantle and the mantle wedge: A view from the experimentalists (Vol. 138, pp. 83–105). Washington, D.C: American Geophysical Union.

    Google Scholar 

  • Ismail-Zadeh, A. and Tackley, P. J. (2010). Computational methods for geodynamics. Cambridge University Press.

  • Jenny, P., Pope, S., Muradoglu, M., & Caughey, D. (2001). a hybrid algorithm for the joint pdf equation of turbulent reactive flows. Journal of Computational Physics, 166, 218–252.

    Article  Google Scholar 

  • Kaus, B., Mühlhaus, H., & May, D. (2010). A stabilization algorithm for geodynamic numerical simulations with a free surface. Physics of the Earth and Planetary Interiors, 181, 12–20.

    Article  Google Scholar 

  • Kaus, B., Popov, A., Baumann, T., Pusok, A., Bauville, A., Fernandez, N., & Collignon, M. (2016). Forward and inverse modeling of lithospheric deformation on geological timescales. NIC Symposium 2016---Proceedings, 48:1–8.

  • McNamara, A., & Zhong, S. (2004). The influence of thermochemical convection on the fixity of mantle plumes. Earth and Planetary Science Letters, 222(2), 485–500.

    Article  Google Scholar 

  • Meyer, D., & Jenny, P. (2004). Conservative velocity interpolation for PDF methods. proceedings in applied mathematics and mechanics, 4, 466–467.

    Article  Google Scholar 

  • Mishin, Y. (2011). Adaptive multiresolution methods for problems of computational geodynamics. PhD thesis.

  • Moresi, L., Dufour, F., & Mühlhaus, H. (2003). A Lagrangian integration point finite element method for large deformation modeling of viscoelastic geomaterials. Journal of Computational Physics, 184(2), 476–497.

    Article  Google Scholar 

  • Moresi, L., Zhong, S., & Gurnis, M. (1996). The accuracy of finite element solutions of Stokes’s flow with strongly varying viscosity. Physics of the Earth and Planetary Interiors, 97(1–4), 83–94.

    Article  Google Scholar 

  • Ranalli, G. (1995). Rheology of the earth (2nd ed.). London: Chapman and Hall.

    Google Scholar 

  • Schmeling, H., Babeyko, A., Enns, A., Faccenna, C., Funiciello, F., Gerya, T., et al. (2008). A benchmark comparison of spontaneous subduction models—towards a free surface. Physics of the Earth and Planetary Interiors, 171, 198–223.

    Article  Google Scholar 

  • Tackley, P., & King, S. (2003). Testing the tracer ratio method for modeling active compositional fields in mantle convection simulations. Geochemistry Geophysics Geosystems, 4(4), 1–15.

    Article  Google Scholar 

  • Thielmann, M., May, D., & Kaus, B. (2014). Discretization errors in the hybrid finite element particle-in-cell method. Pure and Applied Geophysics, 171(9), 2165–2184.

    Article  Google Scholar 

  • Turcotte, D. & Schubert, G. (2002). Geodynamics. Cambridge University Press, 2nd edn.

  • van Keken, P., King, S., Schmeling, H., Christensen, U., Neumeister, D., & Doin, M. (1997). A comparison of methods for the modeling of thermochemical convection. Journal of Geophysical Research, 102(B10), 22477–22495.

    Article  Google Scholar 

  • Velić, M., May, D., & Moresi, L. (2008). A fast robust algorithm for computing discrete voronoi diagrams. Journal of Mathematical Modelling and Algorithms, 8(3), 343–355.

    Google Scholar 

  • Wang, H., Agrusta, R., & van Hunen, J. (2015). Advantages of a conservative velocity interpolation (CVI) scheme for particle-in-cell methods with application in geodynamic modeling. Geochemistry, Geophysics, Geosystems, 16(6), 2015–2023

    Article  Google Scholar 

  • Woidt, W. (1978). Finite-element calculations applied to salt dome analysis. Tectonophysics, 50, 369–386.

    Article  Google Scholar 

  • Zhong, S. (1996). Analytic solutions for Stokes’ flow with lateral variations in viscosity. Geophysical Journal International, 124, 18–28.

    Article  Google Scholar 

Download references

Acknowledgements

We thank Taras Gerya for sharing the LinP interpolation method and for the many discussions related to this paper. We also thank the reviewers Thibault Duretz, Cedric Thieulot, Hongliang Wang, and the editor Wim Spakman, whose comments helped improve this paper. Funding was provided by the European Research Council under the European Community’s Seventh Framework Program (FP7/2007-2013)/ERC Grant Agreement #258830. The simulation data and the codes to reproduce the results presented in this study can be provided on request.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Adina E. Pusok.

Appendices

Appendix 1: Integration Equations

Fig. 9
figure 9

Interpolation sketch for staggered grid and \(V_y\) velocity component

The general interpolation schemes used in this study are explained in more detail below for one velocity component in 1-D. In Fig. 9, three staggered grid points, \(V_y^{i-1,j}, V_y^{i,j}, V_y^{i+1,j}\), are located at (\(x_0, x_1, x_2\)) points. \((U_{i-1}(x_c^{i-1}), U_i(x_c^{i})\)) are grid nodes and \(P(x_p)\) is a marker point. We illustrate here interpolation schemes to calculate velocities in the nodes (\(U_i, U_{i-1}\)) needed for the correction interpolation method. However, the equations below can also be used to calculate marker velocity directly from staggered points (i.e. direct interpolation) or other intermediate velocities steps. The velocity in the nodes, \(U_i\), is calculated in the following way:

  1. (a)

    Linear interpolation

    $$\begin{aligned} U_i = (1-x_c'^i)(V_y^{i,j} + V_y^{i+1,j}), \end{aligned}$$
    (16)

    where \(x_c'^i\) is the local coordinate of the node \(U_i\) (i.e. \(x_c'^i = (x_c^i-x_1)/\Delta x_i\)). The same principle is applied to the other nodes and velocity components. The 3-D tri-linear interpolation scheme is represented by Eq. (5) in the main text.

  2. (b)

    Linear interpolation combined with a minmod limiter

    $$\begin{aligned} U_i = V_y^{i,j} - \frac{\displaystyle \Delta x}{\displaystyle 2} minmod\left( \frac{\displaystyle V_y^{i+1,j}-V_y^{i,j}}{\displaystyle \Delta x_i} , \frac{\displaystyle V_y^{i,j}-V_y^{i-1,j}}{\displaystyle \Delta x_{i-1}}\right) , \end{aligned}$$
    (17)
    $$\begin{aligned} U_{i-1} = V_y^{i,j} + \frac{\displaystyle \Delta x}{\displaystyle 2} minmod\left( \frac{\displaystyle V_y^{i+1,j}-V_y^{i,j}}{\displaystyle \Delta x_i} , \frac{\displaystyle V_y^{i,j}-V_y^{i-1,j}}{\displaystyle \Delta x_{i-1}}\right) , \end{aligned}$$
    (18)

    where the minmod slope limiter is defined as:

    $$\begin{aligned} minmod(A,B) = {\left\{ \begin{array}{ll} A, \quad {\text {if}}\; A\cdot B \ge 0& \quad {\text { and }} \quad |A| \le |B| \\ B, \quad {\text {if}}\; A\cdot B \ge 0&\quad \text { and }\quad |A| \ge |B| \\ 0, \quad {\text{if}}\; A\cdot B \le 0&\quad \\ \end{array}\right. } \end{aligned}$$
    (19)
  3. (c)

    Quadratic interpolation—calculates one quadratic curve, passing through all three staggered velocity points. As such, the velocity at the node or any point is calculated as:

    $$\begin{aligned} U_i = a x^2 + b x + c, \end{aligned}$$
    (20)

    where \(x = x_c^i\) and the coefficients abc are given by:

    $$\begin{aligned} a&= \frac{V_y^{i-1,j}}{(x_0-x_1)(x_0-x_2)}+\frac{V_y^{i,j}}{(x_1-x_0)(x_1-x_2)}+\frac{V_y^{i+1,j}}{(x_2-x_0)(x_2-x_1)}\end{aligned}$$
    (21)
    $$\begin{aligned} b&= \frac{V_y^{i-1,j}-V_y^{i,j}}{x_0-x_1} - a(x_0+x_1)\end{aligned}$$
    (22)
    $$\begin{aligned} c&= V_y^{i-1,j} - a x_0^2 - b x_0. \end{aligned}$$
    (23)
  4. (d)

    Spline quadratic interpolation—calculates two quadratic curves, one between \(V_y^{i-1,j}\) and \(V_y^{i,j}\) and another between \(V_y^{i,j}\) and \(V_y^{i+1,j}\), and the derivative is continuous at \(V_y^{i,j}\). As such, the velocity at the node is calculated as:

    $$\begin{aligned} U_{i-1}&= a_1 x^2 + b_1 x +c_1,\quad \text{with}\;\; x = x_c^{i-1}\end{aligned}$$
    (24)
    $$\begin{aligned} U_i&= a_2 x^2 + b_2 x +c_2, \quad \text{with}\;\; x = x_c^i \end{aligned}$$
    (25)

    and where the coefficients \(a_1, b_1, c_1, a_2, b_2, c_2\) are given by:

    $$\begin{aligned} a_1&= 0 \end{aligned}$$
    (26)
    $$\begin{aligned} b_1&= \frac{V_y^{i,j}-V_y^{i-1,j}}{x_1-x_0}\end{aligned}$$
    (27)
    $$\begin{aligned} c_1&= V_y^{i-1,j} - b_1 x_0 \end{aligned}$$
    (28)
    $$\begin{aligned} a_2&= \left( \frac{V_y^{i,j}-V_y^{i+1,j}}{x_1-x_2} - b_1\right) \frac{1}{x_2-x_1}\end{aligned}$$
    (29)
    $$\begin{aligned} b_2&= b_1 - 2 a_2 x_1 \end{aligned}$$
    (30)
    $$\begin{aligned} c_2&= V_y^{i,j} - b_2 x_1 - a_2 x_1^2 \end{aligned}$$
    (31)

Appendix 2: Extended Results

In this section, we present the full results for the experiments performed in Sect 3. Figure 10 shows results for the SolCx benchmark for different resolutions, initial marker distribution and viscosity contrasts. Figure 10a, b shows that marker artifacts occur for all interpolation schemes, with the exception of LinP and CorrMinmod, and are independent of initial marker distribution and resolution. Further tests (Fig. 10c) suggest that artifacts become visible and problematic for \(\Delta \eta > 10^3\). Figure 11 shows results for all the interpolation methods for the Rayleigh–Taylor instability test.

Fig. 10
figure 10

Extended results for the SolCx benchmark

Fig. 11
figure 11

Extended results for the Rayleigh–Taylor instability test

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Pusok, A.E., Kaus, B.J.P. & Popov, A.A. On the Quality of Velocity Interpolation Schemes for Marker-in-Cell Method and Staggered Grids. Pure Appl. Geophys. 174, 1071–1089 (2017). https://doi.org/10.1007/s00024-016-1431-8

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00024-016-1431-8

Keywords

Navigation