Numerical and Analytical Investigation of Subcycling in the Flow Problem of a Strongly-Cou- pled Partitioned Fluid-Structure Interaction Simulation L. De Moerloose and J. Degroote VIII International Conference on Computational Methods for Coupled Problems in Science and Engineering COUPLED PROBLEMS 2019 E. O˜nate, M. Papadrakakis and B. Schrefler (Eds) NUMERICAL AND ANALYTICAL INVESTIGATION OF SUBCYCLING IN THE FLOW PROBLEM OF A STRONGLY-COUPLED PARTITIONED FLUID-STRUCTURE INTERACTION SIMULATION LAURENT DE MOERLOOSE∗AND JORIS DEGROOTE† ∗Department of Flow, Heat and Combustion Mechanics, Ghent University Sint-Pietersnieuwstraat 41-B4, 9000 Ghent, Belgium e-mail:
[email protected] †Department of Flow, Heat and Combustion Mechanics, Ghent University Sint-Pietersnieuwstraat 41-B4, 9000 Ghent, Belgium Flanders Make, Belgium e-mail:
[email protected] Key words: Subcycling, temporal stability, fluid-structure interaction Abstract. Fluid-structure interaction (FSI) simulations can be used to quantify the frequency, damping constant and amplitude of the vibration of equipment such as piping and heat exchangers. Typically, the time step is the same in the flow and structural equations, but this causes long computational times when the time step is restricted due to stability requirements of only one solver. In that case, a more efficient approach is to use so-called subcycling with a different time step in the flow and structural solver. In this paper, only subcycling with a smaller time step in the flow solver compared to the structural solver is analyzed. The research presented here is split into two parts: an analytical study and a numerical computation of the one-dimensional flow in an elastic cylindrical tube. Firstly, a monolithic analytical FSI calculation is analyzed with a Fourier stability analysis. This allows to verify the stability of the solution by considering the eigenvalues of the problem as a function of the perturbation wavenumber. The conclusions drawn from the analytical study are subsequently verified in a partitioned numerical FSI simulation, coupling the flow solver Fluent with the structural solver Abaqus. The implicit coupling is achieved using an interface quasi-Newton method with an approximation of the inverse of the Jacobian (IQN-ILS), implemented in the in-house code Tango. The research shows that a stable solution is attained for significant subcycling in the flow problem: the results indicate that the solution remains temporally stable even if the time step in the flow solver is only one tenth of the structural time step. However, some (temporally stable) oscillations in the resulting pressure profile on the pipe wall arise when the time discretization schemes applied in the flow and structural solvers are different. These oscillations do not persist when the same time discretization scheme is applied. 1 562
Laurent De Moerloose and Joris Degroote 1 INTRODUCTION With the available modern-day computing power, fluid-structure interaction (FSI) simulations are becoming increasingly interesting for the study of movement-induced vibrations, in which a flow causes the motion or deformation of a structure. FSI is also used to determine the fluid-elastic properties of structural vibrations with more limited amplitude, such as to avoid fretting in tube arrays subjected to axial flow [1]. In most FSI cases, the flow and structural solver apply the same time step in transient simulations, even though the maximal time step required for stability or accuracy reasons in the flow solver is in most cases significantly smaller than in the structural solver. Since a coupling iteration happens at least once during every timestep, the required CPU time is large even though the structure barely moves during one time step. A more efficient algorithm requires the definition of a smaller time step for the flow solver and a larger time step for the structural solver. Accordingly, multiple (smaller) time steps are performed in the flow solver before performing a coupling iteration and performing one (larger) time step in the structural solver. This procedure is called subcycling. Most previous work [2, 3] perform stability analyses on explicit subcycling. In that case, no coupling iterations occur between the flow and structural solver within a single time step. We consider a flow solver and a structural solver, respectively with time steps ΔtFand ΔtS, such that a number NS/F is defined as: NS/F =ΔtS/ΔtF. In this paper, NS/F is defined as a positive integer. The difficulty is to determine how the total fluidstructure interface displacement in a time step ΔtSshould be interpolated in the NS/F subcycles in the flow solver. Additionally, the question is what interface load should be transmitted to the structural solver at the end of the NS/F subcycles. In the conventional explicit subcycling procedure [3], the interface pressure at the end of the last subcycling step is transmitted to the structure. The disadvantage of this approach is that the time step required to achieve a stable solution is limited and possibly lower than the time step limit imposed by the flow solver itself. In contrast, the stability of the explicit subcycling method is preserved when two conditions are met. Firstly, the predicted displacement over one time step ΔtSis evenly distributed among the NS/F subcycles. Secondly, the average interface pressure field computed during the NS/F subcycles is fed to the structural solver. Contrary to explicit subcycling, little research can be found about implicit subcycling. Probably, this is due to the fact that explicit subcycling is inherently easier to define as all flow and structure variables are only calculated once. As such, explicit coupling is more flexible with respect to the use of different time steps in the solvers [4]. On the other hand, it is well-established that there are FSI problems for which the explicit coupling does not reach convergence, e.g. in high density fluids [5]. In those cases, implicit coupling is required to reach a stable solution, which is why more research into implicit subcycling is needed [6]. In this paper, the temporal stability of an implicit coupling scheme with subcycling in the flow solver is investigated. Firstly, a monolithic analytical study on a one-dimensional 2 563
Laurent De Moerloose and Joris Degroote model for flow in an elastic tube is presented. Secondly, a numerical partitioned stronglycoupled FSI simulation is reported. Both methods are described in Section 2. The results of both methods are subsequently compared in Section 3. 2 METHOD 2.1 Analytical monolithic FSI calculation In order to investigate the temporal stability of the subcycling in the flow solver, the eigenvalues of the matrix relating the variables in consecutive time steps are calculated. A monolithic approach is therefore more straightforward in the analytical study than a partitioned approach, but the result of the study would be the same for a partitioned scheme (as only the temporal stability of the problem is discussed, not the stability of the coupling iterations between flow and structural solver). The fluid-structure interface condition is of the Dirichlet-Neumann type: the displacement of the structure is used as a boundary condition for the flow equations while the fluid pressure is imposed in the structural equations. 2.1.1 Governing equations The test case is comprised of a one-dimensional flow in a straight, flexible tube shown schematically in Figure 1. The equations that describe the unsteady flow of the incompressible fluid are the continuity and the momentum equation, given by ∂s ∂t +∂su ∂x = 0 (1a) ∂su ∂t +∂su2 ∂x +1 ρf∂sˆp ∂x −ˆp∂s ∂x= 0 (1b) in which srepresents the cross sectional area of the tube, uthe axial velocity, xthe axial coordinate, tthe time, ρfthe fluid density and ˆpthe pressure. In the remainder of this paper, the kinematic pressure p=ˆp/ρfwill be used. It is noted that gravity and viscous terms are not considered. In the structural subproblem, the radial deformation of the elastic tube is modelled by ρsh∂2r ∂t2+χ∂4r ∂x4−ψ∂2r ∂x2+η(r−r0)=ρf(p−p0) (1c) with rdescribing the inner radius, ρsthe wall density, hthe wall thickness and p0the pressure corresponding to the reference radius at rest r0. Considering the negligence of gravity and viscous terms in the flow equations, the tube deformation in other dimensions (both longitudinal and circumferential) is not considered. As such, the proposed structural model is an extension to the so-called independent-rings model [7], as the terms containing χand ψtake into account the longitudinal interaction between the tube segments. ψis equivalent to κGh with κthe Timoshenko shear correction factor and Gthe shear modulus. ηis given by Eh/(1 −ν2)r2 0with Ethe Young’s modulus and νthe Poisson’s ratio. 3 564
Laurent De Moerloose and Joris Degroote h σφφ σφφ p sr θ L x ii+1/2i-1 i+1i-1/2 x Δx Figure 1: Schematic of the one-dimensional flow through a straight, elastic tube. 2.1.2 Spatial discretization The tube with length Lis discretized in Nspatial intervals of equal length Δx. Central discretization is used for all terms appearing in the flow and structural equations, except for the convective term in the momentum equation. For the latter, a first-order upwind scheme is applied. In the following equations, subscripts iand i±1/2 indicate cell centers and faces, respectively. To allow for analytic manipulation, the velocity, radius and pressure are expressed as the sum of a reference value (indicated with a subscript 0) and a perturbation term (indicated with a prime). Artificial diffusion is added in the continuity equation with coefficient [8]: δ=s0/π/(u0+Δx/Δt). This term is used to stabilize the pressure equation and disappears upon convergence of the solution. After linearization of the equations, the following is obtained: Δx∂2r0r i ∂t +r02(u i+1/2−u i−1/2)+2r0u0(r i+1/2−r i−1/2)−δ(p i+1 −2p i+p i−1) = 0 (2a) Δx∂r2 0u i+2r0u0r i ∂t +r02u0(u i−u i−1+u i+1/2−u i−1/2 +2r0u2 0(r i+1/2−r i−1/2)+1 2r2 0(p i+1 −p i−1) = 0 (2b) ρsh∂2r i ∂t2+χ Δx4(r i+2 −4r i+1 +6r i−4r i−1+r i−2) −ψ Δx2(r i+1 −2r i+r i−1)+η(r i)=ρf(p i) (2c) for ui≥0. Subsequently, the pressure, radius and velocity perturbation are then decomposed as the sum of NFourier modes (in the spatial dimension). For example, the radius 4 565
Laurent De Moerloose and Joris Degroote perturbation is defined as: r i=1 N N−1 l=0 ˜rlexp(jωliΔx) (3) with ωl=2πl/L the wave number. Equation (3) is substituted into Equation (2). A similar procedure is applied to the velocity and pressure perturbation. Afterwards, Equation (2) is projected on exp(jω�iΔx), which allows to investigate the temporal stability of each wave component independently. The latter is possible due to the linear nature of Equation (2). In the following equations, the product ω�Δxis substituted by θ�. The tilde and subscripts are omitted. Δx∂2r0r ∂t +jr2 0sin(θ)u+2jr0u0sin(θ)r+2δ(1 −cos(θ))p= 0 (4a) Δx∂(r2 0u+2r0u0r) ∂t +(1−exp(−jθ)+jsin(θ))r2 0u0u+2ju2 0r0sin(θ)r+jr2 0sin(θ)p= 0 (4b) ρsh∂2r ∂t2+4χ Δx4(1 −cos(θ))2+2ψ Δx2(1 −cos(θ))+ηr=ρfp(4c) 2.1.3 Temporal discretization The backward Euler scheme (BE) is used for the time discretization of the flow equations. Using higher-order schemes would lead to the presence of multiple older time steps in the equations, which was not desirable in the current analytical study. The BE scheme results in the following equation: 2r0Δx Δtf (rn+1 −rn)+jr2 0sin(θ)un+1 +2jr0u0sin(θ)rn+1 +2δ(1 −cos(θ))pn+1 = 0 (5a) r2 0Δx Δtf (un+1 −un)+2r0u0Δx Δtf (rn+1 −rn)+(1−exp(−jθ)+jsin(θ))r2 0u0un+1 +2ju2 0r0sin(θ)rn+1 +jr2 0sin(θ)pn+1 = 0 (5b) For the temporal discretization of the structure, a logical choice is the use of the BE scheme in order to have the same time discretization in the flow and structural solver. However, the scheme defined by Hilber, Hughes and Taylor (HHT) [9] is more common for structures. Therefore, both discretization schemes will be discussed. The BE scheme for the structure yields: ρsh¨rn+1 +4χ Δx4(1 −cos(θ))2+2ψ Δx2(1 −cos(θ))+ηrn+1 =ρfpn+1 (6a) 5 566
Laurent De Moerloose and Joris Degroote in which the acceleration and velocity are calculated as ¨rn+1 =1 Δts (˙rn+1 −˙rn) and ˙rn+1 =1 Δts (rn+1 −rn).(6b) For the HHT scheme, the forces in Equation (4c) are defined as a weighted average of the forces at the beginning and end of the time step, with the variable αas weighting function. This discretization scheme is also imposed in the structural solver in the partitioned FSI simulation discussed in Section 2.2. ρsh¨rn+1 +(1+α) 4χ Δx4(1 −cos(θ))2+2ψ Δx2(1 −cos(θ)) + ηrn+1 −ρfpn+1 −α 4χ Δx4(1 −cos(θ))2+2ψ Δx2(1 −cos(θ))+ηrn−ρfpn= 0 (7a) The operator definition is completed by the Newmark formula [10] for acceleration and velocity integration: ¨rn+1 =1 βΔt2 s (rn+1 −rn)−1 βΔts ˙rn−1 2β−1¨rn(7b) ˙rn+1 =˙rn+Δts(1 −γ)¨rn+Δtsγ¨rn+1 (7c) with α∈[−1/3,0] determining the numerical dissipation, β= (1−α)2/4 and γ=1/2−α. 2.2 Numerical partitioned FSI simulation In order to verify the analytical results with a numerical simulation, a black-box flow solver is coupled to a black-box structural solver. As such, the FSI simulation is partitioned. The flow equations are solved in an Arbitrary Lagrangian-Eulerian (ALE) formulation with the commercial code FluentR 12.1, Ansys Inc. The fluid grid contains 104cells and its deformation is computed from the solution of a system of linear springs located in between connected nodes of the mesh. The initial (undeformed) mesh is a structural mesh inside a rectangular domain. A first-order upwind scheme is used for the modelling of the convective terms. The BE scheme is selected for the temporal discretization of the flow equations. The parameters listed in Table 1 are used as numerical values for the flow in a tube. The fluid is considered incompressible and has a constant viscosity of 3 mPas. At the inlet, an axial fluid velocity of u0+u0 2sin(2πt)H(t) is imposed, where Hrepresents the Heaviside function. Given an initial velocity field of u0=0.1 m/s, the inlet velocity has a discontinuity in its derivative at t= 0 s. At this time, spurious modes can enter the solution. The temporal stability can be evaluated in the subsequent time steps. The pressure at the tube’s outlet is set to the atmospheric pressure. The structural equations are solved in a Lagrangian frame with the commercial finiteelement solver AbaqusR 6.7, Dassault Syst`emes. Both the BE and HHT scheme are 6 567
Laurent De Moerloose and Joris Degroote applied to the structure equations. A structured grid of 2500 quadratic elements is constructed in the structural domain. Only radial deformation is allowed, similar to the analytical case described in Section 2.1. The coupling between both solvers at the interface is done through a Dirichlet-Neumann boundary condition. As such, the flow solver computes the pressure and shear stress for a given mesh displacement. These output variables are subsequently transferred to the structural solver, which calculates the new deformation of the fluid-structure interface. The equilibrium at the fluid-structure interface is established using an interface quasi- Newton algorithm with an approximation for the inverse of the Jacobian from a leastsquares model (IQN-ILS) [11]. The difference with the classical IQN-ILS algorithm is that more than 1 timestep is calculated in the flow solver before the structural solver is called. In a more mathematical description, the wrapper around the flow solver receives the data for tn+1 from the coupling code and gives the flow solver the command to perform NS/F time steps, while providing boundary displacements that are interpolated in time for each of those intermediate time steps. At the beginning of the next coupling iteration, the file from time step tnis read in from the storage. A time step size Δtsof 10−4s is used. For the coupling iterations, the convergence criterion in the Euclidean norm for the residual of the interface displacement is set to 10−8m and for the residual of the interface load to 10−2Pa. More severe convergence criteria have no significant impact on the results. Accordingly, the coupling iterations have completely converged. Therefore, this paper does not discuss the stability of the coupling iterations. Rather, this test case is used to determine whether the subcycling procedure is temporally stable or not. Since a monolithic solver with the same convergence criteria would yield the same solution as the applied partitioned solver in the numerical simulation, the numerical and analytical results discussed in Section 3 are directly comparable. 3 RESULTS 3.1 Analytical monolithic FSI calculation In Equations (5-7), the same time step size was used for the time integration of the flow and the structure. For the analytic study of subcycling in the flow problem, the flow time step Δtfis chosen equal to half of the structural time step Δtsor, equivalently, NS/F = 2. Hence, the variable Δts=Δtis called ‘a time step’ and Δtf=Δt/2 is referred to as ‘a subcycle’. An important aspect of subcycling is to determine the appropriate interpolation of the displacement of the fluid-structure interface during consecutive subcycles. In order to obtain a continuous acceleration in each node of the interface - which is desirable to obtain a numerically stable solution - a third degree polynomial per point on the interface is used to prescribe the wall displacement during time step n+ 1. The four parameters in this polynomial are: the wall displacements at the beginning and the end of the time step (rnand rn+1) and the wall accelerations at the beginning and the end of the time 7 568
Laurent De Moerloose and Joris Degroote Table 1: Dimensions of the model and material properties. E 300000 N/m2ν0.49 χ0 kg m2/s2ψ55 kg/s2 ρs1200 kg/m3ρf1000 kg/m3 u00.1 m/s r00.005 m L0.05 m h0.001 m step (¨rnand ¨rn+1) as calculated by the structural solver. The wall displacement imposed during the first subcycle is then given by rn+1/2=rn+1 2+rn 2−3¨rn+1Δt2 16 +¨rnΔt2 16 and rn+1 during the second subcycle. Two new variables are introduced: un+1/2and pn+1/2, representing the fluid velocity and the pressure at the intermediate time n+1/2 between time step nand n+ 1. In case the BE scheme is used in both solvers, Equation (5) for the flow is changed to a corresponding system of equations at times tn+1/2and tn+1, respectively. The structure problem is completely described with Equation (6). Next, these equations are transformed to the following matrix form: Ay =Bz (8a) with y=[rn+1 ˙rn+1 ¨rn+1 rn+1/2un+1/2un+1 pn+1/2pn+1]T(8b) and z=[rn˙rn¨rnrn−1/2un−1/2unpn−1/2pn]T(8c) The variables rn−1/2,un−1/2and pn−1/2do not occur in any equation, but are added to obtain a square amplification matrix A−1B. In case the BE scheme and the HHT scheme are used in the flow and the structural solver, respectively, the structure is instead governed by Equation (7). The flow equations do not change. For a more detailed description of the matrices Aand B, the reader is referred to the work of De Moerloose et al. [6]. The parameters shown in Table 1 are used to calculate the eigenvalues of the amplification matrix A−1B. The grid size is set to Δx= 10−4m and the time step is chosen equal to Δt= 10−5s. The variable αis set to −0.07. For both combinations of time integration schemes, two eigenvalues of the amplification matrix A−1Bare equal to one. Their eigenvectors correspond to the solution of the one-dimensional case. Additionally, three eigenvalues equal zero because the matrix B contains three zero-columns, corresponding to the variables rn−1/2,un−1/2and pn−1/2which do not occur in any equation. The stability of the FSI problem is thus determined by the absolute value of the remaining three eigenvalues. 3.1.1 BE-BE combination As the variable pndoes not occur in the equations in the BE-BE combination, another eigenvalue is equal to zero, bringing the total to four (due to the absence of the variables 8 569
Laurent De Moerloose and Joris Degroote rn−1/2,un−1/2,pn−1/2and pn). The amplitude of the two remaining eigenvalues is shown in Figure 2a as a function of the wave number ω. Furthermore, performing a similar analysis on the system of Equations (5-6) without subcycling, yields only one relevant eigenvalue - the other eigenvalues are either equal to zero or one. This eigenvalue determines the temporal stability of the system without subcycling and is therefore also shown in Figure 2a. Even though the amplitude of the eigenvalues comes closer to one when subcycling is used, it remains smaller than one for all wavenumbers. It can be concluded that a stable solution should be obtained. 3.1.2 BE-HHT combination In case the HHT operator is used for the structure combined with the BE scheme for the flow, only three eigenvalues are equal to zero. The amplitude of the three remaining eigenvalues is shown in Figure 2b. Contrary to what was observed in Section 3.1.1, the use of subcycling reduces the amplitude of the eigenvalues of the BE-HHT scheme (compared to the calculation without subcycling). Therefore, the FSI problem also remains stable for all wave numbers. (a) BE-BE (b) BE-HHT Figure 2: Effect of subcycling in the flow problem on the amplitude of the eigenvalues corresponding to the spurious modes. 3.2 Numerical partitioned FSI simulation The stability of the FSI simulation is investigated for two values of NS/F :NS/F = 2 and NS/F = 10. The coupling iterations are drawn schematically for NS/F = 2 in Figure 3: each coupling iteration contains one time step in the structural solver and two subcycles in the flow solver. A stable solution is obtained for both combinations of time integration schemes for a flow time step size Δtf=Δts/2 and a cubic wall displacement throughout 9 570