scieee AI-readable full text Open interactive document viewer

Enhancing occupants' comfort through BIM-based probabilistic approach

Alavi, Hamidreza,Forcada Matheu, Núria,Bortolini, Rafaela,Edwards, David J.

Abstract

Despite the fact that buildings are designed to meet occupants’ needs, many do not perform as planned, impacting upon both building performance and occupants’ comfort. Analyzing occupants’ comfort based on questionnaire surveys requires specific information and appropriate use of visualization techniques to identify possible dissatisfactory problems. However, existing studies do not provide a user-friendly visualization and are not interoperable with Building Information Modeling (BIM) to facilitate the data collection. This paper proposes a novel approach for integrating occupants’ feedback and an occupants’ comfort probabilistic model into BIM. It also presents innovative techniques to facilitate BIM as a more effective platform for visualization to guide decision-makers in addressing building operational problems centered on occupants’ comfort. Findings from this research can assist facility managers and owners in identifying causal factors of occupants’ discomfort and properly establishing the necessary measurements to moderate the negative consequences on occupants and thereby improve their comfort.

Full text

UPCommons Portal del coneixement obert de la UPC http://upcommons.upc.edu/e-prints This is the pre-peer reviewed version of the following article: Antepara, O.; Balcázar, N.; Oliva, A. Tetrahedral adaptive mesh refinement for two-phase flows using conservative level-set method. "International journal for numerical methods in fluids", Febrer 2021, vol. 93, núm. 2, p. 481-503, which has been published in final form at https://doi.org/10.1002/fld.4893. This article may be used for non-commercial purposes in accordance with Wiley Terms and Conditions for Use of Self-Archived Versions." Received: Added at production Revised: Added at production Accepted: Added at production DOI: xxx/xxxx ARTICLE TYPE Tetrahedral adaptive mesh refinement for two-phase flows using conservative level-set method. Oscar Antepara*1,2 | Néstor Balcázar2| Assensi Oliva*1 1Heat and Mass Transfer Technological Center (CTTC), Universitat Politècnica de Catalunya - BarcelonaTech (UPC), ESEIAAT, Colom 11, 08222 Terrassa, Barcelona, Spain 2Termo Fluids, S.L., Avda Jacquard 97 1-E, 08222 Terrassa, Barcelona, Spain Correspondence *Oscar Antepara, Email: [email protected], [email protected]. Assensi Oliva, Email: [email protected]. Fax: +(34) 93 739 89 20 Present Address Oscar Antepara - Center for Computational Sciences and Engineering, Lawrence Berkeley National Laboratory, 1 Cyclotron Road, MS 50A-3111 Berkeley, CA 94720, USA, Email: [email protected]v Néstor Balcázar - School of Engineering, Newcastle University, Claremont Road, Newcastle-Upon-Tyne NE1 7RU, UK Summary In this paper, we describe a parallel adaptive mesh refinement strategy for two-phase flows using tetrahedral meshes. The proposed methodology consists of combining a conservative level-set method with tetrahedral adaptive meshes within a finite volume framework. Our adaptive algorithm applies a cell-based refinement technique and adapts the mesh according to physics-based refinement criteria defined by the two-phase application. The new adapted tetrahedral mesh is obtained from mesh manipulations of an input mesh: operations of refinement and coarsening until a maximum level of refinement is achieved. For the refinement method of tetrahedral elements, geometrical characteristics are taking into consideration to preserve the shape quality of the subdivided elements. The present method is used for the simulation of two-phase flows, with surface tension, to show the capability and accuracy of 3D adapted tetrahedral grids to bring new numerical research in this context. Finally, the applicability of this approach is shown in the study of the gravity-driven motion of a single bubble/droplet in a quiescent viscous liquid on regular and complex domains. KEYWORDS: Adaptive mesh refinement, tetrahedral mesh, finite-volume method, tetrahedral elements, conservative level-set, multiphase flows 1 INTRODUCTION Applications in the nuclear, chemical and nano industry involving coiled flow tubes or micro-devices lead to the challenge of designing systems of two-phase flows where the systems present complex geometries1. Computationally modeling these systems are a challenging topic due to the multi-scale nature of this phenomenon. A good strategy to efficiently solve these problems is the use of numerical algorithms for unstructured meshes, where governing equations of two-phase flows can be accurately solved in complex computational domains. Therefore, the primary purpose of this work is the development of a finite-volume tetrahedral adaptive mesh refinement algorithm for two-phase flows, with surface tension, in complex domains. Two-phase flows modeling requires numerical tools to properly identify the interface between fluids. On this context, interface capturing methods have been developed for Direct numerical simulation (DNS) of multiphase applications such as bubbles, droplets, or jets. In the literature, we can find the Front Tracking method (FT)2,3, Volume-of-Fluid (VOF)4,5,6, Standard Level- Set (LS)7,8,9, coupled VOF-LS10,11,12,13 and Conservative Level-Set (CLS)14,15,16 as some of the most common methodologies used for interface capturing. Even though each method has its advantages and disadvantages, one of the main issues that can arise is the mass conservation of fluid phases and accurate computation of curvatures. Lately, a finite-volume CLS method for twophase flows on unstructured grids with surface tension has been proposed by Balcázar et al.16, and further extended to interfacial 2O. Antepara ET AL flows with variable surface tension13, bubbly flows17,18,19,20, and interfacial heat/mass transfer19,20. Whereas the finite-volume approach leads to the satisfaction of the integral forms of the conservation laws over the entire domain, the unstructured CLS method has further advantages such as numerical stability at high physical properties ratios (density and viscosity), mass conservation of fluid phases, accurate computation of surface tension, and efficient parallelization, as demonstrated in our previous works16,18,21,13,17,19,20. A shortcoming on two-phase flows modeling is the extensive use of computational resources on tetrahedral grids, where most of the grid elements should be near the interface between phases. This issue can be solved with the use of Adaptive Mesh Refinement (AMR), initially introduced by22,23,24, where enough grid resolution can be achieved following a refinement/coarsening criteria. Several methods have been developed concerning the AMR for triangular and tetrahedral meshes using bisection, remeshing and regular refinement, where an overview of the advances on this topic during the recent years can be found in25. On the context of using AMR for tetrahedral meshes for multiphase and turbulent problems, many authors have developed some methods for the applications mentioned above. For single-phase flows26,27,28 proposed an unstructured adaptive meshing method for finite element discretization using error control. Moreover, unstructured adaptive refinement with level-set methods were developed using adaptive re-meshing with finite volume29,30,31,32 and finite element33,34 discretization methods. In addition, element subdivision methods have been developed on unstructured meshes for different discretization methods, being the finite element the most widely applied35,36,37,38, which have been used for different applications. One concern around these methods is the resulting non-conforming meshes which have been solved with algorithms to ensure a conforming mesh. Another issue is the mesh quality resulting from the refinement methods, which is of importance due to poor quality elements can produce numerical errors in the solution procedure39,40. A solution to this problem is the use of specific geometric criteria on the selection of the refinement mechanism that will lead to a quality change bounded to certain limits41. Furthermore, the main limitations on tetrahedral AMR are the achievement of accurate and non-expensive 3D simulations, the application of this methodology to unsteady problems, the diminishing of the mesh quality that can introduce numerical errors and the use of conforming meshes. In this work, we want to present a new methodology which incorporates a parallel AMR method for tetrahedral meshes on a finite-volume framework for two-phase flows on collocated unstructured meshes. This approach allows the use of regular refinement and non-conformed meshes. Moreover, a process to ensure an optimal tetrahedral quality, during the refinement step, will be followed. Finally, this method will be tested in the solution of two-phase flows, involving surface tension, using a conservative level set method on regular and complex domains. The paper is organized as follows. The mathematical formulation and the numerical method used are described in Section 2. The Adaptive Mesh Refinement algorithm for tetrahedral meshes is described in Section 3. Validations with the simulation of a gravity-driven bubble/droplet on complex domains are discussed in Section 4. Section 5 summarizes the numerical method and the results outlined in the paper. 2MATHEMATICAL MODEL AND NUMERICAL METHODS 2.1 Incompressible two-phase flow The governing equations for momentum and mass conservation of two immiscible incompressible and Newtonian fluids are given by the Navier-Stokes equations defined for the so-called one-fluid formulation42,43,44,3,16: 𝜕 𝜕𝑡 (𝜌v)+∇⋅(𝜌vv) = −∇𝑝+ ∇ ⋅𝜇(∇v+ (∇v)𝑇)+𝜌g+𝜎𝜅n𝛿Γ,(1) ∇⋅v= 0,(2) where 𝜇is dynamic viscosity, 𝜌is density, 𝑝is pressure, vis velocity field, gis gravity acceleration, the super-index 𝑇represents the transpose operator, 𝛿Γis a Dirac delta function at the interface Γ,𝜎is the surface tension coefficient, 𝜅is the curvature of the interface, and ndenotes the normal unit vector on the interface. Moreover, physical parameters vary across the interface, as follows: 𝜌=𝜌1𝐻1+𝜌2(1 − 𝐻1)(3) 𝜇=𝜇1𝐻1+𝜇2(1 − 𝐻1), O. Antepara ET AL 3 with 𝜇1,𝜇2and 𝜌1,𝜌2being the viscosities and densities of both fluids, respectively. 𝐻1is the Heaviside step function defined as one at fluid 1, and zero elsewhere. Furthermore, physical properties are smoothed following the CLS method for unstructured meshes at the discretized level16. 2.2 Conservative level set, surface tension and regularization of fluid properties The CLS method14,16, as introduced by Balcázar et al.16 in the framework of the finite-volume approach and unstructured meshes is employed in this research. The CLS method uses a regularized indicator function, 𝜙: 𝜙(x, 𝑡) = 1 2(𝑡𝑎𝑛ℎ (𝑑(x, 𝑡) 2𝜀)+ 1),(4) where 𝑑(x, 𝑡)is a signed distance function8,𝜀= 0.5ℎ0.9sets the profile thickness, ℎis the local grid size defined in this work as the average distance between the local cell-centroid and neighbor cell-centroids with common face around the local cell19. The interface Γis defined by the iso-surface 𝜙= 0.5: Γ={x∣𝜙(x, 𝑡)=0.5}.(5) Since the conservative level-set function is advected by the fluid velocity field, an interface transport equation is required: 𝜕𝜙 𝜕𝑡 + ∇ ⋅𝜙v= 0.(6) The conservative level-set function must be reinitialized to keep a constant interface thickness and profile, with the next equation16:𝜕𝜙 𝜕𝜏 + ∇ ⋅𝜙(1 − 𝜙)n|𝜏=0 = ∇ ⋅𝜀∇𝜙, (7) which is advanced for the pseudo-time 𝜏up to achieve the steady state. The compressive term, ∇⋅𝜙(1 − 𝜙)n|𝜏=0, compress the CLS function along the interface normal vector (n|𝜏=0). The diffusion term, ∇⋅𝜀∇𝜙, keeps the CLS profile with a thickness proportional to 𝜀(see Eq.(4)). As introduced in16,𝜀is included inside the divergence operator. Indeed, at the discretized level its value at cell-faces (𝜀𝑓) is linearly interpolated. The surface tension force at the interface is modeled via the continuous surface force model (CSF)43. Therefore, 𝜎𝜅n𝛿Γis turned to a volume force as follows16,13: 𝜎𝜅n𝛿Γ=𝜎𝜅(𝜙)∇𝜙, (8) where 𝜅(𝜙)and nare given by n=∇𝜙 ||∇𝜙||,(9) 𝜅(𝜙) = −∇ ⋅n.(10) As proposed by 16,13,19, curvature is computed at the cell Ω𝑃as 𝜅𝑃= −𝑉−1 𝑃∑𝑓n𝑓⋅A𝑓, where 𝑓denotes the faces on the surface of Ω𝑃, subindex 𝑃denotes the current cell, A𝑓is the face-area vector pointing outside Ω𝑃, and 𝑉𝑃is the volume of Ω𝑃. Finite-volume discretization of surface tension force (Eq.(8)), as well as technical details on the regularization of the Dirac delta function, are reported in our previous works19,13,16. Finally, fluid properties are regularized using the level-set function, as follows, 𝜌=𝜌1𝜙+𝜌2(1 − 𝜙),(11) 𝜇=𝜇1𝜙+𝜇2(1 − 𝜙). The reader is referred to16,13,19 for further details on the unstructured CLS method used in this work. 2.3 Numerical methods The governing equations have been discretized by a finite-volume (FV) approach on collocated unstructured meshes as first introduced by16,13,17,19, which is coupled with the tetrahedral AMR framework. In what follows, the numerical approach is reviewed for the sake of completeness. The convective term of momentum equation (Eq.(12)) and interface transport equation (Eq.(6)), ∇ℎ⋅(𝛽𝜓v), is discretized by a Total Variation Diminishing (TVD) Superbee flux-limiter scheme for unstructured meshes proposed by Balcázar et al.19,16. 4O. Antepara ET AL Indeed, at the discretized level, 𝜓𝑓=𝜓𝐶𝑝+ 0.5L(𝜃𝑓)(𝜓𝐷𝑝−𝜓𝐶𝑝)16,19, subindex 𝐷𝑝denotes the downwind point, 𝐶𝑝denotes the upwind point, 𝑈𝑝denotes the far-upwind point, 𝜓= {𝑢𝑖, 𝜙},𝑢𝑖denotes the cartesian components of v,𝛽𝑓= {𝜌𝑓,1},v𝑓is interpolated by Eq.(15), L(𝜃𝑓)is the flux limiter, as defined in19. Diffusive terms of transport equations are discretized using a central difference scheme, including non-orthogonal correction (Scheme DS1, Appendix A of19). The compressive term in the re-initialization equation (Eq.(7)) can be computed by a central-difference scheme, or equivalently by linear interpolation of the compressive variable (𝜙(1 − 𝜙)) at the cell-faces, as detailed in Appendix A of19. The latter approach is selected in this research. Further technical details as well as an assessment of convective schemes and diffusive schemes on unstructured fixed meshes can be found in19. A comparison between different convective schemes using tetrahedral AMR is presented in Section 4.2.1. Gradients, (∇𝜓)𝑃, are computed at cell centroids by using the least-squares method16, based on a wide and symmetric stencil that includes the cell-nodes around the vertexes of the current cell Ω𝑃as proposed in16, which is weighted by the inverse distance between the current cell-centroid (x𝑃) and the neighboring points (x𝑖). The effect of weighting factor in computation of gradients by using the least-squares method is assessed in20. In this work, variables at the cell-faces, e.g., {𝜇𝑓, 𝜀𝑓,n𝑓, ...}, are linearly interpolated (Eq.(60) Appendix A of19), by using a distance-weighted coefficient unless otherwise stated, whereas density at cell-faces (𝜌𝑓) is computed by arithmetic average16,19. The fractional step projection method45,46 is used for solving the pressure-velocity coupling. For present simulations, time integration of predictor step and corrector step is performed by employing a first-order Euler method: 𝜌v∗−𝜌𝑛v𝑛 Δ𝑡=A𝑛+D𝑛+𝜌g+𝜎𝜅∇ℎ(𝜙),(12) v=v∗−Δ𝑡 𝜌∇ℎ(𝑝),(13) where super-index 𝑛indicates the previous time step, v∗is the predicted velocity, vis the corrected velocity, A= −∇ℎ⋅(𝜌vv), and D= ∇ℎ⋅(𝜇((∇ℎv) + (∇ℎv)𝑇)) are explicitly calculated, (∇ℎv)𝑇is evaluated by the least-squares method16. Coupling the free-divergence velocity constraint with Eq. (13), a Poisson equation for the pressure field is derived, ∇ℎ⋅(1 𝜌∇ℎ(𝑝))=1 Δ𝑡∇ℎ⋅(v∗),e𝜕Ω⋅∇ℎ𝑝|𝜕Ω= 0.(14) where e𝜕Ωis a unit normal vector pointing outside the domain surface 𝜕Ω. The finite-volume discretization of Eq.( 14), as detailed in16, leads to a linear system Mp =b, which is solved by using a preconditioned conjugate gradient method47,48. Indeed, in this work, an equivalent linear system P−1Mp =P−1bis solved, where P=diag{M}is the so-called Jacobi pre-conditioner48. In order to satisfy the incompressible constraint (Eq.(2)), and to avoid pressure-velocity decoupling on collocated grids49,50, a cell face velocity v𝑓is defined as follows13,16: v𝑓=∑ 𝑞∈{𝑃 ,𝐹 } 1 2(v𝑞+Δ𝑡 𝜌𝑞 (∇ℎ𝑝)𝑞)−Δ𝑡 𝜌𝑓 (∇ℎ𝑝)𝑓,(15) where 𝑃and 𝐹are indicating the adjacent cell nodes to the face 𝑓. Eq.(15) can be equivalently expressed in terms of the volume flux v𝑓⋅A𝑓, mass flux 𝜌𝑓v𝑓⋅A𝑓, or normal velocity v𝑓⋅e𝑓; where A𝑓=e𝑓||A𝑓||is the area vector, and e𝑓is a unit normal vector pointing outside the current cell Ω𝑃19. The reader is referred to Appendix B of13 for additional details on the origin of Eq. (15). The time step Δ𝑡, restricted by CFL and stability conditions43, is given by: Δ𝑡=𝐶Δ𝑡𝑚𝑖𝑛 (ℎ ||v||,𝜌ℎ2 𝜇,(ℎ ||g||)1∕2 , ℎ3∕2 (𝜌1+𝜌2 4𝜋𝜎 )1∕2),(16) where 𝐶Δ𝑡= 0.1for the current method and ℎis defined as the characteristic size of the control volume 𝑃, which is calculated as an average of the distances between the centroid of 𝑃and the neighbor cells centroids, unless otherwise stated. Finally, a TVD Runge-Kutta method51 is employed for time integration of advection Eq.(6) and re-initialization Eq.(7). The re-initialization Eq.(7) time step is restricted by its viscous term as follows Δ𝜏=𝐶𝜏𝑚𝑖𝑛{(ℎ2)∕𝜀}, where 𝐶𝜏is taken to be ∼ 0.0516,19. In present simulations, one iteration of the re-initialization equation (Eq.(7)) per physical time-step is enough to keep the CLS profile. The numerical algorithms have been implemented in a parallel C++/MPI platform called TermoFluids52. Furthermore, the unstructured finite-volume CLS method has been extensively verified and validated with several results from the literature, including dam-break16, rising bubbles16,21,53,54, bubbly flows17,18,19, droplet collision against a fluid-fluid interface and droplets bouncing collision18, thermocapillary-driven motion of deformable fluid particles13, Taylor bubbles55, atomization of a liquidgas jet56,57, non-Newtonian two-phase flow58, and mass transfer from bubble swarms19,20. Therefore, this research can be considered as a further step in the development of numerical methodologies to solve two-phase flows on complex geometries, O. Antepara ET AL 5 FIGURE 1 Illustration of the regular refinement and octree data structure for 3D tetrahedral meshes with the aid of a finite-volume/level-set method introduced by19,17,13,16, and an adaptive tetrahedral-mesh refinement method proposed in this work. 3 ADAPTIVE MESH REFINEMENT FOR TETRAHEDRAL MESHES The present computational approach uses an adaptive mesh refinement algorithm based on an octree data structure and regular refinement for 3D tetrahedral meshes (See figure 1). This method generates a unit mesh according to a prescribed physicsbased criterion. The newly adapted mesh is obtained from an input mesh through some geometrical manipulations: operations of refinement and coarsening until a maximum level of refinement is achieved. This methodology is a further step to extend our previous work about the development of AMR algorithms on hexahedral meshes59,56,57,54,60 to tetrahedral meshes for the solution of computational fluid dynamics problems on complex domains. 3.1 Mesh definition and domain decomposition For the AMR method described here, we will shortly explain the primary inputs that we need to execute our algorithm and how it is implemented on our multi-physics unstructured CFD code. The mesh used for numerical simulation is based on three main elements: vertex, faces, and cells. Each of these items keeps a local and global identification number (id). For example, element cell keeps the information related to the id of its faces and vertex; element face stores the id of its vertices and the id of the cells that are sharing this face, and element vertex stores the spatial coordinates. With this mesh representation, the non-conformed elements are allowed in our unstructured CFD code. In the present AMR method, the transition cells that appear between refinement levels will create a tetrahedral cell with more faces and vertices than 6O. Antepara ET AL P f1 f2 F1 F2 Cell Face Vertex f3 f4 FIGURE 2 Illustration of the 2D planar representation of non-conformed elements a regular one (see Figure 2). Our unstructured CFD code will represent this cell as a polyhedron, and the numerical schemes described in Section 2.3 allow the use of this element. 3.2 Algorithm description and parallelization strategy The tetrahedral AMR is added in the global algorithm for the unstructured CLS method16, and the tetrahedral AMR loop is reinitialized when the bubble centroid has advanced a distance equal to the minimum grid size of the computational domain Ω. The global tetrahedral AMR-CLS algorithm follows the next steps: 1. Compute the minimum grid size ℎ𝑚𝑖𝑛 in Ωand the initial position of the bubble centroid 𝑏𝑐𝑜. 2. Compute Δ𝑡by Eq. (16). 3. Solve level-set advection Eq. (6) and re-initialization Eq. (7). 4. Physical properties (𝜌, 𝜇)are updated according to Section 2.2 5. Compute v∗,𝑝,vand v𝑓by the fractional-step method as in Section 2.3: Eq.(12) →Eq.(14) →Eq.(13) →Eq.(15). 6. Compute the actual bubble centroid position 𝑏𝑐. 7. if (||𝑏𝑐−𝑏𝑐𝑜||< ℎ𝑚𝑖𝑛) Repeat steps 2-5. else Re-mesh and repeat steps 1-6 until the desired time is reached. The Re-mesh step consists on the physics-based criterion calculation, generation of adapted meshes and solution interpolation, described as follows: - Physics-based criterion calculation. The level-set function 𝜙is employed to distinguish the interface between fluids, and locally refine the mesh when 0 + 𝜖 < 𝜙 < 1 − 𝜖, where 𝜖= 1𝑒− 4. Moreover, to avoid the refinement process to be often repeated, up to three layers of neighboring cells close to the fluid interface will be refined. This procedure is done to ensure a good mesh resolution for the interface when it moves in any spatial direction. - Generation of adapted meshes. At each Re-mesh step, the current mesh and the corresponding physical criterion is processed to create the newly mesh. The refinement step is based on an 8-subdivision procedure for tetrahedron elements (See Fig. O. Antepara ET AL 7 V1 V2 V3 V4 V12 V24 V13 V34 V14 V23 V1 V2 V3 V4 FIGURE 3 Illustration of the regular refinement of a tetrahedron 3). The coarse mesh is refined to the level of resolution needed for the simulation. Moreover, a geometrical criterion is taken into account at the moment of the subdivision, diminishing the drop on the quality metric from the original cell to its children cells. The parallel algorithm for the subdivision procedure of a coarse partitioned mesh follows the next steps, where each one of them are executed independently on every grid subdomain with fixed interfaces: 1. Read mesh to be refined 2. Create a new mesh object and insert the vertex needed from the coarse mesh. 3. New vertex will be created on the edges of the elements. Thus, an edge data structure is used to create new vertex without duplicate them on the subdomain boundaries. 4. Unique global indexes are assigned according to the old indexes from the parent element to be subdivided. 5. Create new faces and cells according to a criterion to preserve the quality of the coarse mesh. 6. Parallel creation of an HDF5 data file with new mesh. For step 3 and 4, cells elements can be created uniquely, without duplication on each parallel subdomain, but faces and vertex need special treatment. For the faces that are shared between two parallel subdomains, the global identification number is just assigned by the subdomain with the lowest rank and copied to the highest rank. In the case of the vertex elements, that are shared among many ranks, a master-slave procedure is followed. As indicated in Fig. 4, the edge data structure is sent by each slave-rank to the master-rank. Here, the master-rank compares the edge information from each slave-rank to avoid duplication of new mesh elements and establishes a unique global index for the new vertex. Then, the proper information about indexes is sent back to the slaves-ranks to complete the new mesh. The quality of the refined mesh is important to get good numerical approximations and results. On the subdivision of tetrahedron cells on step 5, a criterion is followed to ensure that the quality of the new tetrahedron will have similar quality as the parent cell. This criterion consists of the inner edge of a tetrahedral has to connect its longest edges to generate eight tetrahedrons that will be similar to the original tetrahedron41. This can be shown in the Figure 3, where the edge 𝑉23𝑉14 was the one chosen between the possible edges 𝑉23𝑉14,𝑉13𝑉24 and 𝑉12𝑉34, according to the criterion. Moreover, at each level of refinement, the new mesh is partitioned using the ParMETIS library61 to ensure a good load balance for its use on parallel computing simulations. (See Fig. 5). - Solution interpolation. Between time intervals, the solution has to be transferred from one mesh to the newly. For now, we use a hierarchical cell evaluation mechanism: given any cell in the domain, it provides the value at this point and its hierarchical position on the octree data structure. Then, an average process is performed for the coarsening, and a pass value is done for the refinement process in the computational space. The multiphase solver16,17,19 was designed for general unstructured meshes. Indeed, Eq.(15) applies also to adjacent cells at a different level, taking into account that this is a particular case of unstructured arrange. The face velocity (Eq.(15)) can also be expressed, for instance, in terms of the volumetric flux (see Appendix B of13). It means that the sum of the volumetric fluxes around the cell keeps conservative after the re-meshing process. 8O. Antepara ET AL LR HR LR HR V0 V1 V?=V3 ( ) V0 V1 ( ) V0 V1 LRHR MR LRHR MR V?=V3V?=V3 V0 V1V1 V0 V3 V? FIGURE 4 Illustration of global Id assignment for a new vertex, shared between processors. 𝐿𝑅=Lowest rank; 𝐻𝑅=Highest rank; 𝑀𝑅=Master rank The code has been executed on the supercomputers MareNostrum IV and Altamira using up to 144 cores for 3D simulations of gravity-driven bubbles/droplets. Moreover, the parallel performance for the steps explained in the generation of adapted meshes has been executed up to 384 CPU-cores showing a good strong speed up for the AMR of a tetrahedral mesh where the size to be refined was one million tetrahedron cells. This test has been performed in the supercomputer MareNostrum IV. In Figure 6, is shown the strong speedup for the AMR mesh algorithm, where up to 192 CPU-cores it reaches an efficiency close to 90% 4 NUMERICAL EXPERIMENTS In this section, numerical tests for validation are described, and new numerical experiments related to gravity-driven bubbles/- droplets in regular and complex domains are analyzed. The dimensionless numbers governing gravity-driven flows62,63 are the Eötvös number (𝐸𝑜), Morton number (𝑀), Reynolds number (𝑅𝑒), and the ratios of physical properties (density ratio 𝜂𝜌and viscosity ratio 𝜂𝜇), defined as follows 𝐸𝑜 =𝑔𝑑2Δ𝜌 𝜎, 𝑀 =𝑔𝜇4 1Δ𝜌 𝜌2 1𝜎3, 𝑅𝑒 =𝜌1𝑈𝑇𝑑 𝜇1 , 𝜂𝜌=𝜌1 𝜌2 , 𝜂𝜇=𝜇1 𝜇2 ,(17) O. Antepara ET AL 15 1x106 1.5x106 2x106 2.5x106 3x106 0 1 2 3 4 5 6 7 Total Control Volumes t*=tg1/2d-1/2 (a) 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 0 1 2 3 4 5 6 7 Quality metric t*=tg1/2d-1/2 avg min max (b) 0 10 20 30 40 50 60 70 0 1 2 3 4 5 Re t*=tg1/2d-1/2 d/40 fixed 50 55 4 5 50 55 4 5 (c) FIGURE 14 Gravity-driven bubble in an infinite domain for 𝐸𝑜 = 4.88,𝑙𝑜𝑔𝑀 = −4.9(a) Temporal evolution of the total number of control volumes; (b) Temporal evolution of the quality metric defined by Eq. (23); (c) Comparison of the temporal evolution of Re number between a fixed and tetrahedral AMR mesh both with ℎ=𝑑∕40. Mesh Level of refinement 𝑡∗=𝑡√𝑔∕𝑑 𝐶𝑃 𝑈 𝑇 𝑖𝑚𝑒(ℎ) Fixed 0 2.07 104.17 Adaptive mesh 3 2.07 32.87 TABLE 4 Computational times for fixed and tetrahedral adaptive mesh for gravity-driven bubble 𝐸𝑜 = 4.88,𝑙𝑜𝑔𝑀 = −4.9, using 144 cores in Altamira supercomputer. The dimensions of the cylindrical domain Ωare the following: 𝐷= 0.5and 𝐻= 7.0∗𝐷. For the case A and B, the initial drop of diameter 𝑑=𝜆∗𝐷is located at (𝑥, 𝑦, 𝑧) = (0, 𝑑, 0). For the case C, an initial condition consisting in a cylinder with an equivalent volume to an sphere with 𝑑=𝜆∗𝐷was located at (𝑥, 𝑦, 𝑧) = (0, 𝑑, 0). Moreover, the boundary conditions in the top/bottom walls are Neumann conditions, whereas the no-slip condition is applied on the lateral walls. The initial mesh is around 27k control volumes, and AMR was used to achieve the desired grid resolution (ℎ=𝐷∕120) in the interface and the near wake (See Fig. 15). The approximate final number of control volumes are presented in Table 6. The computed Reynolds number and drop shapes are compared to experiments and correlation reported by68 (See Table 6 and Figures 15,16). As it can be shown, our present results are consistent with the experimental and calculated results of68. Moreover, as the diameter ratio is increased, the shapes go from a deformed spheroidal to a Taylor drop with bullet shape. For the case C, the Taylor drop gets a spheroidal shape at the nose and is flat at the rear. Here, these test cases illustrate the importance of the diameter ratio 𝜆, as a parameter that control the drop shape and velocity, where a drop will turn into a bullet shape when it has overpassed a critical value, as it has been explained by68. 16 O. Antepara ET AL 𝐶𝑎𝑠𝑒 𝐸𝑜𝐷𝑙𝑜𝑔𝑀 𝜌1∕𝜌2𝜇1∕𝜇2𝜆 𝐴31.0 −4.8 1.245 0.8620 0.30 𝐵31.0 −4.8 1.245 0.8620 0.54 𝐶31.0 −4.8 1.245 0.8620 1.23 TABLE 5 Dimensionless numbers for the presented tests. (a) 0 20 40 60 80 100 120 0 2 4 6 8 10 Re t*=tg1/2d-1/2 λ=0.3 λ=0.54 λ=1.23 (b) FIGURE 15 (a) AMR for the test case 𝐸𝑜𝐷= 31.0,𝑙𝑜𝑔𝑀 = −4.8,𝜆= 1.23, with an effective grid resolution of 120 control volumes per tube diameter at the interface. (b) Terminal 𝑅𝑒 number for 𝐸𝑜𝐷= 31.0,𝑙𝑜𝑔𝑀 = −4.8with different 𝜆 Case Number of control volumes 𝑅𝑒𝑒𝑥𝑝 𝑅𝑒𝑐𝑎𝑙 𝑅𝑒 A 7.00e+05 24.26 21.84 24.77 B 1.80e+06 36.90 40.47 38.95 C 3.20e+06 74.95 67.44 80.62 TABLE 6 Present 𝑅𝑒 computations compared with experimental 𝑅𝑒𝑒𝑥𝑝 by68 and calculated 𝑅𝑒𝑐𝑎𝑙 by68. 4.4 Three-dimensional buoyant bubble in a vertical pipe In this section, the density and viscosity ratios are increased and the methodology is validated with the rising of a bubble in a vertical pipe and the effect of the wall on the rising motion is researched. The dimensionless numbers selected for the first test are depicted in Table 7. 𝐸𝑜 𝑙𝑜𝑔𝑀 𝜌1∕𝜌2𝜇1∕𝜇2𝜆 3.00 −6.0 100 100 0.5 TABLE 7 Dimensionless numbers for the first presented test. The dimensions of the cylindrical domain Ωare the following: 𝐷𝑐𝑦𝑙 = 2𝑑and 𝐻𝑐𝑦𝑙 = 14𝑑, whereas the diameter ratio 𝜆=𝑑∕𝐷𝑐𝑦𝑙 = 0.5. The initial bubble of diameter 𝑑= 0.25 is located at (𝑥, 𝑦, 𝑧) = (0, 𝑑, 0). Moreover, the boundary conditions in the top/bottom walls are Neumann conditions, whereas the no-slip condition is applied on the lateral walls. The initial mesh is O. Antepara ET AL 17 (a) (b) (c) FIGURE 16 Experimental image68 (top) and present computation (bottom) for bubble shape with 𝐸𝑜𝐷= 31.0,𝑙𝑜𝑔𝑀 = −4.8 (a) 𝜆= 0.30, (b) 𝜆= 0.54, (c) 𝜆= 1.23. Case 𝐸𝑜 = 3.0,𝑙𝑜𝑔𝑀 = −6 Number of control volumes 𝑅𝑒 63 Infinite domain 85 17 DNS 9.00e+05 57 Present AMR-CLS (ℎ=𝑑∕60) 1.60e+06 56 TABLE 8 Present 𝑅𝑒 computations compared with experimental results (infinite domain) by63, and numerical results by17. around 27k control volumes, and AMR was used to achieve the desired grid resolution (ℎ=𝐷𝑐𝑦𝑙∕120) in the interface, nearby the walls and in the near wake (See Fig. 17). The final number of control volumes is presented in Table 8. Figure 18a shows the time evolution for the Reynolds number and the bubble shape. The observed 𝑅𝑒 is lower compared to the experimental Reynolds for an infinite domain, due to the increase of the drag force when the bubble is very close to the walls. Moreover, the bubble shape reaches a consistent ellipsoidal shape, and its motion is aligned with the symmetry axis of the computational domain. The computed Reynolds number is compared to experiments, for infinite domain, reported by63 and numerical results in a confined domain presented by17(See Table 8). The scale factor relation 𝑆𝐹 , suggested by62, is a velocity relation given for the influence of the wall on the single bubble rise velocity, which is defined by 𝑆𝐹 =𝑈𝑇∕𝑈𝑇∞(24) For this case, with 𝑑∕𝐷𝑐𝑦𝑙 = 0.5, and according to Eq. (24), the present numerical result is 𝑆𝐹𝑛𝑢𝑚 = 0.66, which agrees well with the value given by62 with 𝑆𝐹 = 0.64 . In Figure 17, the vorticity field is shown and presents the formation of a double vortex at the bottom of the bubble with the opposite direction. Moreover, the presence of counter-rotating vortices at the walls, which increases the total drag, are shown. This phenomenon leads to achieve terminal conditions within a short distance of the bubble release. 18 O. Antepara ET AL (a) (b) FIGURE 17 (a) AMR for the test case 𝐸𝑜 = 3.0,𝑙𝑜𝑔𝑀 = −6.0, with an effective grid resolution of 120 control volumes per pipe diameter at the interface. (b) Vorticity field for 𝐸𝑜 = 3.0,𝑙𝑜𝑔𝑀 = −6.0. A A B B C C 0 10 20 30 40 50 60 70 0 1 2 3 4 5 6 Re t*=tg1/2d-1/2 (a) A A B B C C 0 10 20 30 40 50 60 70 0 1 2 3 4 5 6 Re t*=tg1/2d-1/2 0 200 400 600 800 1000 1200 1400 1600 1800 0 0.5 1 1.5 2 2.5 Re t * =tg 1/2 d -1/2 0 200 400 600 800 1000 1200 1400 1600 1800 0 1 2 3 4 5 6 7 Re t*=tg1/2d-1/2 0 200 400 600 800 1000 1200 1400 1600 1800 0 1 2 3 4 5 6 7 8 9 Re t*=tg1/2d-1/2 (b) FIGURE 18 Terminal Reynolds number and final shape for (a) 𝐸𝑜 = 3.0,𝑙𝑜𝑔𝑀 = −6.0; (b) 𝐸𝑜 = 11.0,𝑀= 2.6𝑒− 11. As a second validation test in this section, the terminal 𝑅𝑒 is increased and the dimensionless numbers are depicted in Table 9. The initial mesh, AMR details, initial and boundary conditions are the same as the first test case. 𝐸𝑜 𝑀 𝜌1∕𝜌2𝜇1∕𝜇2𝜆 11.0 2.6𝑒− 11 100 100 0.50 TABLE 9 Dimensionless numbers for the second validation test. Figure 18b shows the time evolution for the Reynolds number and the final shape of the bubble, which presents deformations accordingly to the wobbling regime. Experimental and numerical results are compared with our present calculations, regarding the scale factor relation, suggested by69, 𝑆𝐹 =𝑈𝑇∕𝑈𝑀(25) O. Antepara ET AL 19 Case 𝐸𝑜 = 11.0,𝑀= 2.6𝑒− 11,𝜆= 0.5𝑆𝐹 Experiment69 ∼[0.66-0.69] Eq. (27)62 0.65 Numerical simulation71 0.69 Present AMR-CLS 0.65 TABLE 10 Present 𝑆𝐹 computations compared with experimental results by69, correlation62 and numerical results by71. where 𝑈𝑀is defined by the Mendelson equation70, 𝑈𝑀=√2𝜎 𝜌1𝑑+𝑔𝑑 2.(26) Moreover,62 suggested a correlation for the 𝑆𝐹 in this regime, given by 𝑆𝐹 = [1 − (𝑑∕𝐷𝑐𝑦𝑙)2]3∕2.(27) Our numerical result is presented in Table 10. In the wobbling regime, the velocity tends to oscillate so the terminal average velocity was calculated for 𝑆𝐹 , by discarding the initial overshoot (startup influences of the simulation) at 𝑡∗= 0.6. The comparison was made against experiments, correlations and numerics found in the literature, where our result compares fair well with these references. 4.5 Three-dimensional buoyant bubble in a complex pipe Pipes with complex configurations, as coiled tubes, are widely present on the nuclear and chemical process due to its compactness in volume and high efficiency in heat transfer1. In the earlier section, the methodology was validated with the rising of a bubble in a vertical pipe, where the bubble velocity decreases due to the wall and the bubble deformed into an ellipsoidal shape. In this section, we investigate the rising of a bubble in a complex pipe and the effect of the wall on the rising motion. The dimensionless numbers selected are the same to the case in section 4.2, and are depicted in Table 11. 𝐸𝑜 𝑀 𝜌1∕𝜌2𝜇1∕𝜇2 4.88 1.25𝑒− 05 100 100 TABLE 11 Dimensionless numbers for the presented test. The dimensions of the domain are shown in the figure 19, where the initial bubble of diameter 𝑑= 0.25 is located at (𝑥, 𝑦, 𝑧) = (0, 𝑑, 0). Moreover, the boundary conditions in the lateral walls are no-slip, whereas the Neumann condition is applied to the top/bottom walls. The initial mesh is around 80k control volumes, and AMR was used to achieve the desired grid resolution (ℎ=𝑑∕60) in the interface and the near wake at different time moments (See Fig. 19). The final number of control volumes was around 2.2M. Figure 20 shows the terminal Reynolds number as the bubble travel through the pipe. The bubble rises because of buoyancy, where a pair of counter-rotating vortices appear at the bottom, making a cunning of the lower surface. With this deformation, the surface tension force and the viscous drag are increased, making the bubble to decelerate until reach an equilibrium. However, as the pipe presents a deviation, the bubble reaches the wall, which increments the drag force and the bubble drastically decrease its velocity and changes its shape to more spherical due to the increase of surface tension force provoked by the formation of different vortex near the wall (see Figs. 21 and 20). Along the inclined wall, the velocity and shape keep stable, where a vortex in the contact point between the bubble and the wall prevents its attachment. Moreover, it presents a sliding motion for this inclination angle. Later on, when the bubble gets into a rectilinear section of the pipe, it is velocity increase until it reaches an equilibrium, similar to the first section of the pipe. 20 O. Antepara ET AL (a) (b) FIGURE 19 (a) Configuration and dimensions of the computational domain. (b) 3D AMR grid for the test case 𝐸𝑜 = 4.88, 𝑀= 1.25𝑒− 05, with an minimum grid resolution of 60 control volumes per diameter at the interface. 0 10 20 30 40 50 60 70 0 5 10 15 20 Re t*=tg1/2d-1/2 A A B B C C FIGURE 20 Terminal Reynolds number for 𝐸𝑜 = 4.88,𝑀= 1.25𝑒− 05. 5 CONCLUSIONS In this paper, we introduce a parallel adaptive tetrahedral-mesh refinement algorithm for two-phase flows in complex computational domains. The proposed methodology consisted in the coupling of the tetrahedral Adaptive Mesh Refinement algorithm presented in this work, with a finite-volume / level-set method for collocated unstructured meshes introduced in16,13,17. This methodology allows reproducing the main features of three-dimensional two-phase flows with surface tension, combining an accurate representation of the interface, proper mass conservation, and a reduction of the computational effort in comparison O. Antepara ET AL 21 FIGURE 21 Vorticity field and its respective 3D AMR grid for 𝐸𝑜 = 4.88,𝑀= 1.25𝑒− 05 at different bubble positions. with fixed meshes. Moreover, the AMR follows a regular refinement division of the tetrahedron element, taking into account a geometrical criterion to preserve the mesh quality and enabling the use of non-conforming meshes. Numerical tests involving gravity-driven bubble/droplet in regular and complex domains are used to evaluate the efficacy of the method reported. For the case of the gravity-driven bubble in an infinite domain, the terminal Reynolds number and the aspect ratio compare well with the results of experimental reference. Besides, the use of different convective schemes shows similar results for this case and the mass conservation is preserved. Moreover, the mesh compression, mesh quality and CPU-times were assessed proven the method to be efficient and to keep a proper quality metric. The methodology was validated against the rising motion of droplets in a pipe, with different diameter ratios, going from deformed spheroidal to Taylor droplets. The numerical results showed the ability to reproduce, in a fair manner, the terminal velocity, and droplet shape when the diameter ratio was increased and the wall effect became significant. In simulations of the gravity-driven bubble in a pipe, the terminal Reynolds number agrees well with the numerical reference using a fixed grid. Moreover, the scale factor, for cases with wall influence, shows good agreement with the experiments, correlation equations and numerical references. Finally, for the test of gravity-driven in a complex domain, terminal Reynolds number, final shape, and flow field are shown. The wall effect produces a decrease in the velocity, increasing the drag forces which makes the bubble to be more spherical. Moreover, the simulation presents an inclined section, where the bubble has shown a sliding motion accordingly to the inclination angle described. 22 O. Antepara ET AL The tests presented indicate that the numerical methods described are quite useful for the direct numerical simulation of two-phase flows in complex domains. ACKNOWLEDGMENTS This work has been financially supported by the Ministerio de Economía y Competitividad, Secretaría de Estado de Investigación, Desarrollo e Innovación, Spain (ENE2017-88697-R), and by Termo Fluids S.L. Oscar Antepara acknowledges financial support in form of a doctoral scholarship DI-14-06886 of the Ministerio de Economía y Competitividad and 2015DI-68 of the Secretaria d’ Universitats i Recerca del Departament d’Economia i Coneixement de la Generalitat de Catalunya, Spain. Néstor Balcázar acknowledges financial support of the Programa Torres Quevedo, Ministerio de Economía y Competitividad, Secretaría de Estado de Investigación, Desarrollo e Innovación (PTQ-14-07186), Spain. Three-dimensional simulations were carried out using computer time provided by PRACE 14th Call (Project 2016153612) and RES project(FI-2018-1-0025) through the MareNostrum IV supercomputer based in Barcelona, Spain. We acknowledge Santander Supercomputacion support group at the University of Cantabria who provided access to the supercomputer Altamira Supercomputer at the Institute of Physics of Cantabria (IFCA-CSIC), member of the Spanish Supercomputing Network, for performing simulations/analyses (RES project FI-2018-3-0037). Conflict of interest The authors declare no potential conflict of interests. References 1. Kong L, Gao X, Li R, Han J. Bubbles in curved tube flows - An experimental study. International Journal of Heat and Mass Transfer 2017; 105: 180 - 188. 2. Unverdi S, Tryggvason G. A front-tracking method for viscous, incompressible, multifluid flows. Journal of Computational Physics 1992; 100: 25-37. 3. Tryggvason G, Bunner B, Esmaeeli A, et al. A front-tracking method for the computations of multiphase flow. Journal of Computational Physics 2001; 169: 708-759. 4. Hirt C, Nichols B. Volume of fluid (VOF) method for the dynamics of free boundary. Journal of Computational Physics 1981; 39: 201-225. 5. Scardovelli R, Zaleski S. DIRECT NUMERICAL SIMULATION OF FREE-SURFACE AND INTERFACIAL FLOW. Annual Review of Fluid Mechanics 1999; 31(1): 567-603. 6. Van Sint Annaland M, Deen N, Kuipers J. Numerical simulation of gas bubbles behaviour using a three-dimensional volume- of-fluid method. Chemical Engineering Science 2005; 60: 2999-3011. 7. Osher S, Sethian J. Fronts propagating with curvature-dependent speed: Algorithms based on Hamilton-Jacobi formulations. Journal of Computational Physics 1988; 79: 175-210. 8. Sussman M, Smereka P, Osher S. A Level Set Approach for Computing Solutions to Incompressible Two-Phase Flow. Journal of Computational Physics 1994; 144: 146-159. 9. Sussman M, Fatemi E, Smereka P, Osher S. An improved level set method for incompressible two-phase flows. Computers & Fluids 1998; 27(5): 663 - 680. 10. Sussman M, Puckett EG. A Coupled Level Set and Volume-of-Fluid Method for Computing 3D and Axisymmetric Incompressible Two-Phase Flows. Journal of Computational Physics 2000; 162(2): 301 - 337. O. Antepara ET AL 23 11. Wang Z, Yang J, Koo B, Stern F. A coupled level set and volume-of-fluid method for sharp interface simulation of plunging breaking waves. International Journal of Multiphase Flow 2009; 35(3): 227 - 246. 12. Sun D, Tao W. A coupled volume-of-fluid and level-set (VOSET) method for computing incompressible two-phase flows. International Journal of Heat and Mass Transfer 2010; 53: 645–655. 13. Balcázar N, Rigola J, Castro J, Oliva A. A level-set model for thermocapillary motion of deformable fluid particles. International Journal of Heat and Fluid Flow 2016; 62, Part B: 324-343. 14. Olsson E, Kreiss G. A conservative level set method for two phase flow. Journal of Computational Physics 2005; 210: 225-246. 15. Olsson E, Kreiss G, Zahedi S. A conservative level set method for two phase flow II. Journal of Computational Physics 2007; 225(1): 785 - 807. 16. Balcázar N, Jofre L, Lehmkhul O, Castro J, Rigola J. A finite-volume/level-set method for simulating two-phase flows on unstructured grids. International Journal of Multiphase Flow 2014; 64: 55-72. 17. Balcázar N, Castro J, Rigola J, Oliva A. DNS of the wall effect on the motion of bubble swarms. Procedia Computer Science 2017; 108C: 2008-2017. 18. Balcázar N, Lehmkuhl O, Rigola J, Oliva A. A multiple marker level-set method for simulation of deformable fluid particles. International Journal of Multiphase Flow 2015; 74: 125-142. 19. Balcázar-Arciniega N, Antepara O, Rigola J, Oliva A. A level-set model for mass transfer in bubbly flows. International Journal of Heat and Mass Transfer 2019; 138: 335 - 356. 20. Balcázar-Arciniega N, Rigola J, Oliva A. DNS of Mass Transfer from Bubbles Rising in a Vertical Channel. In: Rodrigues JMF, Cardoso PJS, Monteiro J, et al., eds. Computational Science – ICCS 2019Springer International Publishing; 2019; Cham: 596–610. 21. Balcázar N, Lehmkuhl O, Jofre L, Oliva A. Level-set simulations of buoyancy-driven motion of single and multiple bubbles. International Journal of Heat and Fluid Flow 2015; 56: 91-107. 22. Berger M. Adaptive mesh refinement for hyperbolic partial differential equations. Journal of Computational Physics 1984; 53(3): 484–512. 23. Berger M, LeVeque R. An adaptive cartesian mesh algorithm for the euler equations in arbitrary geometries. 9th Computational Fluid Dynamics Conference, AIAA 1989. 24. Powell K, Roe PL, Quirk J. Adaptive-mesh algorithms for computational fluid dynamics. In M. Y. Hussaini, A. Kumar, and M. D. Salas, editors, Algorithmic Trends in Computational Fluid Dynamics 1993; 53: 303–337. 25. Park M, Krakos J, Michal T, Loseille A, Alonso J. Unstructured grid adaptation: status, potential impacts, and recommended investments toward CFD Vision 2030. 2016. 26. Popiolek T, Awruch A. Numerical simulation of incompressible flows using adaptive unstructured meshes and the pseudocompressibility hypothesis. Advances in Engineering Software 2006; 37(4): 260 - 274. 27. Hoffman J, Jansson J, Abreu dRV, et al. Unicorn: Parallel adaptive finite element simulation of turbulent flow and fluidstructure interaction for deforming domains and complex geometry. Computers & Fluids 2013; 80: 310-319. 28. Rossi R, Cotela J, Lafontaine N, Dadvand P, Idelsohn S. Parallel adaptive mesh refinement for incompressible flow problems. Computers & Fluids 2013; 80: 342-355. 29. Zheng X, Lowengrub J, Anderson A, Cristini V. Adaptive unstructured volume remeshing - II: Application to two- and three-dimensional level-set simulations of multiphase flow. Journal of Computational Physics 2005; 208(2): 626-650. 30. Anderson A, Zheng X, Cristini V. Adaptive unstructured volume remeshing - I: The method. Journal of Computational Physics 2005; 208(2): 616-625. 24 O. Antepara ET AL 31. Nikolos I, Delis A. An unstructured node-centered finite volume scheme for shallow water flows with wet/dry fronts over complex topography. Computer Methods in Applied Mechanics and Engineering 2009; 198(47): 3723 - 3750. 32. Ngo LC, Choi HG. A multi-level adaptive mesh refinement method for level set simulations of multiphase flow on unstructured meshes. International Journal for Numerical Methods in Engineering; 110(10): 947-971. 33. Xie Z, Pavlidis D, Percival JR, Gomes JL, Pain CC, Matar OK. Adaptive unstructured mesh modelling of multiphase flows. International Journal of Multiphase Flow 2014; 67: 104 - 110. 34. Xie Z, Pavlidis D, Salinas P, Percival JR, Pain CC, Matar OK. A balanced-force control volume finite element method for interfacial flows with surface tension using adaptive anisotropic unstructured meshes. Computers & Fluids 2016; 138: 38 - 50. 35. Löhner R. An adaptive finite element scheme for transient problems in CFD. Computer Methods in Applied Mechanics and Engineering 1987; 61(3): 323 - 338. 36. Morgan N, Waltz J. 3D level set methods for evolving fronts on tetrahedral meshes with adaptive mesh refinement. Journal of Computational Physics 2017; 336: 492-512. 37. Papoutsakis A, Sazhin SS, Begg S, Danaila I, Luddens F. An efficient Adaptive Mesh Refinement (AMR) algorithm for the Discontinuous Galerkin method: Applications for the computation of compressible two-phase flows. Journal of Computational Physics 2018; 363: 399 - 427. 38. Giuliani A, Krivodonova L. Adaptive mesh refinement on graphics processing units for applications in gas dynamics. Journal of Computational Physics 2019; 381: 67 - 90. 39. Shewchuk J. What Is a Good Linear Finite Element? - Interpolation, Conditioning, Anisotropy, and Quality Measures. Proceedings of the 11th International Meshing Roundtable 2002; 73. 40. Freitag L, Ollivier-Gooch C. Tetrahedral mesh improvement using swapping and smoothing. International Journal for Numerical Methods in Engineering 1997; 40(21): 3979–4002. 41. Liu A, Joe B. Quality local refinement of tetrahedral meshes based on 8-subtetrahedron subdivision. Mathematics of Computation 1996; 65(215): 1183-1200. 42. Peskin C. Numerical analysis of blood flow in the heart. Journal of Computational Physics 1977; 25: 220-252. 43. Brackbill J, Kothe D, Zemach C. A continuum method for modeling surface tension. Journal of Computational Physics 1992; 100: 335-354. 44. Chang Y, Hou T, Merriman B, Osher S. A level-set formulation of Eulerian interface capturing methods for incompressible two-phase flows. Journal of Computational Physics 1996; 124: 462-488. 45. Chorin A. Numerical solution of the Navier-Stokes equations. Mathematics of Computation 1968; 22: 745-762. 46. Guermond J, Minev P, Shen J. An overview of projection methods for incompressible flows. Computer Methods in Applied Mechanics and Engineering 2006; 195(44): 6011 - 6045. 47. Henk A. VdV, Dekker K. Conjugate gradient type methods and preconditioning. Journal of Computational and Applied Mathematics 1988; 24(1): 73 - 87. 48. Karniadakis GE, Kirby II RM. Parallel Scientific Computing in C and MPI: A Seamless Approach to Parallel Algorithms and their Implementation. Cambridge University Press . 2003. 49. Rhie C, Chow W. Numerical study of the turbulent flow past an airfoil with trailing edge separation. AIAA 1983; 21: 1525-1532. 50. Felten F, Lund T. Kinetic energy conservation issues associated with the collocated mesh scheme for incompressible flow. Journal of Computational Physics 2006; 215(2): 465–484.