Abstract
Shallow-water fluid sloshing in the Lagrangian Particle Path formulation, with the addition of an energy-extracting porous baffle, is simulated numerically using a symplectic numerical scheme which captures, in an essential way, the energy exchange. The fluid motion in a rectangular vessel is dynamically coupled to a surface-piercing porous baffle. The fluid transmission through the baffle is characterized by a nonlinear Darcy–Forchheimer model equation. The numerical scheme is symplectic, based on the implicit-midpoint rule, and thus is strategically designed to maintain the energy partition between the fluid and vessel throughout numerous time steps. Our results demonstrate the non-conservative nature of the system, with the porous baffle effectively dissipating energy from the overall system. Furthermore, we present findings that demonstrate the role of time-periodic variations in baffle porosity on energy dissipation. By manipulating the frequency and magnitude of this time-dependent variability, it is established that a greater amount of energy can be extracted from the system compared with the optimal fixed porosity baffle. These results shed new light on potential strategies for enhancing energy dissipation in such configurations.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
Research into fluid sloshing motions in vessels forced to move in prescribed manners is a vast area of research in both science and technology (see [1] and [2] and references therein). The motion of the fluid is typically complex, and as the fluid interacts with the walls of the vessel, it generates forces and moments on these walls which can have unintended consequences, such as causing faults in fuel tanks which have been excited by phenomena such as earthquakes [3]. Other possible scenarios where fluid sloshing may occur might include maritime and terrestrial fuel transport [4]. If the vessel is free to move (either fully, or in some constrained way) then those fluid forces and moments can generate movement of the vessel, which in turn feedback into the motion of the fluid. This coupled motion is very complex and can lead to devastating destabilization consequences, such as capsizing King crab boats [5, 6] and the spilling of coffee from a mug while walking [7]. In order to mitigate against destabilization, it is important to recognize when destabilization is occurring and put measures in place to control the system. For example, a ‘carry cradle’ has been shown to be very successful in reducing fluid sloshing in carried coffee mugs [8]. The novel feature of this paper is we consider a time-dependent porous baffle as a mechanism to control the system.
Baffles that are non-porous have been utilized in sloshing systems to reduce the negative consequences of the sloshing fluid, essentially by blocking the flow [1, 9]. This blocking of the flow leads to a change in the natural frequency of the system which can alter the forces generated inside the vessel, making them less severe. Such a scenario was considered by [10] who considered a rectangular vessel with N surface-piercing baffles and found the natural frequency of the system increased as N was increased. Porous baffles can also modify the system’s natural frequency [11], but they play a more significant role by extracting energy from the system and damping the motion [12, 13]. There have been significant experimental and numerical studies on the effect of porous baffles on forced systems (not dynamically coupled), in particular focusing on their position, size and material construction [14,15,16,17,18,19,20,21,22,23]. The key features of the baffles turn out to be their size and construction. The baffle construction, i.e it a randomly drilled porous block or perforated plate, is particularly significant to its overall damping properties. In numerical simulations of the baffle systems in the literature, the flow though the baffle is not explicitly calculated, and instead fluid transmission through the baffle is modelled via a model equation. Such an equation can include using Darcy’s law in linear and weakly nonlinear scenarios [24,25,26,27], using a nonlinear pressure drop condition for highly nonlinear scenarios [28, 29] or using a Darcy–Forchheimer condition [30] for intermediate conditions. The Darcy–Forchheimer condition has proved particularly successful in modelling the sloshing motion of a fluid in a tuned liquid damper filled with a porous media [31, 32]. Turner [11] examined the linear normal modes for the coupled sloshing problem and investigated how the frequency of these modes varied with the system parameters.
In the current paper we perform, to the best of our knowledge, the first numerical simulations of a dynamically coupled system, to include porous baffles. To model the system, we approximate the fluid as a shallow-water layer, and use the Lagrangian Particle Path (LPP) approach, developed for dynamic sloshing systems by [33]. This approach has been widely implemented in similar dynamic sloshing problems [34,35,36] due to the fact that the scheme has a symplectic structure and, hence, can be integrated by a geometric integration scheme such as the implicit-midpoint rule [34, 37, 38]. Such a scheme preserves the partition of energy between the vessel and the fluid, and bounds any numerical leakage of energy from the fluid to the vessel. This is particularly important when we allow the porosity of the baffle to vary with time.
The current paper is laid out as follows. In §2, we formulate the governing equations for the nonlinear system and then take the shallow-water approximation of these equations. In Sect. 3, we consider the linear solution to these equations for scheme validation, while Sect. 4 formulates the numerical scheme in both the nonlinear and linear regimes. Results of the scheme are presented in Sect. 5. Linear validation results and weakly nonlinear simulations are found in Sect. 5.1, while a mode switching phenomena in the limit as the fluid layer depth goes to zero is presented in Sect. 5.2. Section 5.3 investigates the control properties on the system when a baffle with time-dependent porosity is considered. Concluding remarks can be found in Sect. 6.
2 Formulation of governing equations
2.1 Finite depth fluid equations
The problem we consider is that of a two-dimensional vessel with rectangular cross-section. The vessel is of length L and contains a surface-piercing porous baffle at \(x=L_1\), while the impermeable rigid side walls of the baffle lie at \(x=0\) and \(x=L=L_1+L_2\). The vessel is partially filled with an inviscid, incompressible, irrotational fluid of constant density \(\rho \), which has a mean depth of H, meaning that the vessel is filled with a fluid of mass \(m_f=\rho H L\). Figure 1 depicts a schematic of the problem of interest, where variables are indexed by subscripts 1 and 2 in the left and right compartments, respectively.
In the spatial frame,the coordinates are \(\textbf{X}=(X,Y)\), while in the body frame fixed to the vessel, the rectangular coordinates are \(\textbf{x}=(x,y)\) as shown in Fig. 1. The vessel undergoes unidirectional motion parallel to the x-direction, of amplitude q(t) and hence the two reference frames are related via
where \((X_0,Y_0)\) is a constant displacement. The vessel is attached to a wall at \(X=0\) by a linear spring, which acts as a restoring force on the vessel, hence the function q(t) is determined as part of the solution. In each compartment, the fluid occupies the region
for \(j=1,2\), where \(x_0=0\) and \(x_2=L\). We represent the fluid velocity field via the two-dimensional vector \((u_j(x,y,t),v_j(x,y,t))\) and the pressure field via the scalar quantity \(p_j(x,y,t)\). Thus, the Eulerian representation of the fluid momentum equations and the conservation of mass equation in each compartment, relative to the body coordinates, are given by the Euler equations
for \(j=1,2\). Here, g is the gravitational constant, \(\displaystyle \frac{D}{Dt} := \frac{\partial }{\partial t} + u_j\frac{\partial }{\partial x} + v_j \frac{\partial }{\partial y}\) is the two-dimensional material derivative and the overdots denote derivatives with respect to t.
On the free surface of the fluid in each compartment, the pressure and velocity fields satisfy the dynamic and kinematic boundary conditions, namely
The boundary conditions on the rigid side walls and vessel bottom are
while the baffle at \(x=x_1=L_1\) is porous and thus fluid can be exchanged between the two compartments. We do not explicitly calculate the flow through the baffle, and instead, we model the transmission of the fluid through the baffle with a model equation. We assume that at the baffle the fluid velocities and the fluid pressure satisfy a Darcy–Forchheimer model [30] and hence these quantities are related via
The coefficient \(\beta \in \mathbb {R}\) is a measure of the porosity of the baffle and \(\gamma \in \mathbb {R}\) is known as the internal permeability. If \(\beta \) or \(\gamma \) is zero, with the other non-zero, then we have an impermeable baffle [34], while if \(\beta \) and \(\gamma \) is infinite, then the baffle is no longer present, and we now have a single compartment vessel [33].
Using (2.2) and the second equation of (2.1), we can modify the right-hand side of the transmission boundary condition (2.4) at the baffle such that it is written in terms of the surface elevations \(h_j\) rather than the pressures \(p_j\). To do this,we integrate the second equation of (2.1) with respect to y to give
using the dynamic boundary condition. Thus
This is an exact equation for the pressure difference between the two compartments, which will simplify further once we make assumptions about the depth of the fluid layer in Sect. 2.2.
Rather than using the velocity field throughout the whole fluid, we instead choose to express the momentum equations (2.1) in terms of the surface velocity field, defined by
This transformation is laid out in detail in [33] for the single compartment vessel, and so here we just quote the result, which is that the surface velocity components in each compartment satisfy the two exact equations
at \(y=h_j(x,t)\) for \(j=1,2\), where (2.5) has been used to eliminate the pressure.
The motion of the vessel is determined by a forced pendulum equation and is derived using a variational principle. This derivation was laid out clearly for the impermeable baffle problem in [34], and hence we just state the equation as
where \(m_f\) is the fluid mass. Note, in this work,we only consider a linear spring equation, but a nonlinear spring can easily be incorporated by including a \(-\nu _2q^3\) term on the LHS of (2.9) [34].
2.2 Shallow-water approximation to governing equations
The exact set of equations for the motion of the system (2.8) and (2.9) are not closed because the terms on the right-hand sides contain terms involving \(v_j(x,y,t)\), \(u_j(x,y,t)\) and \(V_j(x,t)\). In order to close this set of equations, we need to neglect the right-hand sides of (2.8) and (2.9), which can be achieved by making the shallow-water assumption for our problem. The principle assumptions in this limit are then
for \(j=1,2\), where \(U_0\) is an order-one reference velocity. These assumptions are the usual shallow-water fluid theory assumptions. Namely, that the vertical Lagrangian acceleration at the free-surface is smaller than the gravitational restoring force, and that the horizontal velocity is independent of the vertical coordinate y. The first condition in (2.10) is a special case of the more common shallow-water assumption that the Lagrangian acceleration in the vertical direction is small everywhere [39], while if we assume \(\partial u_j/\partial y=0\) in each compartment, then integrating the continuity equation leads to \(v_j+y\partial u_j/\partial x=0\) which leads to the second condition when evaluated on the free surface. The third condition is then a consequence of this assumption.
Applying these assumptions to our governing equations from Sect. 2.1 gives the shallow-water equations for the fluid motion as
for \(j=1,2\), and these are coupled to the vessel motion via the forced pendulum equation which is written as
In the shallow-water regime, the rigid side-wall boundary conditions and the porous baffle transmission condition become
The governing shallow-water equations above can be determined by the Euler-Lagrange equations of the Lagrangian functional
and
where \(\lambda _i\) are Lagrange multipliers. This Lagrangian is of the form
where the kinetic (KE) and potential (PE) energies are
with the constraints imposed. It is also possible to show that the total energy of the system
decays with time, see Appendix 7.
In the next section, we consider the solution of the shallow-water equations in the linear regime of small amplitude motions.
3 Linear coupled problem
The solution of the shallow-water problem in the linear regime of small amplitude motions allows us to determine the natural frequencies of the system, i.e. those frequencies at which the system wants to naturally oscillate. To consider the small amplitude motions of the system, we seek small velocity perturbations about a quiescent free-surface at \(y=H\) and hence the governing shallow-water equations in each compartment reduce to
for \(j=1,2\), with the boundary conditions given by (2.13) and (2.14). The linearized form of (2.14) for small velocities about a quiescent system is
while the coupled linear vessel equation, linearized about \(q=0\) reduces to
To identify the characteristic equation for this system of equations, we consider a normal mode decomposition of the perturbation quantities, hence we let
where c.c denotes the complex conjugate. This leads to the linearized set of equations
for \(j=1,2\), where here the subscripts denote partial derivatives. Eliminating \(\widehat{h}_j\) from each pair of equations leads to a governing equation for each \(\widehat{U}_j\) as
where \(\alpha ^2=\dfrac{\omega ^2}{gH}\).
Solving this expression for \(j=1,2\) gives
for unknown constants \(A_j\), \(B_j\). The two side-wall conditions from (2.13) imply that
giving
while the second two equations lead to the pair of equations
where \(L_2=L-L_1\) is the length of the second compartment.
The case when \(\sin \alpha L_1=\sin \alpha L_2=0\) was examined in [11] and this case leads to symmetric sloshing modes in a stationary vessel, i.e. modes which do not link to the vessel motion. For the case when these quantities are non-zero,the above pair of equations are solvable, giving
where
The linearized vessel equation gives a third equation linking \(B_1,B_2\) and \(\widehat{q}\). To evaluate this equation, we use the fact that
giving the third equation as
Writing these three equations as a matrix system and solving for non-trivial solutions lead to a characteristic equation of the form
The above formulation gives the natural frequencies of the system. These natural frequencies give the eigenbasis for the nonlinear formulation of the problem, i.e. nonlinear solutions are superpositions of these linear eigenmodes. These linear solutions are also vital for providing initial conditions allowing us to validate the numerical scheme against known results. We discuss the solutions to (3.22) in Sect. 5.1 to which there are an infinite number of modes, the lowest frequency ones of which are plotted in Fig. 2.
4 Numerical scheme for nonlinear simulations
The numerical scheme used to solve the governing shallow-water equations is based on a Lagrangian Particle Path (LPP) formulation [33] and is very similar to that laid out for the impermeable baffle problem in [34]. The reader is referred to [34] for more details of the formulation.
The LPP formulation comes from converting from Eulerian to Lagrangian coordinates via the non-degenerate mapping
which when substituted into (2.11) and (2.12) gives
for \(0<a<a_B\) for \(j=1\) and \(a_B<a<L\) for \(j=2\). Here \(a_B\) is the unknown Lagrangian coordinate which fixes the position of the baffle in the Eulerian framework and needs to be determined as part of the solution. The vessel equation becomes
where
comes from the mass conservation equation and \(a_0=0\), \(a_1=a_B\) and \(a_2=L\). Here \(\chi ^{(j)}(a)\) is independent of \(\tau \) and hence is fixed at \(\tau =0\). From this equation, we are able to determine the free-surface elevation via \(h_j=\chi ^{(j)}/x_a\). In this LPP formulation, the unknowns are \(x(a,\tau )\) and \(q(\tau )\).
The above equations (4.24) and (4.25) in Lagrangian coordinates can be determined from a variational principle from the Lagrangian (2.15) where we use (4.23) to convert the Lagrangian to these Lagrangian coordinates. Converting the Lagrangian and performing a Legendre transformation leads to a non-autonomous Hamiltonian functional
where the constraints hold and \(\left( x,w,q,p\right) \) are the canonical variables with momentum variables
The governing equations can be written in Hamiltonian form as
The impermeable side-wall boundary conditions to be solved together with (4.29) are
and
For the conditions at the porous baffle, the transmission conditions are
and from (2.4)
which implicitly gives an equation for the unknown variable w at \(a=a_B\). Equation (4.32) essentially defines the position of the baffle \(a_B\) in the Lagrangian framework. However, we find the form (4.32) troublesome to work with, as \(a_B\) needs to be found via interpolation which introduces unnecessary errors. This can be overcome by forming an ODE for the value of \(a_B(\tau )\) by differentiating (4.32) with respect to \(\tau \) to give
Using (4.29), we can then write this equation as
Note that the introduction of the condition (4.33) means that this system, unlike the impermeable baffle problem in [34], is no longer conservative and thus energy is not conserved. However, it has been shown that symplectic integration schemes work very well for symplectic equations with dissipative perturbations, even capturing the actual dissipation better than non-symplectic schemes [38]. They have also been shown to be very efficient at preserving the energy budget between the fluid and the vessel [33], hence we choose to use a symplectic scheme here.
4.1 The semi-discretization of (4.29)
The challenging numerical aspect of solving the system (4.29)-(4.34) is that the Lagrangian coordinate \(a_B\) is a function of \(\tau \), and so the domains on which the governing equations are solved are not fixed. To overcome this, we make the following change of variables to a fixed domain in each region, namely
where \(\xi _1(\tau )=a_B(\tau )\) and \(\xi _2(\tau )=L-a_B(\tau )\).
The domains \(A^{(1)}\) and \(A^{(2)}\) can then be regularly discretized by setting
where N and M are integers and we define \(\Delta A^{(1)}=1/N\) and \(\Delta A^{(2)}=1/M\). Notationally, we write \(x_i^{(j)}(\tau ):= x(A^{(j)}_i,\tau )\) and \(w_i^{(j)}(\tau ):= w(A_i^{(j)},\tau )\) where \(j=1,2\) denotes the region of the vessel.
The change of variables and discretization of the equations (4.29)-(4.34) is relatively straightforward, except for the \(w_\tau \) equation, which requires a variational discretization, where the Hamiltonian function (4.27) is first discretized and then variations of this are then taken. In this case, following [33], these equations become
Thus the full semi-discretization of the transformed equations are then given by (4.37) and (4.38) together with
where \(i=2,\ldots , N\) for \(j=1\) and \(i=2,\ldots , M\) for \(j=2\), and where
are the integral terms in (4.29) which have been discretized using the trapezoidal rule.
The semi-discretization of the side-wall boundary conditions is
and
while at the porous baffle,the conditions (4.32)-(4.34) are
where \(w_B\) is a solution of
and
is the average of the \(\dfrac{\partial x}{\partial a}\) values at \(A^{(1)}=1\) and \(A^{(2)}=0\).
Under the change of variables (4.35) and (4.36), equation (4.26) no longer states that \(\chi \) is independent of \(\tau \), and in fact, the conservation of mass equation now states that we must additionally solve
with the corresponding forward and backward forms of \(\dfrac{\partial x}{\partial a}\) to evaluate the four end points \(i=1,N+1\) for \(j=1\) and \(i=1,M+1\) for \(j=2\). Now the free-surface elevation is given by
for \(j=1,2\).
4.2 Time discretization using the Implicit Midpoint Rule
The semi-discretization of the governing equations above has the form
where
We discretize \(\tau \) such that \(\tau _n=n\Delta \tau \) where \(\Delta \tau \) is a fixed time step and introduce the notation \(\textbf{q}(\tau _n)=\textbf{q}^{n}\). Then, equations of this form can be integrated by applying the implicit-midpoint rule [38], which is second-order accurate in time and discretizes the equations as
The implicit nature of this algorithm means that larger time steps, \(\Delta \tau \), can be taken compared to an explicit scheme, which helps in keeping the scheme computationally fast when weakly nonlinear simulations are considered which require a higher spatial resolution.
The system of nonlinear equations and boundary conditions (4.40)-(4.44) is a system of \(3(N+M)+9\) equations with \(3(N+M)+9\) unknowns. We define the vector of unknown variables at time \(\tau _{n}\) as
The system of nonlinear algebraic equations is solved using Newton’s method, where iterations are continued until \(||\textbf{X}^{n+1}-\textbf{X}^n||_2/||\textbf{X}^{n+1}||_2<10^{-8}\).
5 Numerical results
In this section, we present numerical results to the nonlinear equations (4.39)–(4.44). One of the limitations of the shallow-water model used in this paper is: for sloshing problems, the equations are only able to sustain a weak amount of nonlinearity before wave breaking occurs. Thus we are limited to parameter regimes where wave overturning does not occur and the nonlinearities observed are weak. In cases where the scheme approaches breaking, the code breaks down due to the free-surface becoming multiply defined. Therefore, we find that at most, our results are weakly nonlinear. Hence,we choose to fix \(\gamma (\tau )=1\) in the nonlinear transmission condition throughout this section and find no quantitative difference to the results presented if this value is significantly varied.
In all the results presented in this manuscript,the parameters N, M and \(\Delta \tau \), which govern the resolution of the numerical scheme, were varied to ensure the presented results have converged.
5.1 Scheme validation and weakly nonlinear example
In this section, we validate our numerical scheme by making direct comparisons with the linear results presented in Sect. 3. Before we compare the numerical simulation results, we first consider what frequencies of solution, \(\omega =\omega _r+\text {i}\omega _i\), we expect to observe by solving the characteristic equation (3.22). Note that the value of \(\omega _i\) denotes the exponential decay rate of the mode as we only find solutions with \(\omega _i\ge 0\). In Fig. 2, we consider plots of \(\omega _r(\beta )\) and \(\omega _i(\beta )\) for (a,b) \(L_1=L_2=0.5\,\)m and (c,d) \(L_1=0.25\,\)m, \(L_2=0.75\,\)m with the other parameters given by
with \(N=M=100\) and \(\Delta \tau =10^{-3}\,\textrm{s}\). The results show that those modes for which \(\omega _r\) varies considerably as \(\beta \rightarrow 0\) also have the largest decay rates. The lowest frequency modes (labelled 1) are likely to be the modes observed in a physical system, as these modes typically decay the slowest. More discussion on the modal results and how the various system parameters affect these results can be found in [11], while more information on this type of eigenvalue spectrum for similar coupled fluid/vessel systems without baffles can be found in [40,41,42,43].
For the validation of our numerical scheme,we consider three cases from Fig. 2, namely for \(L_1=L_2=0.5\,\)m,we consider mode 1 when \(\beta =0.508\,\textrm{sm}^{-1}\), mode 6 when \(\beta =0.995\,\textrm{sm}^{-1}\) and for \(L_1=0.25\,\)m \(L_2=0.75\,\)m, we consider mode 1 when \(\beta =0.380\,\textrm{sm}^{-1}\). For each of these cases,we consider the exact linear initial condition, namely
where \(\widehat{U}_j\) are given in (3.20) for \(j=1\) and \(j=2\). The \(\mathrm{c.c.}\) denotes the complex conjugate.
In Figs. 3–6, we compare the numerical (solid black lines) and the exact analytical results (dashed red lines) for the three cases noted above. In all cases, the exact and analytical results for the vessel displacement q(t) and the free-surface elevations h(x, t) are in excellent agreement. Note that we plot our results in terms of the Eulerian variables (x, t) as these are more intuitive than \((A^{(j)},\tau )\). In this linear case,\(t=\tau \) and \(x=[\xi _1A^{(1)},(a_B+\xi _2A^{(2)})]\). The mode 6 result has \(\omega =10.225+2.529\text {i}\,\textrm{rad}\,\textrm{s}^{-1}\) and so decays very quickly compared to the other two cases where \(\omega =1.027+0.032\text {i}\,\textrm{rad}\,\textrm{s}^{-1}\) and \(\omega =1.019+0.023\text {i}\,\textrm{rad}\,\textrm{s}^{-1}\), respectively. However, even in this case, the agreement for q(t) and \(a_B(t)-L_1\) in Fig. 3b is excellent.
For the free-surface profiles, h(x, t), in Fig. 5, we see some numerical round off errors in the black numerical results, but the overall agreement is still excellent.
As \(\widehat{q}\) is increased, the problem becomes more nonlinear; however, the parameter window to observe the nonlinearity is limited, because if we increase \(\widehat{q}\) too much, then we get wave breaking and the numerical scheme breaks down. Hence we can only realistically model weakly nonlinear situations with this scheme, which we consider in Figs. 7 and 8 with \(\widehat{q}=0.05\,\textrm{m}\). In these figures, the spatial resolution has been increased to \(N=M=400\) to give converged results.
In Fig. 7, we consider the evolutions of q(t) and \(a_B(t)\) where we have subtracted off the equivalent linear solution functions. The results show small \(O(\widehat{q}^2)\) corrections to these values, with higher frequency oscillations appearing for the duration of the simulation. We saw in Fig. 2 that these higher frequency modes typically have faster decay rates than the lowest frequency mode and so these modes decay away as time evolves. The nonlinear terms grow in magnitude over \(t\in [0,50]\,\textrm{s}\) before decaying as the porous baffle removes the energy from the system.
The weakly nonlinear free-surface profiles in Fig. 8 also show the presence of nonlinear oscillations, and these appear to persist throughout the whole simulation.
Now that the numerical scheme is validated, and we go on to highlight an interesting mode switching phenomena in the next section, before investigating the effects on the system of incorporating a baffle with time-dependent porosity.
5.2 Mode switching phenomena as \(H\rightarrow 0\)
In the zero-baffle problem considered by [44], they found a curious feature of the system where the dominant behaviour in the system switches to ever higher frequency modes, as the fluid depth \(H\rightarrow 0\), in order that the correct dry vessel oscillation frequency is achieved in the \(H=0\) limit. In the porous baffle case,we would expect the same behaviour to occur, but it is less clear as to how the decay rate of the system would behave as this limit is approached. This is investigated in this section.
The problem [44] considered is slightly different to that in Fig. 1 and actually comprises of a vessel hung as a bifilar pendulum with string lengths l, see Fig. 9, where here q(t) denotes the angle of the string to the vertical. However, in the linear regime, where this mode switching phenomena is observable, both problems are identical if the linear spring coefficient is allowed to vary with \(m_f(H)\) via
We use (5.58) together with the system parameters
with \(N=M=100\) and \(\Delta \tau =10^{-3}\,\textrm{s}\), which match those parameters used by [44] in their calculation. In this section, we consider an initial condition such that
This initial condition is one which is more readily observed in an experimental setup and comprises of a condition where the vessel is displaced from its equilibrium position, extending the spring or placing the hanging string at a non-zero angle, and then being released from rest. The solution in this case comprises of a superposition of all the modes of the system, with differing amplitudes.
We conduct a series of numerical simulations and from each of these, we consider the values of \(\omega _r\) and \(\omega _i\) as a function of \(m_f/m_v\) (which is equivalent to varying H for fixed \(m_v,~\rho ,~L_1+L_2\)) in Fig. 10.
In this figure, the five black lines signify the values of the five lowest frequency modes found by solving the characteristic equation (3.22), while the circles are estimates taken from the numerical simulations. The dashed line is the dry vessel frequency \(\sqrt{g/l}\) and hence is the system frequency at \(m_f=0\).
To calculate the values of the circles, we compute the vessel motion q(t) from \(t=0\) to \(t=10\,\)s. We then use the |MATLAB| subroutine |findpeaks| to identify the local maxima of this function and then use each pair of successive maxima to estimate a value for \(\omega _r\) and \(\omega _i\). We denote the numerical estimates by \(\omega _r^\textrm{num}\) and \(\omega _i^\textrm{num}\), respectively. Finally, we average these values over all maxima in \([0,10]\,\)s to get the estimate value we plot in Fig. 10.
These numerical results show the frequency of the simulations switching from the mode labelled 1 to the mode labelled 2 around \(m_f/m_v\approx 0.6\). The peculiar feature of the result here is that this transition does not occur exactly at the point where the two \(\omega _i\) values intersect. The numerical results follow mode 1 beyond this point \((m_f/m_v\approx 0.7\)) and then switch. What this switching actually amounts to is the time-dependent amplitude of the modes switching dominance, such that mode 2 has the largest amplitude for \(m_f/m_v\lesssim 0.5\), as the numerical solution is a superposition of all these modes. As \(m_f/m_v\) is reduced below 0.5, eventually the numerical results agree with the dry vessel result given by the dashed line. The decay rate of the solution reduces as \(m_v/m_f\rightarrow 0\), but very close to zero \((m_f/m_v\approx 0.04)\); there is a small increase in \(\omega _i\) before going to zero in the dry vessel limit.
This mode switching in the function q(t) can be seen in Fig. 11. In Fig. 11a, the value of \(m_f/m_v=1.0\) and it is clear that the frequency and decay rate agree very well with the exact linear result of mode 1, given by the red dashed line. For \(m_f/m_v=0.5\) in Fig. 11b, we are in the transition region between the two modes and clearly there are oscillations of a shorter wavelength (larger \(\omega _r\)) emerging, but there is a modulation similar to the frequency of the mode 1 result. Then at \(m_f/m_v=0.25\) in Fig. 11c, it is clear that both \(\omega _r\) is larger and \(\omega _i\) is smaller and in this figure, the red dashed line gives the exact result for mode 2, showing excellent agreement.
Such a switching phenomena could be significant in oscillating systems where the fluid is slowly being drained out. In such cases, being able to change the porosity of the baffle remotely might then be desirable, in order to control the system. In the next section, we consider baffles with time-dependent porosity to try to understand how such systems behave, and whether they allow for the system to be controlled.
5.3 Time-dependent baffle porosity
In this section, we again consider the system from Fig. 1, but we investigate the effect of prescribing the porosity of the baffle to vary with time. Such a baffle could consist of a regular holed slat screen [29], where the holes are mechanically opened and closed in some prescribed manner. The interest in this problem is to try and understand how the system behaves, with the main interest in whether the decay rate of the system can be increased from the maximum decay rate for the lowest frequency mode, by periodically oscillating the baffle’s porosity.
For the results in this section, we again consider the system parameters (5.50) with \(L_1=L_2=0.5\,\textrm{m}\) and \(\widehat{q}=5\times 10^{-4}\,\textrm{m}\). We consider five periodic forms for
where
with the constant amplitudes \(A=A_2=2\,\mathrm{s\,m}^{-1}\), \(A_3=1\,\mathrm{s\,m}^{-1}\), \(A_4=4\,\mathrm{s\,m}^{-1}\) and \(A_5=0.5\,\mathrm{s\,m}^{-1}\).
The forms of these functions are plotted in Fig. 12. The function \(\beta _1(\tau )\) is chosen as it uses the whole range of value of \(\beta \in [0,\infty )\), while for \(\beta _{2-5}(\tau )\), the time variations are a simpler periodic function with constant amplitude and hence are more likely to be manufacturable and implementable.
In Fig. 13, we consider the numerical decay rate \(\omega _i^\textrm{num}\) for simulations with \(\beta =\beta _1(\tau )\), in the \((\Omega ,T_\textrm{on})\)-plane. The values of \(\omega ^\textrm{num}\) are calculated as in Sect. 5.2 except here we average over the time period \(\tau \in [0,100]\,\textrm{s}\). The black contour corresponds to the maximum linear decay, \(\omega _i^\textrm{max}=0.03218\,\mathrm{rad\,s}^{-1}\), rate for a fixed baffle with \(\beta =\beta ^\textrm{max}=0.508\,\mathrm{s\,m}^{-1}\). The lighter regions (green-yellow) signify parameter regions where the system decay rate is above \(\omega _i^\textrm{max}\), i.e. the system decays faster than would be seen in a system with a fixed baffle with \(\beta =\beta ^\textrm{max}\). What this figure shows is at low frequencies \(\Omega \lesssim 8\,\textrm{s}^{-1}\), there is some dependence on the \(T_\textrm{on}\) value when the baffle porosity switches on, but above this frequency, the results are independent of this value. The system results fall into stripes of regions with \(\omega _i^\textrm{num}>\omega _i^\textrm{max}\) and \(\omega _i^\textrm{num}<\omega _i^\textrm{max}\). There is no pattern for the sizes of these regions, but it appears that the peak values of \(\omega _i^\textrm{num}>\omega _i^\textrm{max}\) increase with \(\Omega \). The largest peaks we find have \(\omega _i^\textrm{num}\approx 0.057\,\mathrm{rad\,s}^{-1}\) around \(\Omega =25\,\textrm{s}^{-1}\), which is approximately to \(80\%\) larger than \(\omega _i^\textrm{max}\).
What we believe is happening here is a resonance between \(\beta (\tau )\) and the frequency \(\omega _r(\tau )\) of the dominant mode in the system. If the two values of these are such that the velocity of the fluid is relatively low at the baffle when the baffle is closed or partially open, then very little energy is removed from the system (hence a low \(\omega _i^\textrm{num}\)), whereas if the velocity at the baffle is high at these times, then the energy removed is larger (hence higher \(\omega _i^\textrm{num}\)).
In Fig. 14, we consider plots of \(\omega _i^\textrm{num}(\Omega )\) for fixed \(T_\textrm{on}=2\,\textrm{s}\) for \(\beta _1(\tau )\) to \(\beta _5(\tau )\). For the \(\beta _1(\tau )\) case in Fig. 14a, this corresponds to a horizontal slice though Fig. 13. This figure shows clearly those values of \(\Omega \) where \(\omega _i^\textrm{num}>\omega _i^\textrm{max}\) and it is clear that the magnitude of the peak decay rate increases with \(\Omega \). When we consider \(\beta _2(\tau )\) in Fig. 14b, we find that overall, the decay rate is lower, with no significant frequencies with \(\omega _i^\mathrm{}>\omega _i^\textrm{max}\) until \(\Omega >10\,\textrm{s}^{-1}\), and even then, these regions are small. It is again true that the magnitude of the peak decay rate increases with \(\Omega \). For \(\beta _3\) and \(\beta _4\) in panels (c) and (d), the amplitude of the porosity function is, on the whole, smaller and larger, respectively, than \(\beta _2\). What is curious is that the smaller amplitude case in (c) has significant values of \(\Omega \) where \(\omega _i^\textrm{num}>\omega _i^\textrm{max}\), whereas the larger amplitude function in (d) has predominantly \(\omega _i^\textrm{num}<\omega _i^\textrm{max}\). The reason for this could be down to the fact that \(\beta _1(\tau )\) and \(\beta _3(\tau )\) have a similar asymptotic behaviour close to \(\tau -T_\textrm{on}=2n\pi /\Omega \), \(n\in \mathbb {Z}\), as can be seen in Fig. 12. Overall, the peak values of \(\omega _i^\textrm{num}\) are smaller in Fig. 14c than Fig. 14a, and so opening up the baffle completely (\(\beta \rightarrow \infty \)) is important, but the most significant aspect is the rate at which the baffle is opened from the closed (\(\beta =0\)) position. In Fig. 14e where \(A=A_5=0.5\,\mathrm{s\,m}^{-1}\), we see that the decay rate drops again and \(\omega _i^\textrm{num}<\omega _i^\textrm{max}\) for all values of \(\Omega \) here.
While the porosity function \(\beta _1\) appears to perform the best at controlling the decay rate of the coupled system, it is unlikely that such a baffle could be manufactured which has \(\beta \in [0,\infty )\), and it is more likely that a mechanical system with a more sinusoidal porosity would be possible. To this end, we examine the porosity function (5.62), but we allow A to vary in Fig. 15 for \(T_\textrm{on}=2\,\textrm{s}\) and (a) \(\Omega =5\,\textrm{s}^{-1}\) and (b) \(\Omega =25\,\textrm{s}^{-1}\). The results from Fig. 14 suggested that there is an amplitude value for which \(\omega _i^\textrm{num}\) is maximized for each \(\Omega \), and this appears to be the case in Fig. 15. In panel (a), we find \(\omega _i^\textrm{num}>\omega _i^\textrm{max}\) for \(A\in [0.7,1.76]\,\textrm{sm}^{-1}\) with maximum decay rate \(\omega _i^\textrm{num}=0.0358\,\mathrm{rad\,s}^{-1}\) at \(A=1.2\,\mathrm{s\,m}^{-1}\). For the more rapidly varying baffle in Fig. 15b, the range of amplitudes where \(\omega _i^\textrm{num}>\omega _i^\textrm{max}\) increases to \(A\in [0.64,6.40]\,\mathrm{s\,m}^{-1}\) and the maximum value \(\omega _i^\textrm{num}=0.059\,\mathrm{rad\,s}^{-1}\) occurs at \(A=2\,\mathrm{s\,m}^{-1}\). In this case, the maximum decay rate is \(86\%\) larger than the dashed line result. In Fig. 15c, we consider the evolution of \(q(\tau )\) for the case when \(\beta =\beta ^\textrm{max}\) and the two amplitudes giving the maximum values of \(\omega _i^\textrm{num}\) in panels (a) and (b). The results demonstrate the faster decay rate of the time-dependent baffle, in particular highlighting the significant decay of the system for \(\Omega =25\,\textrm{s}^{-1}\) (black line). Panel (d) gives a zoomed in plot of the final 50 seconds of the simulation where the changes in vessel amplitude are more clearly observed.
When we consider a larger range of \((\Omega ,A)\) values in Fig. 16, we see that the largest decay rates are concentrated in small regions of \(\Omega \) around \(\Omega =15\,\textrm{s}^{-1}\) and \(\Omega =25\,\textrm{s}^{-1}\) with the peak amplitudes close to \(A=2\,\mathrm{s\,m}^{-1}\), akin to the Fig. 15b result. In addition to the small regions of large decay rates, there are also larger regions, which are periodic in \(\Omega \), for amplitudes \(A\in [1,2]\,\mathrm{m\,s}^{-1}\). These regions are more akin to the result in Fig. 15a where the maximum decay rate is only about 20–\(25\%\) larger than the dashed line. What these results show is that it is entirely possible to control the decay rate of the coupled sloshing system in Fig. 1 using a time-dependent baffle, at least at the lower fluid velocities considered here, where (2.14) is valid. Clearly, changing the porosity value of the baffle from one constant value to another constant value is one way to control the system, but if you wish to damp out the system oscillations faster than would occur with a fixed baffle, then periodically oscillating the porosity of the baffle is the best approach, although the amount of variation and the frequency of the variation depends carefully upon the parameters of the system.
6 Conclusions
In this work, we considered the coupled vessel-fluid dynamic system. In the system, a rectangular vessel partially filled with an inviscid incompressible fluid was allowed to move in a rectilinear motion connected to a linear spring, and the fluid was allowed to slosh back and forth in the vessel. The fluid and the vessel exhibit forces on one another, giving complex coupled motions. The main focus of this paper was to model these complex motions when a vertical, surface-piercing, porous baffle is inserted into the vessel, which was found to extract energy from the system causing the motion to decay in time. The fluid transmission condition at the baffle was modelled using a nonlinear Darcy–Forchheimer model to more accurately deal with the nonlinearity of the porous baffle in weakly nonlinear scenarios.
The complex motion was determined numerically via a fast and efficient numerical scheme which approximated the fluid layer as a shallow-water fluid and used a Lagrangian Particle Path approach. This approach was used together with a symplectic time integration scheme based on the implicit-mid-point rule as this approach preserved the energy partition between the vessel and the fluid and effectively captured the dissipation. The implicit nature of the scheme also allowed for larger time steps than an explicit scheme, such as Störmer–Verlet. Using an implicit scheme is beneficial because a larger time step can be used (typically 10–100 times larger than for an explicit scheme) which, despite the added iterations of the implicit scheme, generally make it faster than an explicit scheme.
Results were presented for a single baffle system, which splits the vessel into two compartments, in both the linear and weakly nonlinear regimes and excellent agreement was found with the exact linear solution for various test cases. Simulations were presented for a scenario where the baffle was assumed to mechanically open and close, such that its porosity properties varied in a time-periodic manner. It was shown that under such circumstances, the average decay rate of the system over a fixed period of time can be larger than the maximum decay rate for the lowest frequency solution for a fixed porosity baffle. This showed that time-dependent baffles are an effective mechanism to control the decay rate of the coupled system.
References
Ibrahim RA (2005) Liquid sloshing dynamics. Cambridge University Press, Cambridge
Faltinsen OM, Timokha AN (2009) Sloshing. Cambridge University Press, Cambridge
Chen W, Haroun MA, Liu F (1996) Large amplitude liquid sloshing in seismically excited tanks. Earthq Eng Struct Dyn 25(7):653–669
Krata P (2013) The impact of sloshing liquids on ship stability for various dimensions of partly filled tanks. TransNav 7:481–489
Adee BH, Caglayan I (1982) The effects of free water on deck on the motions and stability of vessels. In: Proceedings of second international conference in stability of ships and ocean vehicles, Tokyo, October 1982. SNAME, Springer, Berlin
Caglayan I, Storch RL (1982) Stability of fishing vessels with water on deck: a review. J Ship Res 26:106–116
Mayer HC, Krechetnikov R (2012) Walking with coffee: why does it spill? Phys Rev E 85:046117
Ockendon H, Ockendon JR (2017) How to mitigate sloshing. SIAM Rev 59(4):905–911
Abramson HN (1966) The dynamic behavior of liquids in moving containers. NASA SP-106 (Washington, DC)
Turner MR, Bridges TJ, Alemi Ardakani H (2013) Dynamic coupling in Cooker’s sloshing experiment with baffles. Phys Fluids 25(11):112102
Turner MR (2023) Dynamic sloshing in a rectangular vessel with porous baffles. J Eng Math 144(1):1–34
Tait MJ, El Damatty AA, Isyumov N, Siddique MR (2005) Numerical flow models to simulate tuned liquid dampers (TLD) with slat screens. J Fluids Struct 20(8):1007–1023
Maravani M, Hamed MS (2011) Numerical modeling of sloshing motion in a tuned liquid damper outfitted with a submerged slat screen. Int J Numer Methods Fluids 65(7):834–855
Isaacson M, Premasiri S (2001) Hydrodynamic damping due to baffles in a rectangular tank. Can J Civ Eng 28(4):608–616
Jin X, Zheng H, Liu M, Zhang F, Yang Y, Ren L (2022) Damping effects of dual vertical baffles on coupled surge-pitch sloshing in three-dimensional tanks: a numerical investigation. Ocean Eng 261:112130
Wu J, Zhong W, Fu J, Ng TN, Sun L, Huang P (2021) Investigation on the damping of rectangular water tank with bottom-mounted vertical baffles: hydrodynamic interaction and frequency reduction effect. Eng Struct 245:112815
Yu L, Xue M, Zheng J (2019) Experimental study of vertical slat screens effects on reducing shallow water sloshing in a tank under horizontal excitation with a wide frequency range. Ocean Eng 173:131–141
Poguluri SK, Cho IH (2019) Liquid sloshing in a rectangular tank with vertical slotted porous screen: based on analytical, numerical, and experimental approach. Ocean Eng 189:106373
Yu L, Xue M, Zhu A (2020) Numerical investigation of sloshing in rectangular tank with permeable baffle. J Mar Sci Eng 8(9):671
Zang Q, Fang H, Liu J, Lin G (2019) Boundary element model for investigation of the effects of various porous baffles on liquid sloshing in the two dimensional rectangular tank. Eng Anal Bound Elem 108:484–500
Nasar T, Sannasiraj SA (2019) Sloshing dynamics and performance of porous baffle arrangements in a barge carrying liquid tank. Ocean Eng 183:24–39
George A, Cho IH (2020) Anti-sloshing effects of a vertical porous baffle in a rolling rectangular tank. Ocean Eng 214:107871
Saghi H, Mikkola T, Hirdaris S (2021) The influence of obliquely perforated dual-baffles on sway induced tank sloshing dynamics. Proc Inst Mech Eng Part M 235(4):905–920
Chwang AT (1983) A porous-wavemaker theory. J Fluid Mech 132:395–406
Straughan B (2008) Stability and wave motion in porous media, vol 165. Springer, Berlin
Yu X, Chwang AT (1994) Wave motion through porous structures. J Eng Mech 120(5):989–1008
Behera H, Mandal S, Sahoo T (2013) Oblique wave trapping by porous and flexible structures in a two-layer fluid. Phys Fluids 25:11
Laws EM, Livesey JL (1978) Flow through screens. Annu Rev Fluid Mech 10(1):247–266
Faltinsen OM, Firoozkoohi R, Timokha AN (2011) Analytical modeling of liquid sloshing in a two-dimensional rectangular tank with a slat screen. J Eng Math 70:93–109
Girault V, Wheeler MF (2008) Numerical discretization of a Darcy–Forchheimer model. Numer Math 110(2):161–198
Tsao W-H, Hwang W-S (2018) Tuned liquid dampers with porous media. Ocean Eng 167:55–64
Tsao W-H, Huang Y-L (2021) Sloshing force in a rectangular tank with porous media. Results Eng 11:100250
Alemi Ardakani H, Bridges TJ (2010) Dynamic coupling between shallow-water sloshing and horizontal vehicle motion. Eur J Appl Math 21:479–517
Alemi Ardakani H, Turner MR (2016) Numerical simulations of dynamic coupling between shallow-water sloshing and horizontal vessel motion with baffles. Fluid Dyn Res 48(3):035504
Turner MR, Bridges TJ, Alemi Ardakani H (2017) Lagrangian particle path formulation of multilayer shallow-water flows dynamically coupled to vessel motion. J Eng Math 106(1):75–106
Turner MR, Rowe JR (2019) Coupled shallow-water fluid sloshing in an upright annular vessel. J Eng Math 119(1):43–67
Sanz-Serna JM, Calvo MP (2018) Numerical Hamiltonian problems. Courier Dover, Mineola
Leimkuhler B, Reich S (2004) Simulating Hamiltonian dynamics. Cambridge University Press, Cambridge
Johnson RS (1997) A modern introduction to the mathematical theory of water waves, vol 19. Cambridge University Press, Cambridge
Cooker MJ (1994) Water waves in a suspended container. Wave Motion 20:385–395
Linton CM, McIver P (2001) Handbook of mathematical techniques for wave–structure interaction. Chapman & Hall/CRC, Boca Raton
Yu J (2010) Effects of finite water depth on natural frequencies of suspended water tanks. Stud Appl Math 125:337–391
Alemi Ardakani H, Bridges TJ, Turner MR (2012) Resonance in a model for Cooker’s sloshing experiment. Eur J Mech B 36:25–38
Weidman PD, Turner MR (2016) Experiments on the synchronous sloshing in suspended containers described by shallow-water theory. J Fluid Struct 66:331–349
Acknowledgements
MRT would like to thank referee Onno Bokhove for his useful comments on the original version of this manuscript which led to an improved numerical scheme. MRT acknowledges the financial support of the EPSRC via Grant No. EP/W006545/1. For the purpose of open access, the author has applied a Creative Commons Attribution (CC BY) license to any Author Accepted Manuscript version arising.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendix: Energy dissipation of system
Appendix: Energy dissipation of system
In this appendix, we demonstrate the energy dissipation properties of the porous baffle by showing that the total energy (2.16) is a decreasing function with time. Before going on to show this,we first find it convenient to re-express the integral term in (2.12). We can show using (2.11) that
and so (2.12) can be expressed as
To show that the baffles are dissipative, we note that
after using (A-1), (2.11) and integrating with respect to x. Here we have used the fact that \(x_1=L_1\) and that \(U_1(x_0=0,t)=U_2(x_2=L,t)=0\).
In order to demonstrate that the quantity on the right-hand side is negative, we consider two limits of (2.13), the small velocity limit and the large velocity limit, with the understanding that the general case lies in between.
1.1 Small velocity case
In this case, (2.13) simplifies to (3.18) which upon insertion to (A-2) gives
This term is clearly negative definite and hence the baffle is dissipative.
1.2 Large velocity case
In this case, (2.13) simplifies to
Hence from this,we deduce that
and thus
for \(j=1,2\).
Inserting this into (A-2) gives
which is again negative definite.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Turner, M.R. Numerical simulations of shallow-water sloshing coupled to horizontal vessel motion in the presence of a time-dependent porous baffle. J Eng Math 147, 3 (2024). https://doi.org/10.1007/s10665-024-10376-w
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s10665-024-10376-w