• No results found

This paper analyzes inaccuracies of the numerical implementation of the con-servative level set model [68]. A circular bubble at rest is considered as a model problem. In this case the force due to surface tension should ideally be balanced by a jump in pressure. The study is performed by applying a complete Navier–

Stokes/two-phase flow solver to the problem and recording spurious velocities, see, e.g. [3], [25].

We observe that the velocity errors can be traced back to inaccuracies in the numerically calculated curvature that enter the continuous surface tension model. If the exact curvature is prescribed, there are no imbalances in the scheme, in case equal order elements are chosen for approximating pressure and the level set function. Choosing the element order of the level set function higher than the one for pressure introduces an additional imbalance. However, the use of higher order elements for the level set function has beneficial impact on the accuracy of curvature, so that the numerical model is still more accurate.

Moreover, we study the effect of the continuous representation of surface tension on the prediction of the jump in pressure between the inside and the outside of the bubble. This showed that the variation of the curvature along the finite width of the interface has the largest impact on pressure accuracy.

We perform the tests using two different flow solvers, in order to further eval-uate the accuracy of the force balance for finite element discretizations. The re-sults for a fully coupled implicit method and a decoupled (projection) solver are similar, which shows that choice of the solver does not affect the balance of forces.

6. Future Work

The method proposed in Paper III aims at providing phase-field-like features without having to use all its terms everywhere. This is done so that the phase field method is reduced to a level set formulation in regions far away from con-tact lines. It will be necessary to perform an in-depth convergence study of level set models and phase field models on several test cases in two-phase flow dy-namics. In particular, the resolution requirements of the two methods should be quantified in order to identify the precise benefits of the hybrid method. In our hybrid model, the equations have been coupled by a smoothly varying switch function. The influence of the switch function needs to be considered in an en-ergy estimate in order to ensure stability of the coupling of the equations, which has up to date only been verified numerically. Since the numerical implementa-tion of the equaimplementa-tions is based on a system of two equaimplementa-tions to avoid the direct appearance of fourth derivatives, the analysis needs to be performed in a way to correctly reflect the discretized state of the equations.

We also aim at using our models for larger problems, especially three-dimen-sional simulations. For this purpose, parallel implementations of the flow solver and the coupled level-set/Navier–Stokes system are necessary. Within the deal.II software that was used in Papers III and IV, it is possible to use parallel assembly and linear algebra routines. For a Stokes problem coupled to an advection equa-tion, a parallel version for up to about 50 processors has already been imple-mented by the author of this thesis.1The objective is to apply this implementa-tion framework to the coupled Navier–Stokes/level-set system and to eventually extend it to a massively parallel implementation for even larger systems.

The hybrid level-set/phase-field method is a potential tool for improving the simulation of multi-phase flow in porous media [17]. A first step in that direction is to apply the new model to more complicated geometries, like, e.g., channels with oscillating walls or flow around small obstacles. Small scale results are a helpful tool in the simulation of subsurface flow like the prediction of the flow in oil and gas reservoirs. The imposition of a pressure gradient on a small-scale material configuration induces a flow field, which can be used to determine val-ues for the permeability of that configuration. The permeability tensor is one of the main input parameter in coarse-scale simulations based on Darcy’s law.

In Paper IV, a study regarding error sources in the discrete approximation with the conservative level set implementation is presented. These results point out directions where the method needs to be improved. One such direction concerns

1See the deal.II tutorial program http://www.dealii.org/developer/doxygen/deal.II/step_32.html

the accuracy in the curvature calculations. A particularly easy approach is to use higher order finite elements for representing the level set function. When keep-ing the interface width constant, increaskeep-ing the order of approximation consid-erably increases resolution of the interface, and thus, accuracy of normals and curvature that rely on the interface representation. This improvement should be advantageous for the overall accuracy, even though a small imbalance in the force representation is introduced. Such a strategy increases the costs for the level set portion of the algorithm if the same mesh is used as for the Navier–

Stokes equations, though. An alternative would be to coarsen the level set mesh in regions away from the interface. This is reasonable since in these remote re-gions, only the momentum and continuity balances need to be represented ac-curately, while the level set equation does not contain any additional informa-tion. Similarly, the interface region can be resolved by more mesh points than there are used for the Navier–Stokes equations. However, this requires a special implementation for the evaluation of the surface tension force in the finite ele-ment algorithms because the variables are related to different meshes.

An alternative hybrid approach that might be taken into account is to not mix the level set formulation with the phase field formulation as has been done in Pa-per III, but to use the phase field model as a micro-scale input to a macro-scale formulation based on a level set description of two-phase flow. A heterogeneous multiscale approach has been proposed by Ren and E [75] for modeling the in-teraction of macro-scale fluid flow by micro-scale information from molecular dynamics. The response on molecular level provides information about the ex-pected motion of contact lines during one time step. This coupled model be-haves differently than large-scale level set model, which would assume zero ve-locity. It is conceivable that a similar interaction could be applied for a scale simulation done with the phase field model. The difficulty of such a micro-macro coupling is to find appropriate transfer operations from the micro scales to the macro scales. Suitable boundary conditions for the Cahn–Hilliard sub-problem given the solution of a macro-scale level set model are needed, as well as a shear velocity for the macro-scale Navier–Stokes equations, based on the results from a micro model.

Acknowledgments

I am very grateful to my adviser Gunilla Kreiss for introducing me to this inter-esting subject and for stimulating discussions on various aspects of multiphase flow. My thanks go to Volker Gravemeier who acquainted me with the subject of variational multiscale large eddy simulation for turbulent flow and stimulated ideas. I acknowledge discussions with Wolfgang Bangerth on implementation aspects of finite element programming. Finally, I would like to thank Katharina Kormann and Eddie Wadbro for countless discussions on computational math-ematics as well as proof-reading manuscripts of my articles and this thesis.

This work was supported by the Graduate School in Mathematics and Com-puting (FMB).

Bibliography

[1] D. Adalsteinsson and J. A. Sethian. A Fast Level Set Method for Propagating Inter-faces. J. Comput. Phys., 118(2):269–277, 1995.

[2] D. M. Anderson, G. B. McFadden, and A. A. Wheeler. Diffuse-Interface Methods in Fluid Mechanics. Annu. Rev. Fluid Mech., 30:139–165, 1998.

[3] E. Aulisa, S. Manservisi, and R. Scardovelli. A novel representation of the surface tension force for two-phase flow with reduced spurious currents. Comput. Methods Appl. Mech. Engrg., 195:6239–6257, 2006.

[4] I. Babuška. Error-bounds for finite element method. Numer. Math., 16(4):322–333, 1971.

[5] W. Bangerth, R. Hartmann, and Kanschat G. deal.II — a General Purpose Object Oriented Finite Element Library. ACM Trans. Math. Softw., 33(4):article no. 24, 2007.

[6] Y. Bazilevs, V. M. Calo, J. A. Cottrell, T. J. R. Hughes, A. Reali, and G. Scovazzi. Varia-tional multiscale residual-based turbulence modeling for large eddy simulation of incompressible flows. Comput. Methods Appl. Mech. Engrg., 197:173–201, 2007.

[7] L. Berselli, C. Grisanti, and V. John. On Communtation Errors in the Derivation of Space Averaged Navier–Stokes Equations. Technical Report 12, Dipartimento di Matematica Applicata, Università di Pisa, 2004.

[8] R. P. Beyer and R. J. Leveque. Analysis of a one-dimensional model for the immersed boundary method. SIAM J. Numer. Anal., 29(2):332–364, 1992.

[9] F. Boyer. A theoretical and numerical model for the study of incompressible mixture flows. Comput. & Fluids, 31:41–68, 2002.

[10] M. Braack, E. Burman, V. John, and G. Lube. Stabilized finite element methods for the generalized Oseen problem. Comput. Methods Appl. Mech. Engrg., 196:853–866, 2007.

[11] J. U. Brackbill, D. B. Kothe, and C. Zemach. A Continuum Method for Modeling Surface Tension. J. Comput. Phys., 100:335–354, 1992.

[12] F. Brezzi. On the existence, uniqueness and approximation of saddle-point prob-lems arising from Lagrangian multipliers. Rev. Française Automat. Informat.

Recherche Opérationelle Sér. Rouge, 8(R-2):129–151, 1974.

[13] D. L. Brown, R. Cortez, and M. L. Minion. Accurate Projection Methods for the In-compressible Navier–Stokes Equations. J. Comput. Phys., 168(2):464–499, 2001.

[14] J. W. Cahn and J. E. Hilliard. Free Energy of a Nonuniform System. I. Interfacial Free Energy. J. Chem. Phys., 28(2):258–267, 1958.

[15] A. J. Chorin. Numerical Solution of the Navier–Stokes Equations. Math. Comput., 22:745–762, 1968.

[16] S. S. Collis. Monitoring unresolved scales in multiscale turbulence modeling. Phys.

Fluids, 13:1800–1806, 2001.

[17] C. Crowe. Multiphase Flow Handbook. CRS Press, Boca Raton, 2006.

[18] J. Donea and A. Huerta. Finite Element Methods for Flow Problems. J. Wiley & Sons, Chichester, 2003.

[19] T. Dubois, F. Jauberteau, and R. Temam. Dynamic Multilevel Methods and the Nu-merical Simulation of Turbulence. Cambridge University Press, Cambridge, 1999.

[20] A. Dunca, V. John, and W. J. Layton. The Commutation Error of the Space Averaged Navier–Stokes Equations on a Bounded Domain. In G. P. Galdi, J. G. Heywood, and R. Rannacher, editors, Contributions to Current Challenges in Mathematical Fluid Mechanics, volume 3, pages 53–78. Birkhäuser Verlag, Basel, 2004.

[21] D. A. Edwards, H. Brenner, and D. T. Wasan. Interfacial Transport Processes and Rheology. Butterworth–Heinemann, Stoneham, 1991.

[22] H. Elman, D. Silvester, and A. Wathen. Performance and analysis of saddle point preconditioners for the discrete steady-state Navier–Stokes equations. Numer.

Math., 90(4):665–688, 2002.

[23] H. Elman, D. Silvester, and A. Wathen. Finite Elements and Fast Iterative Solvers with Applications in Incompressible Fluid Dynamics. Oxford Science Publications, Oxford, 2005.

[24] B. Engquist, A.-K. Tornberg, and R. Tsai. Discretization of Dirac delta functions in level set methods. J. Comput. Phys., 207:28–51, 2005.

[25] M. M. Francois, S. J. Cummins, E. D. Dendy, D. B. Kothe, J. M. Sicilian, and M. W.

Williams. A balanced-force algorithm for continuous and sharp interface surface tension models within a volume tracking framework. J. Comput. Phys., 213:141–

173, 2006.

[26] M. W. Gee, C. M. Siefert, J. J. Hu, R. S. Tuminaro, and M. G. Sala. ML 5.0 Smoothed Aggregation User’s Guide. Technical Report 2006-2649, Sandia National Laborato-ries, 2006.

[27] J. Glimm, J. Grove, B. Lendquist, O. A. McBryan, and G. Tryggvason. The bifurcation of tracked scalar waves. SIAM J. Sci. Stat. Comput., 9(1):61–79, 1988.

[28] R. Glowinski. Finite element methods for incompressible viscous flow. In J. L. Lions and P. G. Ciarlet, editors, Numerical Methods for Fluids (3), Handbook of Numerical Analysis, volume 9, pages 3–1176. North-Holland, Amsterdam, 2003.

[29] V. Gravemeier. Scale-separating operators for variational multiscale large eddy sim-ulation of turbulent flows. J. Comput. Phys., 212:400–435, 2006.

[30] V. Gravemeier. The Variational Multiscale Method for Laminar and Turbulent Flow.

Arch. Comput. Meth. Engrg., 13(2):249–324, 2006.

[31] P. M. Gresho and R. L. Sani. Incompressible Flow and the Finite Element Method, volume one: Advection–Diffusion. John Wiley & Sons, Chichester, 2000.

[32] P. M. Gresho and R. L. Sani. Incompressible Flow and the Finite Element Method, volume two: Isothermal Laminar Flow. John Wiley & Sons, Chichester, 2000.

[33] J. L. Guermond and L. Quartapelle. Calculation of Incompressible Viscous Flow by an Unconditionally Stable Projection FEM. J. Comput. Phys., 132:12–33, 1997.

[34] J. L. Guermond and L. Quartapelle. A projection FEM for variable density incom-pressible flows. J. Comput. Phys., 165(1):167–188, 2000.

[35] M. D. Gunzburger. Finite Element Methods for Viscous Incompressible Flows. Aca-demic Press, Boston, 1989.

[36] E. Hairer, S. P. Nørsett, and G. Wanner. Solving Ordinary Differential Equations I.

Nonstiff Problems. Springer-Verlag, Berlin, 2nd edition, 1993.

[37] E. Hairer and G. Wanner. Solving Ordinary Differential Equations II. Stiff and Differential-Algebraic Problems. Springer-Verlag, Berlin, 1991.

[38] P. Hansbo and A. Szepessy. A velocity–pressure streamline diffusion FEM. Comput.

Methods Appl. Mech. Engrg., 84(2):175–192, 1990.

[39] F. H. Harlow and J. E. Welch. Numerical Calculation of Time-Dependent Viscous Incompressible Flow of Fluid with Free Surface. Phys. Fluids, 8(12):2182–2189, 1965.

[40] A. Harten. Multiresolution Representation of Data: A General Framework. SIAM J.

Numer. Anal., 33(3):1205–1256, 1996.

[41] M. A. Heroux, R. A. Bartlett, V. E. Howle, R. J. Hoekstra, J. J. Hu, T. G. Kolda, R. B.

Lehoucq, K. R. Long, R. P. Pawlowski, E. T. Phipps, A. G. Salinger, H. K. Thornquist, R. S. Tuminaro, J. M. Willenbring, Williams A., and K. S. Stanley. An overview of the Trilinos project. ACM Trans. Math. Softw., 31(3):397–423, 2005.

[42] C. W. Hirt and B. D. Nichols. Volume of fluid (VOF) method for the dynamics of free boundaries. J. Comput. Phys., 39(1):201–225, 1981.

[43] T. J. R. Hughes. The finite element method: linear static and dynamic finite element analysis. Dover, Mineola, NY, 2000.

[44] T. J. R. Hughes, G. R. Feijóo, L. Mazzei, and J.-B. Quincy. The variational multiscale method – a paradigm for computational mechanics. Comput. Methods Appl. Mech.

Engrg., 166:3–24, 1998.

[45] T. J. R. Hughes, L. P. Franca, and M. Balestra. A new finite element formulation for computational fluid dynamics: V. Circumventing the Babuska–Brezzi condition:

A stable Petrov–Galerkin formulation of the Stokes problem accomodating equal-order interpolations. Comput. Methods Appl. Mech. Engrg., 59:85–99, 1986.

[46] T. J. R. Hughes, L. Mazzei, and K. E. Jansen. Large Eddy Simulation and the varia-tional multiscale method. Comput. Visual. Sci., 3:47–59, 2000.

[47] D. Jacqmin. Calculation of two-phase Navier–Stokes flows using phase-field mod-eling. J. Comput. Phys., 155(1):96–127, 1999.

[48] V. John. On the efficiency of linearization schemes and coupled multigrid methods in the simulation of a 3D flow around a cylinder. Int. J. Numer. Meth. Fluids, 50:845–

862, 2006.

[49] V. John. On large eddy simulation and variational multiscale methods in the nu-merical simulation of turbulent incompressible flows. Appl. Math., 50(4):321–353, 2008.

[50] V. John and S. Kaya. A finite element variational multiscale method for the Navier–

Stokes equations. SIAM J. Sci. Comput., 26(5):1485–1503, 2005.

[51] V. John, G. Matthies, and J. Rang. A comparison of time-discretization/lineariza-tion approaches for the incompressible Navier–Stokes equatime-discretization/lineariza-tions. Comput. Methods Appl. Mech. Engrg., 195(44-47):5995–6010, 2006.

[52] H. Johnston and J.-G. Liu. Accurate, stable and efficient Navier–Stokes solvers based on explicit treatment of the pressure term. J. Comput. Phys., 199(1):221–259, 2004.

[53] D. A. Kay, D. Loghin, and A. Wathen. A preconditioner for the steady-state Navier–

Stokes equations. SIAM J. Sci. Comput., 24(1):237–256, 2002.

[54] D. A. Kay and R. R. Welford. Efficient Numerical Solution of Cahn–Hilliard–Navier–

Stokes Fluids in 2D. SIAM J. Sci. Comput., 29(6):2241–2257, 2007.

[55] A. Klawonn. An Optimal Preconditioner for a Class of Saddle Point Problems with a Penalty Term. SIAM J. Sci. Comput., 19(2):540–552, 1998.

[56] A. N. Kolmogorov. The Local Structure of Turbulence in Incompressible Flows (in Russian). Proceedings of the USSR Academy of Sciences, 30:299–303, 1941.

[57] D. B. Kothe, W. J. Rider, S. J. Mosso, J. S. Brock, and J. I. Hochstein. Volume tracking of interfaces having surface tension in two and three dimensions. In Proceedings of the 34th Aerospace Sciences Meeting and Exhibit, Technical Report AIAA 96-0859, Reno, NV, 1996.

[58] O. A. Ladyzhenskaya. The mathematical theory of viscous incompressible flow. Gor-don and Breach Science, New York, 1969.

[59] L. Lee and R. LeVeque. An immersed interface method for incompressible Navier–

Stokes equations. SIAM J. Sci. Comput., 25(3):832–856, 2003.

[60] R. J. LeVeque and Z. Li. The immersed interface method for elliptic equations with discontinuous coefficients and singular sources. SIAM J. Numer. Anal., 31(4):1019–

1044, 1994.

[61] R. J. LeVeque and Z. Li. Immersed interface method for Stokes flow with elastic boundaries or surface tension. SIAM J. Sci. Comput., 18(3):709–735, 1997.

[62] P.-L. Lions. Mathematical Topics in Fluid Mechanics, volume 1: Incompressible Models. Oxford University Press, Oxford, 1996.

[63] P. Moin and K. Mahesh. Direct numerical simulation: a tool in turbulence research.

Annu. Rev. Fluid Mech., 30:539–578, 1998.

[64] R. D. Moser, J. Kim, and N. N. Mansour. Direct numerical simulation of turbulent channel flow up to Reτ= 590. Phys. Fluids, 11(4):943–945, 1999.

[65] W. Noh and P. Woodwards. SLIC (simple line interface calculation). In Proceedings of the 5th International Conference on Numerical Methods in Fluid Dynamics, pages 330–340, Enschede, 1976. Springer-Verlag.

[66] A. A. Oberai, V. Gravemeier, and G. C. Burton. Transfer of Energy in the Variational Multiscale Formulation of LES. Technical report, Center for Turbulence Research, Stanford, Summer Program 2004.

[67] E. Olsson and G. Kreiss. A conservative level set method for two phase flow. J.

Comput. Phys., 210:225–246, 2005.

[68] E. Olsson, G. Kreiss, and S. Zahedi. A conservative level set method for two phase flow II. J. Comput. Phys., 225:785–807, 2007.

[69] S. Osher and R. P. Fedkiw. Level Set Methods and Dynamic Implicit Surfaces. Applied Mathematical Sciences. Springer, New York, 2003.

[70] S. Osher and J. A. Sethian. Fronts Propagating with Curvature-Dependent Speed:

Algorithms Based on Hamilton–Jacobi Formulations. J. Comput. Phys., 79(1):12–

49, 1988.

[71] C. S. Peskin. Numerical Analysis of Blood Flow in the Heart. J. Comput. Phys., 25(3):220–252, 1977.

[72] C. S. Peskin. The immersed boundary method. Acta Numerica, 11:479–517, 2002.

[73] S. B. Pope. Turbulent Flows. Cambridge University Press, Cambridge, 2000.

[74] L. Quartapelle. Numerical solution of the incompressible Navier–Stokes equations, volume 113 of International Series of Numerical Mathematics. Birkhäuser-Verlag, Basel, 1993.

[75] W. Ren and W. E. Heterogeneous multiscale method for the modeling of complex fluids and micro-fluidics. J. Comput. Phys., 204(1):1–26, 2005.

[76] M. Renardy, Y. Renardy, and J. Li. Numerical Simulation of Moving Contact Line Problems Using a Volume-of-Fluid Method. J. Comput. Phys., 171(1):243–263, 2001.

[77] P. Sagaut. Large Eddy Simulation for Incompressible Flows. Springer-Verlag, Berlin, 3rd edition, 2006.

[78] R. Scardovelli and S. Zaleski. Direct Numerical Simulation of Free-Surface and In-terfacial Flow. Ann. Rev. Fluid Mech., 31:567–603, 1999.

[79] J. A. Sethian. Level Set Methods and Fast Marching Methods. Evolving Interfaces in Computational Geometry, Fluid Mechanics, Computer Vision, and Materials Sci-ence. Cambridge University Press, 2000.

[80] J. Smagorinksy. General Circulation Experiments with the Primitive Equations. I.

The Basic Experiment. Monthly Weather Rev., 91(3):99–164, 1963.

[81] M. Sussman, P. Smereka, and S. Osher. A level set method for computing solutions to incompressible two-phase flow. J. Comput. Phys., 114(1):146–159, 1994.

[82] C. Taylor and P. Hood. A numerical solution of the Navier–Stokes equations using the finite element technique. Comput. Fluids, 1(1):73–100, 1973.

[83] R. Teman. Une méthode d’approximation de la solution des équations de Navier–

Stokes. Bull. Soc. Math. France, 96:115–152, 1968.

[84] T. E. Tezduyar. Stabilized Finite Element Formulations for Incompressible Flow Computations. Adv. Appl. Mech., 28:1–44, 1992.

[85] U. Trottenberg, C. Oosterlee, and A. Schüller. Multigrid. Elsevier Academic Press, London, 2001.

[86] G. Tryggvason, B. Bunner, A. Esmaeeli, D. Juric, N. Al-Rawahi, W. Tauber, J. Han, S. Nas, and Y.-J. Jan. A Front Tracking Method for the Computations of Multiphase Flow. J. Comput. Phys., 169(2):708–759, 2001.

[87] R. Tuminaro and C. Tong. Parallel smoothed aggregation multigrid: aggregation strategies on massively parallel machines. In J. Donnelley, editor, Super Computing 2000 Proceedings, 2000.

[88] S. Turek. Efficient Solvers for Incompressible Flow Problems: An Algorithmic and Computational Approach. Springer, Berlin, 1999.

[89] S. O. Unverdi and G. Tryggvason. A Front Tracking Method for Viscous, Incompress-ible, Multi-fluid Flows. J. Comput. Phys., 100(1):25–37, 1992.

[90] J. D. van der Waals. The thermodynamic theory of capillarity under the hypothesis of continuous variation of density. J. Stat. Phys. (originally published in Dutch in Verhandel. Konink. Akad. Weten. Amsterdam, 1893), 20(2):200–244, 1979.

[91] W. Villanueva and G. Amberg. Some generic capillary-driven flows. Int. J. Multi-phase Flow, 32:1072–1086, 2006.

[92] S. Zahedi, K. Gustavsson, and G. Kreiss. A conservative level set method for contact line dynamics. J. Comput. Phys., 228(17):6361–6375, 2009.

Related documents