Research Article  Open Access
Siva Srinivas Kolukula, P. Chellapandi, "Nonlinear Finite Element Analysis of Sloshing", Advances in Numerical Analysis, vol. 2013, Article ID 571528, 10 pages, 2013. https://doi.org/10.1155/2013/571528
Nonlinear Finite Element Analysis of Sloshing
Abstract
The disturbance on the free surface of the liquid when the liquidfilled tanks are excited is called sloshing. This paper examines the nonlinear sloshing response of the liquid free surface in partially filled twodimensional rectangular tanks using finite element method. The liquid is assumed to be inviscid, irrotational, and incompressible; fully nonlinear potential wave theory is considered and mixed EulerianLagrangian scheme is adopted. The velocities are obtained from potential using least square method for accurate evaluation. The fourthorder RungeKutta method is employed to advance the solution in time. A regridding technique based on cubic spline is employed to avoid numerical instabilities. Regular harmonic excitations and random excitations are used as the external disturbance to the container. The results obtained are compared with published results to validate the numerical method developed.
1. Introduction
It is common everyday knowledge to each of us that any small container filled with liquid must be moved or carried very carefully to avoid spills. For example, one has to be careful while carrying a cup of coffee while moving, because the motion of the person makes coffee spill. Such a motion on the free surface of the liquid, due to external excitation in the liquidfilled containers, is called sloshing. Sloshing is likely to be seen whenever we have a liquid with a free surface in the presence of gravity. At equilibrium the free surface of the liquid is static and coincides with a gravitational equipotential surface. When the surface is perturbed, an oscillation is set up in which the energy oscillates between kinetic energy and gravitational potential energy. The phenomenon called sloshing occurs in a variety of engineering applications such as sloshing in liquidpropellant launch vehicles, sloshing in liquids used in industries to store oil, water, chemicals, liquefied natural gases, and so forth, and sloshing in the nuclear reactors of pool type, nuclear fuel storage tanks under earthquake. The liquid sloshing may cause huge loss of human, economic, and environmental resources owing to unexpected failure of the container; for example the spillage of toxic chemicals stored in tanks in industries can cause contamination of soil and the environment. Thus, understanding the dynamic behaviour of liquid free surface is essential. As a result, the problem of sloshing has attracted many researchers and engineers targeting to understand the complex behaviour of sloshing and to design the structures to withstand its effects.
Abundant research has been made on the sloshing phenomenon and the literature is vast with wide varieties of numerical methods, analytical solutions, and experiments. The position of the free surface of liquid is not known a priori and obeys a dynamic boundary condition which is nonlinear and makes the problem of sloshing that a nonlinear boundary value problem. Although the sloshing problem is nonlinear, by assuming the freesurface elevation to be small and applying the linearized freesurface boundary condition, a linear theory of sloshing is developed [1, 2]. This linear theory is acceptable in few cases when the amplitude of external excitation is small and not in the neighborhood of the sloshing natural frequency. When the above mentioned conditions do not hold, linear theory fails to predict the sloshing response accurately. Hence nonlinear analysis becomes inevitable for accurate and reliable evaluation of liquid sloshing.
Nonlinear sloshing problem is difficult to solve analytically because of its nonlinear boundary conditions implying a numerical modeling is necessary. Faltinsen [3, 4] solved the nonlinear sloshing problem numerically and derived the analytical solution using perturbation approach with twodimensional flow. Nakayama and Washizu [5] employed the boundary element method for the problem. Wu and Taylor [6, 7] applied finite element analysis for two dimensional nonlinear transient waves. Chen et al. [8] applied finite difference method to simulate largeamplitude sloshing under seismic excitations. Turnbull et al. [9] used sigmatransformed finite element inviscid flow solver for the problem. Frandsen [10] analysed the nonlinear sloshing motions of liquid under vertical, horizontal, and combined motions of the tank using analytical and numerical methods. The author used perturbation methods for analytical solution and modified sigmatransformed finite difference method for numerical solution. Cho and Lee [11] used semiLagrangian nonlinear finite element approximation to analyse the large amplitude sloshing in twodimensional tanks. Wang and Khoo [12] analysed the nonlinear sloshing in twodimensional tanks under random excitations. Sriram et al. [13] analysed nonlinear sloshing in twodimensional tanks using finite element and finite difference method. Biswal et al. [14] analysed the nonlinear sloshing response in tanks with baffles using finite element method. Ibrahim et al. [15] give an excellent review of sloshing phenomenon with extensive number of references available in the literature.
In the present paper a numerical approach based on mixed EulerianLagrangian scheme is adopted. The free surface nodes behave like Lagrangian particles and interior nodes behave like Eulerian particles. The nonlinear sloshing analysis is carried out using finite element method. A fournoded isoparametric element is used in the analysis. The calculation of velocities from velocity potential is an important step to study the sloshing behaviour. Thus velocities must be calculated accurately for accurate sloshing analysis. The velocity field is interpolated from the velocity potential according to least square method [16]. Fourthorder RungeKutta method is employed to advance the solution in time. As the time proceeds in the simulation due to Lagrangian behaviour of the free surface nodes, these nodes move closer and develop a steep gradient leading to numerical instability. To get rid of this problem, a cubic spline interpolation is used for the regridding the free surface uniformly. In the present simulation the tank is assumed to be rigid with aspect ratio of 0.5; is depth of fluid, is length of the tank. Sloshing response is simulated when the external excitation frequency is in resonance and off resonance region. For horizontal excitations the free surface undergoes resonance when excitation frequency is equal to fundamental slosh frequency and shows beating phenomenon when excitation frequency is close to fundamental slosh frequency. The present numerical model is validated with Frandsen [10] numerical results for harmonic excitations and then applied for sloshing response due to random excitation.
2. Governing Equations
Consider a rectangular tank fixed in Cartesian coordinate system , which is moving with respect to inertial Cartesian coordinate system . The origins of this system are at the left end of the tank wall at the free surface and pointing upwards in direction. These two Cartesian systems coincide when the tank is at rest. Figure 1 shows the tank in the moving Cartesian coordinate system along with the prescribed boundary conditions. The tank is assumed to get displaced along axes, and the tank position at time is given by Fluid is assumed to be inviscid, incompressible, and irrotational. Therefore the fluid motion is governed by Laplace’s equation with the unknown as velocity potential : The fluid obeys Neumann boundary conditions at the walls of the container and Dirichlet boundary condition at the liquid free surface. In the moving coordinate system the velocity component of the fluid normal to the walls is zero. Hence, on the bottom and on the walls of the tank () we have On the free surface () dynamic and kinematic conditions hold; they are given as Rewrite the above equations in the Lagrangian form [16]: where is the free surface elevation measured vertically above still water level, is the horizontal acceleration of the tank, and is the acceleration due to gravity.
Equations (1)–(6) give the complete behaviour of nonlinear sloshing in fluids. The position of the fluid free surface is not known a priori; to solve the problem the fluid is assumed to be at rest. Thus the initial conditions for the free surface in the moving Cartesian system at and can be written as: Using these initial conditions, Laplace equation (2) is solved and the free surface elevation and potential are updated for the subsequent time steps using (5)(6).
3. Numerical Procedure
3.1. Finite Element Formulation
The solution of the nonlinear sloshing boundary value problem is obtained using finite element method. The entire liquid domain is discretized by using fournoded isoparametric quadrilateral elements. A typical mesh structure is shown in Figure 2. By introducing the finite element shape functions the liquid velocity potential can be approximated as where is the shape function, is the number of nodes in the element, and is nodal velocity potential.
On applying Galerkin residual method to the Laplace equation, we get with matrix defined by Matrix is analogous to stiffness matrix in structural problems. Using (10), from the known freesurface velocity potential, the velocity potential in the interior nodes is calculated.
3.2. Velocity Recovery
To track the free surface (4) need velocities, which are computed from the calculated potential field using The velocities calculated using (12) are the velocities at the Gauss integration points and they do not possess interelement continuity and have a low accuracy at nodes and element boundaries. Utmost care should be taken to calculate the velocities; a small error in the velocity recovery will affect the accuracy of free surface updating and gets accumulated with time and leads to underestimation of sloshing response. In order to derive a smoothed and continuous velocity, patch recovery technique [17] is applied. In patch recovery technique, the continuous velocity field is obtained by considering the linear interpolation of the velocities at the Gauss integration points: where is any velocity component ( or ), , are the Gauss locations, and are unknowns which need to be evaluated. To evaluate these unknowns, a least square fit is considered between and : where is order Gauss integration points. Then, the four unknown coefficients are determined from four simultaneous equations obtained from Substituting the obtained ’s in (13) gives the velocity values for individual elements and these are averaged for the common nodes. Finally, a smoothed velocity field which is interelement continuous is constructed by interpolating the finite element shape functions used in (9) and nodal averaged velocities. The global continuous velocity field is given as where is velocity component ( or ). Using the patch recovery technique velocity components and are calculated.
3.3. Numerical Time Integration and Free Surface Tracking
After calculating the velocity at a time step , we need to calculate the position of free surface from (6) and determine the potential on the free surface using (5) for the next time step . As a result, the liquid mesh and the boundary condition required for the nexttime step are established. This is done using fourthorder RungeKutta explicit time integration method. The nodal coordinates of the free surface and the associated velocity potential at a current time step are known and can be represented in a single variable as where where is number of segments along the free surface. Similarly the time derivative can be written as The free surface position and associated velocity potential at the next time step can be expresses as where After obtaining the new positions and potential of the free surface, the liquid domain is remeshed based on these obtained new coordinate positions.
3.4. Regridding Algorithm
At the beginning of the numerical simulation, the free surface nodes are uniformly distributed along the direction with zero surface elevation. As the time proceeds the free surface nodes are spaced unequally and cluster into a steep gradient leading to numerical instability. This problem occurs for a long time simulation; to avoid this instability an automatic regridding condition using cubic spline is employed when the movement of the nodes is 75% more or less then the initial grid spacing. For the regridding, first the free surface length is obtained. Then the free surface is divided into segments with the identical arc length. The coordinates of node is denoted as and let the arc length between two successive points and be . Being a uniform regridding, can be expressed as The coordinates of the nodes is a function of the arc length : The cubic spline interpolation is used to calculate the coordinates and the velocity potential on the new uniform free surface is also obtained in a similar fashion.
3.5. Complete Algorithm for Nonlinear Sloshing
Including all the steps above, the algorithm for numerical simulation of nonlinear sloshing is as shown in Figure 3.
4. Numerical Results and Discussion
A code is developed following the above numerical formulation for computing sloshing response. The liquid sloshing response inside a 2.0 m wide rectangular rigid container with liquid filled to a depth of 1 m is simulated. Aspect ratio of 0.5 is maintained. In the numerical simulations, 40 nodes along the direction and 20 nodes along the direction are taken.
4.1. Free Vibration Analysis
To validate the code for stiffness matrix formulation, a free vibration problem is solved first. A mass matrix (shown in (24)) for the free surface of the liquid is formed: If denotes the th natural slosh frequency of the coupled system and the corresponding mode shape, the free vibration problem to be solved is
The natural slosh frequencies obtained from (25) are compared with Faltinsen’s analytical solution [4]. For a rectangular tank the order of natural sloshing frequency is [4], where is the wave number, given by , is the length of the container, and is the water depth. Table 1 shows the slosh frequencies in rad/s obtained for the present tank using finite element method and the above analytical formula. Both the results are in good match. Figure 4 shows the first four mode shapes obtained.

(a)
(b)
(c)
(d)
4.2. Sloshing Response under Harmonic Excitation
In this section, sloshing response is simulated, when the tank is excited with harmonic motion. The tank is assumed to be subjected to the following forced harmonic horizontal motion: where is horizontal forcing amplitude, is time, and is the angular frequency of the forced horizontal motion. Equation (27) gives excitation velocity as , which leads to a zerofree surface velocity potential initial condition from (7). In the present numerical simulation, 40 nodes along the direction and 20 nodes along the direction are taken, and a time step of 0.003 s is adopted. The sloshing response is evaluated for various excitation frequencies which are closer, away, and equal to the fundamental sloshing frequency. The free surface behaviour is examined for smaller and steeper wave according to Frandsen [10]. The simulation cases considered are shown in Table 2. The results obtained are compared with numerical results of Frandsen [10].

Figures 5(a) and 5(b) show the freesurface elevation at the left wall for case 1 for smaller and large horizontal forcing amplitude. The external excitation frequency is in off resonance region; the forcing frequency is smaller than the first fundamental sloshing frequency. The time histories of the sloshing response are nondimensionalised with the first natural sloshing frequency. The results obtained are compared with Frandsen and found to be in good agreement. Figures 5(c) and 5(d) show the associated phase plane plots. These phase plane plots display linear behaviour of the free surface.
(a)
(b)
(c)
(d)
Figures 6(a) and 6(b) show the slosh response for case 2 for small and large forcing amplitude, respectively. In this case the excitation frequency is closer to the first slosh natural frequency and as expected a beating phenomenon is observed. For small forcing amplitude the response is compared with linear solution and both the results are in good match the response is symmetric in this case displaying a linear behaviour. For large forcing amplitude, the system is in nonlinear region; due to nonlinearities an asymmetric beating phenomenon is observed.
(a)
(b)
Figures 7(a) and 7(b) show the slosh response at the left wall for case 3 for small and large forcing amplitude, respectively, and the corresponding phase plane plots. In this case, the external excitation frequency is equal to the fundamental slosh frequency and as expected resonance takes place. The results obtained are in excellent agreement with the Frandsen results. For small amplitude case the response is almost symmetric, but for large amplitude case the response is not symmetric because of nonlinear effects. The phase plane plots show clearly the difference between the small forcing amplitude and large forcing amplitude. A moving mesh generated at different type steps for large forcing amplitude case is shown in Figure 8. (Animation of simulation in this case can be seen in http://www.youtube.com/watch?v=LlwUOWMmVtc.) It helps in understanding the sloshing flow patterns.
(a)
(b)
(c)
(d)
(a)
(b)
(c)
(d)
(e)
(f)
Figures 9(a) and 9(b) show the slosh response at the left wall for case 4. This case is also an off resonance case as case 1 but the forcing frequency is higher than the first natural sloshing frequency. The results obtained are in good agreement with Frandsen.
(a)
(b)
4.3. Sloshing Response under Random Excitation
In this section sloshing response is simulated for random excitations. For simulating random sloshing, first a random excitation time history is needed. The required random excitation is generated using Bretschneider spectrum: where is the significant wave height and is the peak frequency. Since the higher frequencies have no influence on the sloshing waves, a cut of frequency for random waves is set. In this simulation the cut of frequency is taken as five times the natural slosh frequency. Based on this spectrum, the random waves are generated which are given as the base excitation to the container. The displacement of the random wave can be obtained by linear superposition of a series of harmonic waves with random phase as a time function: where denotes a random horizontal oscillation that the container is subjected to, is time, is the frequency of th linear wave, and is the number of all the linear harmonic waves. The frequency ranges from 0 to . and are the wave amplitude and phase of each linear harmonic wave, respectively. The wave amplitude is determined by the following equation: where is the frequency interval. The phase is a random variable and uniformly distributed in the interval .
The specified spectrum of oscillation with h and peak frequency is shown in Figure 10. To generate random wave from the shown spectrum, is taken as 512, 1024 data points are taken, and a time step of 0.02 s is adopted. The horizontal oscillation of the container corresponding to the spectrum is shown in Figure 11(a). Figure 11(b) shows the corresponding time history of the slosh response at the left wall of the container.
(a)
(b)
5. Conclusion
Sloshing response of liquid in 2D fixed and forced tanks is investigated numerically considering fully nonlinear equations. A mixed EulerianLagrangian nonlinear finite element numerical model has been developed based on potential flow theory. Freesurface sloshing response is simulated under regular harmonic base excitations for small and steep waves and then the formulation is extended to random excitations. In the simulations, the tank is assumed to be rigid with aspect ratio of . For accurate velocity computation, the velocity field is interpolated from the velocity potential according to least square method. The fourthorder RungeKutta method is employed to advance the solution in time domain and a regridding technique based on cubic spline is employed to avoid numerical instabilities. The test cases considered here are similar to the test cases by Frandsen for regular harmonic excitations. The results obtained are in perfect match with Frandsen results. In the present simulation, no regridding is required for the simulation of small amplitude waves. In the case of steep waves, for long time simulation, regridding should be carried out for every few time steps.
Supplementary Materials
Nonlinear sloshing response in case of resonance. Simulated using Finite Element Method. Container is assumed to be rigid; container is of length 2 meters and filled with water to a of depth 1 meter.
References
 H. N. Abramson, “The dynamic behaviour of liquid in moving containers,” NASA Report SP 106, 1996. View at: Google Scholar
 M. A. Haroun, “Dynamic analysis of liquid storage tanks,” Tech. Rep. EERL 804, California Institute of Technology, 1980. View at: Google Scholar
 O. M. Faltinsen, “A numerical nonlinear method of sloshing in tanks with two dimensional flow,” Journal of Ship Research, vol. 22, no. 3, pp. 193–202, 1978. View at: Google Scholar
 O. M. Faltinsen, “A nonlinear theory of sloshing in rectangular tanks,” Journal of Ship Research, vol. 18, pp. 224–241, 1974. View at: Google Scholar
 T. Nakayama and K. Washizu, “The boundary element method applied to the analysis of twodimensional nonlinear sloshing problems,” International Journal for Numerical Methods in Engineering, vol. 17, no. 11, pp. 1631–1646, 1981. View at: Publisher Site  Google Scholar  Zentralblatt MATH
 G. X. Wu and R. E. Taylor, “Finite element analysis of twodimensional nonlinear transient water waves,” Applied Ocean Research, vol. 16, pp. 363–372, 1994. View at: Publisher Site  Google Scholar
 G. X. Wu and R. E. Taylor, “Time stepping solutions of the twodimensional nonlinear wave radiation problem,” Ocean Engineering, vol. 8, pp. 785–798, 1995. View at: Google Scholar
 W. Chen, M. A. Haroun, and F. Liu, “Large amplitude liquid sloshing in seismically excited tanks,” Journal of Earthquake Engineering and Structural Dynamics, vol. 25, pp. 653–669, 1996. View at: Publisher Site  Google Scholar
 M. S. Turnbull, A. G. L. Borthwick, and R. Eatock Taylor, “Numerical wave tank based on a σtransformed finite element inviscid flow solver,” International Journal for Numerical Methods in Fluids, vol. 42, no. 6, pp. 641–663, 2003. View at: Publisher Site  Google Scholar
 J. B. Frandsen, “Sloshing motions in the excited tanks,” Journal of Computational Physics, vol. 196, no. 1, pp. 53–87, 2004. View at: Publisher Site  Google Scholar
 J. R. Cho and H. W. Lee, “Nonlinear finite element analysis of large amplitude sloshing flow in twodimensional tank,” International Journal for Numerical Methods in Engineering, vol. 61, no. 4, pp. 514–531, 2004. View at: Publisher Site  Google Scholar  MathSciNet
 C. Z. Wang and B. C. Khoo, “Finite element analysis of twodimensional nonlinear sloshing problems in random excitations,” Ocean Engineering, vol. 32, no. 2, pp. 107–133, 2005. View at: Publisher Site  Google Scholar
 V. Sriram, S. A. Sannasiraj, and V. Sundar, “Numerical simulation of 2D sloshing waves due to horizontal and vertical random excitation,” Applied Ocean Research, vol. 28, no. 1, pp. 19–32, 2006. View at: Publisher Site  Google Scholar
 K. C. Biswal, S. K. Bhattacharyya, and P. K. Sinha, “Nonlinear sloshing in partially liquid filled containers with baffles,” International Journal for Numerical Methods in Engineering, vol. 68, no. 3, pp. 317–337, 2006. View at: Publisher Site  Google Scholar
 R. A. Ibrahim, V. N. Pilipchuk, and T. Ikeda, “Recent advances in liquid sloshing dynamics,” ASME Applied Mechanics Review, vol. 54, pp. 133–199, 2001. View at: Publisher Site  Google Scholar
 M. S. LonguetHiggins and E. D. Cokelet, “The deformation of steep surface waves on water. I. A numerical method of computation,” Proceedings of the Royal Society A, vol. 350, no. 1660, pp. 1–26, 1976. View at: Publisher Site  Google Scholar  Zentralblatt MATH  MathSciNet
 O. C. Zienkiewicz and J. Z. Zhu, “The superconvergent patch recovery and a posteriori error estimates. I. The recovery technique,” International Journal for Numerical Methods in Engineering, vol. 33, no. 7, pp. 1331–1364, 1992. View at: Publisher Site  Google Scholar  Zentralblatt MATH  MathSciNet
Copyright
Copyright © 2013 Siva Srinivas Kolukula and P. Chellapandi. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.