{"title":"A simple and efficient finite difference scheme to the Cahn–Hilliard–Navier–Stokes system equations","authors":"Mingguang Shen , Ben Q. Li","doi":"10.1016/j.ijmultiphaseflow.2024.105061","DOIUrl":null,"url":null,"abstract":"<div><div>Central difference schemes are usually not suited to convective terms in a transport equation due to its oscillation nature when convection effect is pronounced. However, this work found that applying the standard central difference scheme to the convective term along with another central difference scheme to the fourth order diffusive term in the Cahn–Hilliard equation can realize nearly an order of magnitude speed rise, in the framework of a fully explicit finite difference scheme. The discretization was done on a semi-staggered grid where pressure was stored at the cell center and other variables were stored at the cell corners. To accelerate computation, a simple parallelism based on OpenMP was used. The scheme was tested in a number of cases and was compared with both analytical and experimental outcomes. The results showed that the scheme is efficient compared with a previous fully explicit finite difference scheme for the Cahn–Hilliard equation, and that a time step more than five times larger can be employed.</div></div>","PeriodicalId":339,"journal":{"name":"International Journal of Multiphase Flow","volume":"182 ","pages":"Article 105061"},"PeriodicalIF":3.6000,"publicationDate":"2024-11-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Multiphase Flow","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0301932224003380","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"MECHANICS","Score":null,"Total":0}
引用次数: 0
Abstract
Central difference schemes are usually not suited to convective terms in a transport equation due to its oscillation nature when convection effect is pronounced. However, this work found that applying the standard central difference scheme to the convective term along with another central difference scheme to the fourth order diffusive term in the Cahn–Hilliard equation can realize nearly an order of magnitude speed rise, in the framework of a fully explicit finite difference scheme. The discretization was done on a semi-staggered grid where pressure was stored at the cell center and other variables were stored at the cell corners. To accelerate computation, a simple parallelism based on OpenMP was used. The scheme was tested in a number of cases and was compared with both analytical and experimental outcomes. The results showed that the scheme is efficient compared with a previous fully explicit finite difference scheme for the Cahn–Hilliard equation, and that a time step more than five times larger can be employed.
期刊介绍:
The International Journal of Multiphase Flow publishes analytical, numerical and experimental articles of lasting interest. The scope of the journal includes all aspects of mass, momentum and energy exchange phenomena among different phases such as occur in disperse flows, gas–liquid and liquid–liquid flows, flows in porous media, boiling, granular flows and others.
The journal publishes full papers, brief communications and conference announcements.