Next Article in Journal
Multiscale Backcast Convolution Neural Network for Traffic Flow Prediction in The Frequency Domain
Next Article in Special Issue
Numerical Calculation of Slosh Dissipation
Previous Article in Journal
Preparation of 3D Models of Cultural Heritage Objects to Be Recognised by Touch by the Blind—Case Studies
Previous Article in Special Issue
On the Efficacy of Turbulence Modelling for Sloshing
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Embedded One-Dimensional Orifice Elements for Slosh Load Calculations in Volume-Of-Fluid CFD

Industrial CFD Research Group, Department of Mechanical Engineering, University of Cape Town, Private Bag X3, Rondebosch, Cape Town 7701, South Africa
*
Author to whom correspondence should be addressed.
Appl. Sci. 2022, 12(23), 11909; https://doi.org/10.3390/app122311909
Submission received: 5 October 2022 / Revised: 18 November 2022 / Accepted: 18 November 2022 / Published: 22 November 2022
(This article belongs to the Special Issue Liquid Slosh Damping: Experimental and Numerical Developments)

Abstract

:
For CFD liquid sloshing simulations, fine computational mesh resolutions are typically required to model the flow within small flow passages or orifices found in fuel tanks. This work presents a method of replacing the fine computational mesh elements within orifices with large one-dimensional mesh elements that integrate seamlessly with standard finite volume computational elements with the intended advantage of reducing the overall computational cost of CFD simulations. These one-dimensional elements conserve mass and momentum for two-phase flow in incompressible Volume-Of-Fluid CFD. Instead of fully resolving the momentum diffusion term, empirical correlations are used to account for the viscous losses within the orifices for both two- and three-dimensional simulations. The one-dimensional orifice elements are developed and validated against analytical and experimental results using the finite volume CFD code Elemental®. Furthermore, these elements are tested in a violent sloshing simulation and compared with full-resolution numerical results as well as experimental results. The elements are shown to decrease computational cost significantly by reducing the number of computational elements as well as increasing the simulation time step sizes (due to an increase in element sizes).

1. Introduction

Slosh is a term that often refers to a seemingly chaotic flow of two fluids, usually a liquid and a gas, within a containment structure such as a tank. Common occurrences of slosh are within the fuel tanks of passenger vehicles [1], commercial aircraft [2,3,4], spacecraft [5,6] or in tanker vessels transporting liquefied natural gas [7,8]. The resulting slosh forces are an important consideration in the structural design of tanks as well as the dynamics and control of the vehicles carrying them [4,9].
Due to the inherent non-linearities involved, numerical methods are widely used to study slosh loads. These include Smoothed Particle Hydrodynamics (SPH) [10], Finite Difference Method (FDM) [11], Finite Element Method (FEM) [12] and Boundary Element Method (BEM) [13]. In this work, we focus on the Finite Volume method [14] with a Volume-Of-Fluid (VOF) [15] approach to model two-phase, immiscible fluid flow in the fuel tank slosh loads problem [3].
Baffle structures are often found inside tanks and serve to suppress the fuel slosh loads [16], to act as structural elements [2] or both. Openings in these structures, referred to generally as orifices in this work, can significantly increase computational cost in numerical simulations due to the small geometrical scales [17,18,19,20,21,22]. In addition to small mesh elements, orifices are often the location of high-velocity flow, as fluid is accelerated from one side of the tank to another through a constricting passage. Therefore, the computational cost is increased by both the requirement for more mesh elements and more time steps, since the allowable time step size is decreased in orifices by stability constraints such as the Courant–Friedrichs–Lewy (CFL) condition [23] or viscous diffusion in the case of explicit time integration schemes [24].
An approach to overcome this cost is to model orifice or channel flow instead of directly discretizing and solving the governing Navier–Stokes equations. Ozhan [25] developed a subgrid pressure jump model for use in the development of automotive catalytic converters, replacing small monolithic substrates with a subgrid model coupled to the full solution of the Navier–Stokes equations in the diffuser and outlet nozzle. Porter [26] added to the work of Ozhan by resolving the full Navier–Stokes equations within the inlet section of the monolithic substrate channels while using the pressure loss model for the downstream section (where flow is fully developed). This allows the numerical model to capture the additional losses due to developing flow in the monolithic substrate channels.
Another approach is the coupling of 3D CFD meshes with 1D network codes [27], in which the 1D code is used to model flow in long tubes while the 3D CFD code models the remainder of the flow domain. These methods require a coupling mechanism to communicate between the network code and 3D CFD code.
In this work, we further the methodology of Ozhan [25] and Porter [26] for constant cross-sectional orifices. In our method, we propose to embed the orifice element as part of the mesh. This allows the user to simply modify the mesh in orifice areas by drastically reducing the amount of mesh elements in these regions. A single equation is solved for momentum conservation in the entire domain with different treatment of certain terms in the bulk flow and 1D flow within the orifice. We further expand the 1D model to account for two-phase loss effects by applying existing semi-empirical correlations for flow losses. Another novel aspect of this work is giving careful attention to the VOF advection method to ensure sharp tracking of the liquid–gas interface within the 1D orifice elements. The development and validation of the above is performed in the multi-physics CFD code Elemental® [19,28,29,30], which is developed by the Industrial CFD (InCFD) Research Group at the University of Cape Town.

2. Materials and Methods

In this section, we will briefly introduce orifice flow loss physics (Section 2.1) and the semi-empirical correlations we use to model this. We will then present the governing equations of our problem (Section 2.2) and the numerical method we use to solve it (Section 2.3).

2.1. Orifice Flow Losses

Figure 1 shows a schematic representation of the contracting and expanding flow within a long orifice, defined as orifices in which the length L to hydraulic diameter D H ratio is greater than 1.4, i.e., L D H > 1.4 . The hydraulic diameter is defined as
D H = 4 A o P w ,
where A o is the orifice cross-sectional area and P w is the wetted perimeter. The point x u is at the inlet to the orifice and x d is at the exit to the orifice where the flow is reattached to the orifice wall, as shown. The vena contracta is the location at which the main fluid stream cross-sectional area is smallest, which is at position x c . Flow through orifices up to the vena contracta is nearly reversible [31]. Flow losses mainly occur downstream of the vena contracta with the majority being downstream of the orifice exit in the downstream jet. In the case of short orifices ( L D H < 1.4 ), the losses within the orifice are negligible [32,33]. For long orifices ( L D H > 1.4 ), the flow reattaches to the orifice wall downstream of the vena contracta and, even though the majority of losses still occur downstream of the orifice, significant flow losses occur within the orifice [34].
This work focuses on modeling the viscous flow losses and corresponding orifice mass flow rate within long orifices for two-phase flow by using one-dimensional, finite volume cells in orifice cavities. The flow outside the orifice is meshed, discretized and solved with the usual numerical discretization. Therefore, we place the onus to account for the losses occurring downstream of the orifice on the existing 2D/3D CFD model, as would be the case in a fully resolved simulation.
The average velocity and pressure over the orifice cross-section (normal to the flow direction) are denoted u ˜ and p ˜ , respectively. To these, we add subscripts that refer to the point where the cross-sectional average velocity or pressure is taken (upstream, downstream or at the vena contracta). Note that the orifices considered in this work all have constant cross-sectional areas; therefore, we simply refer to the orifice cross-sectional area, A o = A u = A d . A c is the cross-sectional area of the vena contracta.
The pressure loss in one-dimensional flow analyses are generally written in the form [35]
Δ p ˜ = C ρ u ˜ 2 ,
where ρ is the density of the fluid and C is some loss coefficient, determined as a function of the flow conditions and boundary geometry. The effects that contribute to the vast majority of pressure losses through orifices can be placed in three categories. These are viscous losses, flow losses (venturi such as contraction and expansion) and fluid mixing (two-phase flow). These effects are discussed in the following subsections, with a general equation for the loss coefficient given in Section 2.1.4. Note that the entrance losses due to developing flow (as in the case of pipes and ducts) in long orifices can be considered negligible due to the relatively small length-to-diameter ratios [36] and are excluded in this work.

2.1.1. Viscous Losses

The pressure loss along the length L of a long orifice due to viscous effects (including the wall friction) is written in a generic form, assuming isothermal flow, as
Δ p v i s c = K f L D H ρ ˜ u ˜ 2 2 ,
where K f is the dimensionless Darcy–Weisbach Friction Factor, L is the length of the orifice section and D H is the hydraulic diameter [37]. The empirical equation by Avci [38] will be used in this work to determine K f since it is valid over all Reynolds numbers up to 10 8 and is suitable “for the entire range of the Moody chart, that is valid for laminar, transitional and fully turbulent regions” [38]. Furthermore, a smooth surface will be assumed, as is the case in the problems modeled in this work. Avci has a general empirical equation for problems with non-zero surface roughness, which can be implemented and used similarly as the smooth relation used here. The empirical equation by Avci [38] for smooth surfaces is given by
K f = 6.4 l n 1 R e 2.4 + 64 R e 6.4 l n 1 R e 2.4 e R e 2560 8 .

2.1.2. Flow Contraction and Expansion Losses

The pressure differential due to venturi such as contracting and expanding flow within the orifice is given as [34]
Δ p c o n t + Δ p e x p = K c o n t ρ ˜ u u ˜ 2 2 + K e x p ρ ˜ d u ˜ 2 2 ,
with
K c o n t = 1 σ c 2 1 ,
K e x p = 2 2 σ c ,
and
σ c = A c A o π π + 2 = 0.611 ,
where ρ ˜ u and ρ ˜ d are the average fluid density within the orifice—upstream and downstream, respectively—of the vena contracta and σ c is the contraction coefficient, which in this work is approximated using Milne-Thompson’s method [39] and further motivated by [35,40,41]. Note that, since the orifices considered in this work are all of constant cross-sectional area, the average velocity u ˜ = u ˜ u = u ˜ d . Equation (6) is derived from the energy flux equation assuming steady state and constant enthalpy [31], while Equation (7) is derived from the steady state momentum flux equation [34,35]. Using the approximate value of σ c in Equation (8), K c o n t = 1.679 and K e x p = 1.273 . The relatively larger positive value of K c o n t shows how the fluid in the orifice is accelerated (and, therefore, the pressure reduced) without any losses up to the vena contracta. Similarly, the relatively smaller negative value of K e x p shows how only some of the pressure is recovered during expansion.

2.1.3. Two-Phase Flow Losses

For two-phase flow, additional losses occur through the orifice. We use the separated flow model [35,42], which takes the total pressure drop over a pipe section or orifice for a single-phase flow and adds a two-phase multiplier ϕ 2 (determined experimentally). This multiplier accounts for mixing effects and is calculated at every time step according to the flow conditions.
A multiplier coefficient is calculated for viscous losses as well as for contracting and expanding losses. The Baroczy–Chisolm method [35] is used to determine the two-phase multiplier for viscous losses, and the method of Kojasoy [34] (based on the Baroczy–Chisolm method) is used to determine the two-phase losses due to contracting and expanding flow.
For the Baroczy–Chisolm method [35], the dryness fraction is defined as
x = ρ g u ˜ g A g ρ l u ˜ l A l + ρ g u ˜ g A g ,
indicating the ratio of the mass flow rate of the gas to the liquid–gas mixture, where the subscripts l and g are used to distinguish between the liquid and gas phase, respectively. Further, A l and A g are the cross-sectional areas of the orifice occupied by the liquid and gas, respectively. The void fraction ξ is the ratio between the volume of the orifice occupied by the gas V g to the total orifice volume V l g :
ξ = V g V l g .
In general, we employ the subscript l g to indicate the two-phase mixture. The mass velocity G is used extensively in one-dimensional two-phase flow literature and is given as
G = ρ l u ˜ l 1 ξ 1 x = ρ g u ˜ g ξ x .
Finally, the physical property coefficient is given as
Γ 2 = Δ p g 0 Δ p l 0 ,
where subscripts g 0 and l 0 refer to the gas or liquid phase, respectively, if it were to flow through the orifice at the mixture’s mass flow rate.
The total pressure differential due to viscous effects of the two-phase mixture Δ p l g is given as
Δ p l g = ϕ l 0 2 Δ p l 0 .
The two-phase multiplier, using the Baroczy–Chisolm method, is defined as
ϕ l 0 2 = 1 + ( Γ 2 1 ) ( B x ( 1 x ) + x 2 ) ,
where the coefficient B can be found in Table 1 [35] and the physical property coefficient Γ can be determined using Equation (12). Δ p l 0 and Δ p g 0 are found using Equation (3) for the liquid
Δ p l 0 = K f l 0 L D H G 2 2 ρ l
and gas phase
Δ p g 0 = K f g 0 L D H G 2 2 ρ g ,
with the mass velocity G calculated using (11). K f g 0 and K f l 0 are found using Equation (4). Note that the Reynolds number in Equation (4) is, for two-phase flow problems, determined as
R e = G D H μ ˜ u ,
where μ ˜ u is the viscosity of the respective phase being dealt with. Since the two-phase effects are accounted for separately, the hydraulic diameter D H is calculated using the full perimeter of the orifice.
Finally, assuming that the liquid and gas velocities are the same, the total two-phase viscous pressure differential is calculated, using Equations (13)–(15), as
Δ p v i s c = ϕ l 0 v i s c 2 Δ p l 0 v i s c = ϕ l 0 v i s c 2 K f l 0 L D H G 2 2 ρ l .
Chisolm [35] and Kojasoy [34] developed methods to expand the application of two-phase multipliers to obstructions such as orifices in pipes and ducts. These methods are used only to determine the two-phase multiplier for the pressure difference due to the contraction and expansion caused by orifices. The two-phase multiplier due to the effects of an obstruction such as an orifice is given as [35]
ϕ o r i f 2 = 1 + ρ l ρ g 1 ( B o r i f x ( 1 x ) + x 2 ) ,
where the dryness fraction x is as defined previously;
B o r i f = 1 S n ,
with n determined experimentally; and the velocity ratio or slip ratio S is defined as
S = 1 + x ρ l ρ g 1 1 2 .
Kojasoy [34] approximated n = 0 downstream of the vena contracta since the expanding flow is well mixed and n = 0.15 upstream of the vena contracta for long orifices. This approximation is further motivated by [34,43].
Finally, in this work, the total two-phase pressure differential due to contracting and expanding flow, respectively, are calculated using Equations (13) and (19)–(21), as
Δ p c o n t = ϕ l 0 c o n t 2 Δ p l 0 c o n t = 1 + ρ l ρ g 1 1 S 0.15 x ( 1 x ) + x 2 K c o n t G 2 2 ρ l
and
Δ p e x p = ϕ l 0 e x p 2 Δ p l 0 e x p = 1 + ρ l ρ g 1 ( x ( 1 x ) + x 2 ) K e x p G 2 2 ρ l ,
where K c o n t and K e x p are defined in Equations (6) and (7).

2.1.4. Total Two-Phase Losses within Orifices

The total pressure differential over a long orifice accounting for two-phase flow in this work is, therefore, modeled by adding loss terms in Equations (18), (22) and (23) such that
Δ p t o t a l = Δ p v i s c + Δ p c o n t + Δ p e x p = ϕ l 0 v i s c 2 K f l 0 L D H G 2 2 ρ l + ϕ l 0 c o n t 2 K c o n t G 2 2 ρ l + ϕ l 0 e x p 2 K e x p G 2 2 ρ l = C G 2 ρ l ,
where C represents a global loss coefficient
C = ϕ l 0 v i s c 2 K f l 0 L D H + ϕ l 0 c o n t 2 K c o n t + ϕ l 0 e x p 2 K e x p 2 .
The form of Equation (25) allows users to input alternative models for the loss coefficient, if required.

2.2. Fluid Governing Equations

2.2.1. Conservation Equations in a Non-Inertial Reference Frame

Consider a fluid volume V ( t ) shown in Figure 2. V ( t ) is enclosed by a surface A ( t ) with outward pointing unit normal vector n . The volume is located in a non-inertial reference frame (x-y-z); contains a fluid with density ρ and viscosity μ ; and is subject to a force, which is divided into a surface force F | A and a body force F | V . The non-inertial reference frame (x-y-z) is free to move relative to some inertial reference frame (X-Y-Z). In this work, we will only consider the linear translation of the non-inertial reference frame.
The general momentum conservation equation for a fluid in the non-inertial reference frame system described above can be written as
ρ u t + · ( ρ u u ) + p · μ ( u + u T ) = ρ g a B ,
where p is the static pressure, u is the velocity of the fluid relative to the non-inertial reference frame (x-y-z) and g is the body force acceleration due to gravity expressed as 9.81 m/s 2 in the positive Y-direction. a B is the linear acceleration of the non-inertial reference frame relative to X-Y-Z. The conservation of mass for an incompressible fluid is given by
· u = 0 .
The mass and momentum conservation equations are known as the incompressible Navier–Stokes equations. For CFD simulations in this work, the tank is fixed to the non-inertial reference frame x-y-z, which undergoes a time-varying acceleration a B .

2.2.2. Orifice Flow Loss Model

We now seek to expand the momentum conservation Equation (26) to describe both the bulk flow as well as orifice flow losses as per Equation (24). Consider an orifice with diameter D H and length L, as shown in Figure 3. The orifice is fixed in the x-y-z reference frame, which is subjected to an acceleration a B while the pressures at the inflow and outflow coordinates x 1 and x 2 are denoted by p 1 and p 2 , respectively. In this case, Δ p t o t a l = p 2 p 1 . Unit vector n O indicates the 1D direction vector of the flow within the orifice in the x-y-z reference frame. The viscous term in the above momentum equation is now expanded to include the orifice loss model as follows:
· μ ( u + u T ) = · μ ( u + u T ) 1 H O C ρ u ˜ O 2 L H O n O ,
where n O is the unit normal vector along the orifice in the direction of the flow and H O is a Heaviside function with value 1 within the orifice and 0 elsewhere.
Combining Equations (26) and (28) gives the momentum conservation equation for two-phase incompressible flow in both bulk and orifice regions as follows:
ρ u t + · ( ρ u u ) + p · μ ( u + u T ) ( 1 H O ) + C ρ u ˜ O 2 L H O n O ρ g ρ a B ,
where the nomenclature is as previously defined.

2.3. Numerical Method

The numerical method applied to solve the fluid governing Equations (27) and (29) is described next.

2.3.1. Brief Overview of Vertex-Centered VOF Method

Elemental® uses a vertex-centered finite volume [44] fractional-step scheme [19] such that the control volumes are formed as a geometric dual to the cells. In the case of two-phase flow, the fluids are assumed immiscible. A one-fluid formulation [45] is used so that the same set of equations is solved everywhere in the computational domain, regardless of the phase or phases present in the computational cell. To track the phases, the VOF equation is based on
H α t + · u H α = 0 ,
where H α is a Heaviside function having a value of 1 in the liquid phase and 0 in the gas phase. The volume fraction or Volume-Of-Fluid, α i , is the average value of H α in computational cell V i such that
α i = 1 V i V H α d V .
This means that α = 1 for a cell completely filled with liquid and α = 0 for a cell completely filled with gas. The advection of α , the second term in (30), is calculated using the CICSAM interface capturing scheme [46]. The density and viscosity of the fluid in each cell are calculated using an arithmetic average and are given by
ρ = α ρ 1 + ( 1 α ) ρ 0
and
μ = α μ 1 + ( 1 α ) μ 0 ,
where subscripts 1 and 0 denote the liquid and gas, respectively. The mass and momentum Equations (26) and (27) are solved using a split projection method [19].

2.3.2. Spatial Discretization of Diffusive Term

Figure 4 shows 2D meshes containing orifice elements: a structured mesh on the left and an unstructured mesh on the right. The dual-cell control volumes are demarcated with dotted lines. Nodes that do not form part of the boundary nor boundary elements are termed interior nodes (e.g., D and G). The orifice boundary nodes are denoted as O C i and the internal orifice nodes as O A i and O B i for left- and right-hand side orifice nodes, respectively.
The diffusive term for an interior node, e.g., D, is discretized as usual:
· μ u + u T D = 1 V D f ϵ A D μ u + u T · Γ f ,
where V D is the volume of the dual cell at node D, A D is the surface (in dotted lines in the figure) enclosing V D and the subscript f indicates a specific face section of A D . Γ is the outward pointing normal vector of the face with magnitude equal to the area of the face. The gradient at the face is calculated using the compact stencil formulation [47].
In the case where the discretization takes place at the orifice nodes, Equation (28) is used to calculate the viscous losses through the orifice. Here, the diffusion contribution at any orifice node (e.g., O A , O B or O C 1 ) is replaced with the empirical loss term by setting H O = 1 . As an example, the diffusion term at node O A on the right-hand side of Figure 4 would be computed as follows:
· μ u + u T = 1 V O A ( μ u + u T · Γ f G O A + μ u + u T · Γ f D O A + μ u + u T · Γ f P O A V O A C ρ u ˜ O 2 L n O ) .
Here, the subscript f G O A refers to the face connecting nodes G and O A . Note that the empirical loss term accounts for the contributions of the faces connecting O C 1 , O C 2 and O B to O A .

2.3.3. Numerical Calculation of Orifice Loss Coefficient

The loss coefficient C in the discretized diffusion equation can be determined using Equation (25), repeated here for readability:
C = ϕ l 0 v i s c 2 K f l 0 L D H + ϕ l 0 c o n t 2 K c o n t + ϕ l 0 e x p 2 K e x p 2 .
Since only nodal values of the fluid and flow properties are known, the equations from Section 2.1 must be discretized appropriately. This section gives an overview of how the loss coefficient is determined numerically.
The volume flow rate of each phase (e.g., air and water) at orifice nodes i, V ˙ g i and V ˙ l i , are, respectively, calculated at every time step as
V ˙ g i = A i ( ( 1 α i ) A i ( u · n O ) ) A i
and
V ˙ l i = A i ( α i A i ( u · n O ) ) A i ,
where A i is the area of each of the faces connecting orifice nodes from opposite sides. With reference to Figure 4, these are the faces connecting O A 1 and O B 1 , O A 2 and O B 2 , etc. Further, α i is the VOF value at the cell face as calculated by CICSAM and n O is a unit normal along the orifice in the direction of the average flow. The dryness fraction and mass velocity from Equations (9) and (11) are calculated numerically as
x i = ρ g V ˙ g i ρ l V ˙ l i + ρ g V ˙ g i
and
G i = ρ l V ˙ l i + ρ g V ˙ g i A i ,
respectively.
The friction loss coefficient K f l 0 is calculated using Equation (4), where the Reynolds number is determined from the mixture mass velocity G i and the liquid viscosity μ l i . The expansion and contraction loss coefficients are given in Equations (6) to (8). Finally, the two-phase multipliers in Equation (25) are calculated using Equations (14), (22) and (23).

2.3.4. CICSAM Correction for Orifice Elements

A key assumption inherent to the CICSAM method is that the vertex is located at the volume centroid. On stretched meshes, this is not the case when using the vertex-centered FV scheme. Since there is a significant amount of stretching introduced in the mesh at orifice cells in this work, the aforementioned assumption introduces a particularly large error. Figure 5 shows a zoomed image of the left of Figure 4, with orifice element cells/volumes in dashed lines and nodes in black dots. Notice the large disparity between the nodes positioned at x 1 and x 2 and the centroid locations of the corresponding cells, which are indicated with the ×’s ( x 1 * and x 2 * ). Therefore, for CICSAM to calculate VOF fluxes at the surfaces that bound these cells, the positions of the centroids of the orifice element cells ( x 1 * and x 2 * ) are used instead of the nodal positions of those cells ( x 1 and x 2 ). The efficacy of this correction is demonstrated next.

3. Results

The one-dimensional orifice elements have been implemented into the Elemental® code. The basic implementation was validated using various test cases.

3.1. VOF Advection Test Case

The first test-case assesses if the liquid–gas interface is propagated sharply in 1D orifice elements via the CICSAM scheme (Section 2.3.4). For this purpose, a liquid packet (Fluid 1) is propagated in a channel at a constant velocity of 1 m/s, as shown in Figure 6. The flow is inviscid with slip boundary conditions at the top and bottom boundaries, while the channel contains embedded 1D elements, as depicted in Figure 7. The results in this figure show the fluid interface before and after passing through the one-dimensional orifice elements, both with and without the proposed CICSAM modification. In the case where the centroid locations are not corrected, it can be seen that the interface smears considerably while passing through the one-dimensional orifice elements. However, with the modification applied, the fluid interface remains sharp and matches the expected position (white dotted lines), thus validating the proposed method.

3.2. Violent Slosh Test Case Results

The remainder of the validation work will be focused on a baffled tank undergoing violent slosh as detailed in [48]. As shown in Figure 8, the baffles are placed centrally and contain three long orifices. The tank is subjected to sinusoidal acceleration in the x-direction, which is ramped up over the first 25 % of the simulation. The resulting slosh-induced pressures at points p 1 and p 2 were measured and reported. The 75 % fill case is modeled via 2D CFD simulations using Elemental®. To evaluate the efficacy of the developed orifice element model, the simulations were conducted both with and without the one-dimensional orifice elements followed by comparing the predicted pressure difference between the pressure probes to the measured values. The experimental results are confidential; therefore, time and pressure difference values are normalized with their respective maximum values.

3.2.1. Full-Resolution Simulation Results

A numerical simulation of the experiment is performed, where the 2D governing equations are discretized over the full fluid volume (including the volume inside the orifices). The computational mesh is shown in Figure 9 and is similar to an earlier publication [19]. Note the relatively small computational element sizes required in and around the orifices. Figure 10 shows the local Reynolds numbers of the flow within the respective orifices over time. Note that the Reynolds number is calculated with the velocity being the average velocity in the orifice and the length scale being the height of the orifice. Comparison of the flow pressure differentials will be presented next along with 1D orifice mesh results.

3.2.2. Results Using 1D Orifice Element Model

The results for cases where the computational mesh in the orifices are replaced with one-dimensional orifice elements are presented now. Three different computational meshes with different numbers of orifice elements (see Table 2) are used and shown in Figure 11. Zoomed images of the mesh around the orifice areas are shown in Figure 12. Note that, for the top orifice, all three meshes have three orifice elements in the vertical direction since the flow passage is very small.
The measured experimental as well as the numerically calculated full-resolution simulation pressure difference, p 1 p 2 , are compared with that of the one-dimensional orifice element model simulations in Figure 13 and Figure 14. The flow rate over time through each orifice in the one-dimensional orifice element model is plotted and compared with the full-resolution simulation results in Figure 15, Figure 16 and Figure 17. The total mass in the left-hand side of the tank over time for each simulation is plotted in Figure 18. Additionally, the relative mass difference in the left-hand side of the tank of the one-dimensional orifice element model simulations compared with the full-resolution simulation are shown in Figure 19 for Meshes A to C. Here, the relative mass difference is given by m F m O m F , where m F and m O are, respectively, the masses in the left-hand side of the tank calculated with full resolution and the one-dimensional orifice element model simulations.

4. Discussion

Figure 13 and Figure 14 show the pressure difference over the tank walls calculated using the one-dimensional orifice element model with each computational mesh. It can be seen that the results are in good agreement with both the experimental and full-resolution numerical results. Another metric to consider when evaluating the one-dimensional orifice element model is the flow rates through the orifices.
The flow rates through the orifices (Figure 15, Figure 16 and Figure 17) using the one-dimensional orifice element model for both Mesh A and Mesh B are in reasonable agreement with the full-resolution model for the first 25 % of the simulation (Mesh C results are slightly lower). This also correlates with the similarity in the position of liquid–gas interface between the meshes during this period, as shown on the left of Figure 20. From this point onward, the slosh becomes particularly chaotic and the differences in interface position between the different mesh coarseness levels grow more pronounced, as shown on the right of Figure 20. This is reflected in the larger differences in flow rate predicted through the orifices in the latter part of the simulation. Despite this, the overall amount of liquid contained in the two compartments is still predicted with reasonable accuracy. This is evident from the total mass in the left tank (Figure 18 and Figure 19) being similar in the one-dimensional element model simulations and the full-resolution simulation.
The computational cost of the full-resolution CFD simulation and the one-dimensional element model simulations are presented in Table 3. Note that serial calculations were performed in all cases due to the small mesh sizes. As per the table, the one-dimensional element model requires less mesh nodes. This also requires less time steps to complete the same simulation due to the larger allowable time-step sizes (larger elements).
It is interesting to note that Meshes B and C require slightly more time steps than Mesh A, even though the majority of the mesh element sizes are much larger. This can be attributed to the high flow velocities through the top orifice. The average velocity over time through the top orifice is six times the velocity through the middle and bottom orifices. All three meshes have similarly sized elements around the top orifice; therefore, the time step sizes are limited by those elements. Importantly, the one-dimensional element model simulations all require less CPU time, without any significant loss in the accuracy of the pressure differential over the tank walls or the relative mass difference in the tanks. Mesh C achieves the largest speed-up factor of 2 compared with the full-resolution model.

5. Conclusions

In this work, a method to replace fine computational mesh elements within long orifices with one-dimensional elements is presented; this is to gain computational speed when modeling violent slosh in baffled tanks. The one-dimensional orifice element model was implemented into the finite volume VOF code Elemental®, and integrated seamlessly in the computational mesh with standard finite volume elements for two-phase flow. To achieve this, special consideration had to be taken with regard to discretization of the CICSAM-based VOF advection scheme. Two-dimensional simulations using full-resolution CFD and different meshes using the 1D orifice elements were compared with experimental results of pressure differences across an accelerated baffled tank. The one-dimensional orifice element model was found to decrease the simulation CPU time by up to 50 % while still achieving high accuracy in predicted tank pressures.

Author Contributions

Conceptualization, A.G.M., L.C.M. and E.B.; methodology, E.B. and L.C.M.; software, E.B.; validation, E.B. and L.C.M.; formal analysis, E.B. and L.C.M.; investigation, E.B. and L.C.M.; resources, A.G.M.; data curation, A.G.M.; writing—original draft preparation, E.B.; writing—review and editing, L.C.M. and A.G.M.; visualization, E.B.; supervision, L.C.M. and A.G.M.; project administration, L.C.M.; funding acquisition, A.G.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the SLOWD project, which has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No. 815044 and the National Research Foundation of South Africa (Grant Number: 89916).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

References

  1. Golla, S.T.; Venkatesham, B. Experimental study on the effect of centrally positioned vertical baffles on sloshing noise in a rectangular tank. Appl. Acoust. 2021, 176, 107890. [Google Scholar] [CrossRef]
  2. Zheng, S.; Gao, F.; Zhang, Z.; Liu, H.; Li, B. Topology optimization on fuel tank rib structures for fuel sloshing suppression based on hybrid fluid–solid SPH simulation. Thin-Walled Struct. 2021, 165, 107938. [Google Scholar] [CrossRef]
  3. Gambioli, F.; Malan, A. Fuel loads in large civil airplanes. In Proceedings of the International Forum on Aeroelasticity and Structural Dynamics, Como, Italy, 25–28 June 2017. [Google Scholar]
  4. Gambioli, F.; Usach, R.; Kirby, J.; Wilson, T.; Behruzi, P. Experimental evaluation of fuel sloshing effects on wing dynamics. In Proceedings of the International Forum on Aeroelasticity and Structural Dynamics, Savannah, GA, USA, 9–13 June 2019. [Google Scholar]
  5. Barrows, T.M.; Orr, J.S. Chapter 3—Slosh modeling. In Dynamics and Simulation of Flexible Rockets; Barrows, T.M., Orr, J.S., Eds.; Academic Press: Cambridge, MA, USA, 2021; pp. 53–75. [Google Scholar] [CrossRef]
  6. Gerrits, J.; Veldman, A. Dynamics of liquid-filled spacecraft. J. Eng. Math. 2003, 45, 24–38. [Google Scholar] [CrossRef]
  7. Karimi, M.; Brosset, L.; Ghidaglia, J.M.; Kaminski, M. Effect of ullage gas on sloshing, Part II: Local effects of gas–liquid density ratio. Eur. J. Mech.-B/Fluids 2016, 57, 82–100. [Google Scholar] [CrossRef]
  8. Ancellin, M.; Brosset, L.; Ghidaglia, J.M. Numerical study of phase change influence on wave impact loads in LNG tanks on floating structures. In Proceedings of the International Conference on Offshore Mechanics and Arctic Engineering, American Society of Mechanical Engineers, Madrid, Spain, 17–22 June 2018; Volume 51302, p. V009T13A026. [Google Scholar]
  9. He, L.; Zhao, A.; Li, Y.; Zhou, B.; Liang, W. Effect of processing method on the spring-in of aircraft ribs. Compos. Commun. 2021, 25, 100688. [Google Scholar] [CrossRef]
  10. Aly, A.M.; Nguyen, M.T.; Lee, S.W. Numerical Analysis of Liquid Sloshing Using the Incompressible Smoothed Particle Hydrodynamics Method. Adv. Mech. Eng. 2015, 7, 765741. [Google Scholar] [CrossRef]
  11. Chen, B.F. Time-independent finite difference analysis of fully non-linear and viscous fluid sloshing in a rectangular tank. J. Comput. Phys. 2005, 209, 47–81. [Google Scholar] [CrossRef]
  12. Wu, G.X.; Ma, Q.W.; Taylor, R.E. Numerical simulation of sloshing waves in a 3D tank based on a finite element method. Appl. Ocean. Res. 1998, 20, 337–355. [Google Scholar] [CrossRef]
  13. Faltinsen, O.M. A numerical nonlinear method of sloshing in tanks with two dimesnional flow. J. Ship Res. 1978, 22, 193–202. [Google Scholar] [CrossRef]
  14. Versteeg, H.; Malalasekera, W. An Introduction to Computational Fluid Dynamics: The Finite Volume Method; Wiley: New York, NY, USA, 1995. [Google Scholar]
  15. Hirt, C.; Nichols, B. Volume of fluid (VOF) method for the dynamics of free boundaries. J. Comput. Phys. 1981, 39, 201–225. [Google Scholar] [CrossRef]
  16. Kandasamy, T.; Rakheja, S.; Ahmed, A.K.W. An Analysis of Baffles Designs for Limiting Fluid Slosh in Partly Filled Tank Trucks. Open Transp. J. 2010, 4. [Google Scholar] [CrossRef]
  17. Thirunavukkarasu, B.; Rajagopal, T.K.R. Numerical investigation of sloshing in tank with horivert baffles under resonant excitation using CFD code. Thin-Walled Struct. 2021, 161, 107517. [Google Scholar] [CrossRef]
  18. Santhanam, V. Slosh Damping with Floating Magnetoactive Micro-Baffles. Master’s Thesis, Embry-Riddle Aeronautical University, Daytona Beach, FL, USA, 2014. [Google Scholar]
  19. Oxtoby, O.F.; Malan, A.; Heyns, J.A. A computationally efficient 3D finite-volume scheme for violent liquid–gas sloshing. Int. J. Numer. Methods Fluids 2015, 79, 306–321. [Google Scholar] [CrossRef]
  20. Demirel, E.; Aral, M.M. Liquid Sloshing Damping in an Accelerated Tank Using a Novel Slot-Baffle Design. Water 2018, 10, 1565. [Google Scholar] [CrossRef] [Green Version]
  21. Mubarok, M.H.; Zarrouk, S.J.; Cater, J.E. Two-phase flow measurement of geothermal fluid using orifice plate: Field testing and CFD validation. Renew. Energy 2019, 134, 927–946. [Google Scholar] [CrossRef]
  22. Mubarok, M.H.; Cater, J.E.; Zarrouk, S.J. Comparative CFD modelling of pressure differential flow meters for measuring two-phase geothermal fluid flow. Geothermics 2020, 86, 101801. [Google Scholar] [CrossRef]
  23. Courant, R.; Friedrichs, K.; Lewy, H. On the Partial Difference Equations of Mathematical Physics; Institute of Mathematical Sciences New York University: New York, NY, USA, 1956. (In German) [Google Scholar]
  24. Leonard, B.P. Note on the von Neumann stability of explicit one-dimensional advection schemes. Comput. Methods Appl. Mech. Eng. 1994, 118, 29–46. [Google Scholar] [CrossRef]
  25. Ozhan, C.; Fuster, D.; Da Costa, P. Multi-scale flow simulation of automotive catalytic converters. Chem. Eng. Sci. 2014, 116, 161–171. [Google Scholar] [CrossRef]
  26. Porter, S.; Saul, J.; Aleksandrova, S.; Medina, H.; Benjamin, S. Hybrid flow modelling approach applied to automotive catalysts. Appl. Math. Model. 2016, 40, 8435–8445. [Google Scholar] [CrossRef]
  27. Jordaan, H.; Stephan Heyns, P.; Hoseinzadeh, S. Numerical Development of a Coupled One-Dimensional/Three-Dimensional Computational Fluid Dynamics Method for Thermal Analysis with Flow Maldistribution. J. Therm. Sci. Eng. Appl. 2021, 13, 041017. [Google Scholar] [CrossRef]
  28. Heyns, J.A.; Malan, A.G.; Harms, T.M.; Oxtoby, O.F. A weakly compressible free-surface flow solver for liquid–gas systems using the volume-of-fluid approach. J. Comput. Phys. 2013, 240, 145–157. [Google Scholar] [CrossRef]
  29. Suliman, R.; Oxtoby, O.F.; Malan, A.; Kok, S. An enhanced finite volume method to model 2D linear elastic structures. Appl. Math. Model. 2014, 38, 2265–2279. [Google Scholar] [CrossRef]
  30. Wright, M.D.; Gambioli, F.; Malan, A.G. CFD Based Non-Dimensional Characterization of Energy Dissipation Due to Verticle Slosh. Appl. Sci. 2021, 11, 10401. [Google Scholar] [CrossRef]
  31. Archer, W. Experimental determination of loss of head due to sudden enlargement in circular pipes. Trans. Am. Soc. Civ. Eng. 1913, 76, 999–1026. [Google Scholar] [CrossRef]
  32. Spaur, P.J. Investigation of Discharge Coefficients for Irregular Orifices. Master’s Thesis, West Virginia University, Morgantown, WV, USA, 2011. [Google Scholar]
  33. Rennels, D.C.; Hudson, H.M. Pipe Flow—A Practical and Comprehensive Guide; John Wiley & Sons, Inc.: Hoboken, NJ, USA, 2012. [Google Scholar] [CrossRef]
  34. Kojasoy, G.; Landis, F.; Kwame-Mensah, P.; Chang, C. Two-phase pressure drop in multiple thick- and thin-orifice plates. Exp. Therm. Fluid Sci. 1997, 15, 347–358. [Google Scholar] [CrossRef]
  35. Chisolm, D. Two-Phase Flow in Pipelines and Heat Exchangers, 1st ed.; Longman Inc.: New York, NY, USA, 1983. [Google Scholar]
  36. Sadri, R.M. Channel Entrance Flow. Master’s Thesis, The University of Western Ontario, London, ON, Canada, 1997. [Google Scholar]
  37. White, F.M. Fluid Mechanics, 4th ed.; WCB/McGraw Hill: New York, NY, USA, 2011; pp. 325–710. [Google Scholar] [CrossRef] [Green Version]
  38. Avci, A.; Karagoz, I. A new explicit friction factor formula for laminar, transition and turbulent flows in smooth and rough pipes. Eur. J. Mech.-B/Fluids 2019, 78, 182–187. [Google Scholar] [CrossRef]
  39. Milne-Thompson, L.C.M. Theoretical Hydrodynamics, 3rd ed.; McMillan Co.: New York, NY, USA, 1957. [Google Scholar]
  40. Grose, R.D. Orifice Contraction Coefficient for Inviscid Incompressible Flow. J. Fluids Eng. 1985, 107, 36–43. [Google Scholar] [CrossRef]
  41. Belaud, G.; Cassan, L.; Baume, J.P. Calculation of Contraction Coefficient under Sluice Gates and Application to Discharge Measurement. J. Hydraul. Eng. 2019, 135, 1086–1091. [Google Scholar] [CrossRef] [Green Version]
  42. Wallis, G.B. One-Dimensional Two-Phase Flow, 1st ed.; McGraw-Hill, Inc.: New York, NY, USA, 1969. [Google Scholar]
  43. Roul, M.K.; Dash, S.K. Single-phase and two-phase flow through thin and thick orifices in horizontal pipes. J. Fluids Eng. Trans. ASME 2012, 134, 1–14. [Google Scholar] [CrossRef]
  44. Lewis, R.; Malan, A. Continuum thermodynamic modeling of drying capillary particulate materials via an edge-based algorithm. Comput. Methods Appl. Mech. Eng. 2005, 194, 2043–2057. [Google Scholar] [CrossRef]
  45. Tryggvason, G.; Scardovelli, R.; Zaleski, S. Direct Numerical Simulations of Gas–Liquid Multiphase Flows; Cambridge University Press: Cambridge, UK, 2011. [Google Scholar] [CrossRef]
  46. Ubbink, O.; Issa, R.I. A Method for Capturing Sharp Fluid Interfaces on Arbitrary Meshes. J. Comput. Phys. 1999, 153, 26–50. [Google Scholar] [CrossRef] [Green Version]
  47. Oxtoby, O.F.; Malan, A.G. A matrix-free, implicit, incompressible fractional-step algorithm for fluid–structure interaction applications. J. Comput. Phys. 2012, 231, 5389–5405. [Google Scholar] [CrossRef]
  48. Gambioli, F.; Malan, A. Fuel loads in large civil airplanes. In Proceedings of the 4th International SPHERIC Workshop, Nantes, France, 26–29 May 2009; pp. 246–253. [Google Scholar]
Figure 1. Contracting and expanding flow in a long orifice.
Figure 1. Contracting and expanding flow in a long orifice.
Applsci 12 11909 g001
Figure 2. Fluid volume in a non-inertial reference frame system.
Figure 2. Fluid volume in a non-inertial reference frame system.
Applsci 12 11909 g002
Figure 3. Orifice within non-inertial reference frame system.
Figure 3. Orifice within non-inertial reference frame system.
Applsci 12 11909 g003
Figure 4. Structured mesh with multiple orifice element pairs (left) and unstructured mesh with three orifice element pairs (right).
Figure 4. Structured mesh with multiple orifice element pairs (left) and unstructured mesh with three orifice element pairs (right).
Applsci 12 11909 g004
Figure 5. Nodes in orifice region ( x 1 to x 2 ) with their cell volumes, where the ×’s indicate the actual centroid of the cell volume.
Figure 5. Nodes in orifice region ( x 1 to x 2 ) with their cell volumes, where the ×’s indicate the actual centroid of the cell volume.
Applsci 12 11909 g005
Figure 6. Sharp fluid interface test case.
Figure 6. Sharp fluid interface test case.
Applsci 12 11909 g006
Figure 7. Fluid interface plot before Fluid 1 (red) traveled through the one-dimensional orifice elements (top). Fluid interface plot after Fluid 1 (red) traveled through the one-dimensional orifice elements without (middle) and with (bottom) the changes to CICSAM.
Figure 7. Fluid interface plot before Fluid 1 (red) traveled through the one-dimensional orifice elements (top). Fluid interface plot after Fluid 1 (red) traveled through the one-dimensional orifice elements without (middle) and with (bottom) the changes to CICSAM.
Applsci 12 11909 g007
Figure 8. Cross-section of tank showing position of baffles and pressure sensors of violent slosh test case.
Figure 8. Cross-section of tank showing position of baffles and pressure sensors of violent slosh test case.
Applsci 12 11909 g008
Figure 9. Full-resolution computational mesh of violent slosh test case.
Figure 9. Full-resolution computational mesh of violent slosh test case.
Applsci 12 11909 g009
Figure 10. Reynolds number of flow in each orifice over time of violent slosh test case.
Figure 10. Reynolds number of flow in each orifice over time of violent slosh test case.
Applsci 12 11909 g010
Figure 11. Computational meshes for one-dimensional orifice element model simulations of violent slosh test case.
Figure 11. Computational meshes for one-dimensional orifice element model simulations of violent slosh test case.
Applsci 12 11909 g011
Figure 12. Computational meshes around orifices for one-dimensional orifice element model simulations of violent slosh test case.
Figure 12. Computational meshes around orifices for one-dimensional orifice element model simulations of violent slosh test case.
Applsci 12 11909 g012
Figure 13. Comparison of pressure difference, p 1 p 2 , of violent slosh test case.
Figure 13. Comparison of pressure difference, p 1 p 2 , of violent slosh test case.
Applsci 12 11909 g013
Figure 14. Enlarged comparison of pressure difference, p 1 p 2 , of violent slosh test case.
Figure 14. Enlarged comparison of pressure difference, p 1 p 2 , of violent slosh test case.
Applsci 12 11909 g014
Figure 15. Flow rate through bottom orifice in violent slosh test case using one-dimensional orifice element model.
Figure 15. Flow rate through bottom orifice in violent slosh test case using one-dimensional orifice element model.
Applsci 12 11909 g015
Figure 16. Flow rate through middle orifice in violent slosh test case using one-dimensional orifice element model.
Figure 16. Flow rate through middle orifice in violent slosh test case using one-dimensional orifice element model.
Applsci 12 11909 g016
Figure 17. Flow rate through top orifice in violent slosh test case using one-dimensional orifice element model.
Figure 17. Flow rate through top orifice in violent slosh test case using one-dimensional orifice element model.
Applsci 12 11909 g017
Figure 18. Mass of fluid on left half of tank of violent slosh test case.
Figure 18. Mass of fluid on left half of tank of violent slosh test case.
Applsci 12 11909 g018
Figure 19. Relative mass difference in left-hand side of the tank of one-dimensional orifice element model simulation to full-resolution simulation of the violent slosh test case.
Figure 19. Relative mass difference in left-hand side of the tank of one-dimensional orifice element model simulation to full-resolution simulation of the violent slosh test case.
Applsci 12 11909 g019
Figure 20. Free surface at time t t m a x = 0.2 (left) and t t m a x = 0.4 (right) on the full-resolution mesh (top) and Mesh C (bottom) of violent slosh test case.
Figure 20. Free surface at time t t m a x = 0.2 (left) and t t m a x = 0.4 (right) on the full-resolution mesh (top) and Mesh C (bottom) of violent slosh test case.
Applsci 12 11909 g020
Table 1. Values of B in the Baroczy–Chisolm method.
Table 1. Values of B in the Baroczy–Chisolm method.
Γ G kg m 2 s B
Γ 9.5 G 500 4.8
500 < G < 1900 2400 G
G 1900 55 G 0.5
9.5 < Γ < 28 G 600 520 Γ G 0.5
G > 600 21 Γ
Γ 28 15000 Γ 2 G 0.5
Table 2. Number of one-dimensional orifice elements in each computational mesh.
Table 2. Number of one-dimensional orifice elements in each computational mesh.
No. of Orifice Elements
Top OrificeMiddle OrificeBottom Orifice
Mesh A378
Mesh B344
Mesh C333
Table 3. Comparison of computational cost of full-resolution and one-dimensional element model simulations of violent slosh test case.
Table 3. Comparison of computational cost of full-resolution and one-dimensional element model simulations of violent slosh test case.
Full Resolution1D Element Model
Mesh AMesh BMesh C
No of Nodes3757345831732263
Time Steps154,606129,170131,062130,958
CPU Time67,786 s58,540 s46,892 s33,286 s
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Botha, E.; Malan, L.C.; Malan, A.G. Embedded One-Dimensional Orifice Elements for Slosh Load Calculations in Volume-Of-Fluid CFD. Appl. Sci. 2022, 12, 11909. https://doi.org/10.3390/app122311909

AMA Style

Botha E, Malan LC, Malan AG. Embedded One-Dimensional Orifice Elements for Slosh Load Calculations in Volume-Of-Fluid CFD. Applied Sciences. 2022; 12(23):11909. https://doi.org/10.3390/app122311909

Chicago/Turabian Style

Botha, Elrich, Leon Cillie Malan, and Arnaud George Malan. 2022. "Embedded One-Dimensional Orifice Elements for Slosh Load Calculations in Volume-Of-Fluid CFD" Applied Sciences 12, no. 23: 11909. https://doi.org/10.3390/app122311909

APA Style

Botha, E., Malan, L. C., & Malan, A. G. (2022). Embedded One-Dimensional Orifice Elements for Slosh Load Calculations in Volume-Of-Fluid CFD. Applied Sciences, 12(23), 11909. https://doi.org/10.3390/app122311909

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop