Professional Documents
Culture Documents
Abstract: The observations of the tsunami surge propagation along the V shape channel is one of the objectives of this
research. Physical modeling in laboratory have limitations to observe tsunami surges profiles because of high-speed flow.
Numerical modeling using SPH method is one of settlement to observe profiles of the tsunami surge. This simulation is using
DualSPHysics with Graphical Processing Units (GPUs) system. It provides higher speed of computation compare with
SPHysics that is using CPU system. The model of tsunami surge profiles is constructed with more than 9 million of particles,
including the fluid and boundary particles. The results of numerical simulations shows the similarity of water surface profiles
conducted in the laboratory. Small viscosity value in the input of numerical simulation produced differences of water surface
profile of tsunami surges at four different investigation points compared with the results obtained in the laboratory
1
Yogyakarta, 22-23 January 2014 Proceedings of the 1stAUN/SEED-Net Regional Conference on Natural Disaster
method. This technology has been developed by the The derivative of a function in SPH is calculated
video game industry and provides high performance. analytically, it is one of the advantages of SPH
methods. It is different with other methods, which is
By using GPUs technology, the new version of the derivative is calculated using spacing between the
SPHysics has been developed named DualSPHysics. neighboring points. The derivative of this
It is also open source and can be downloaded freely interpolation can be obtained by ordinary
from the website www.dual.sphysics.org. This new differentiation as Eq. (3).
SPHysics makes possible to simulate millions of
particles with reasonable computational cost. To run Ab
the simulation using DualSPHysics, an Nvidia ∇A(r ) = ∑ mb ∇Wab (3)
CUDA-enabled GPU card must be installed on a b ρb
personal computer.
2.2 Kernel Function
In the next sections, the numerical modeling result The choice of the weighting function is very important
using DualSPHysics and its validation by comparing is SPH model, it affects the performance of an SPH
with experimental data are presented. The tsunami model. They should satisfy several conditions such as
surge-focusing valley interactions is studied and its positivity, compact support, and normalization.
analysis presented using result visualization (instant Furthermore, the value of Wab must be
pictures) and charts.
monotonically decreasing with increasing of the
distance between particle a and neighboring particles,
2 SPH THEORY
and tends to zero when the distance is equal to
The SPH formulation will explain in this section. By smoothing length, h, as the delta function behavior.
understanding in detail all the concepts, strategies, and
essential formulations of SPH will be very helpful to Kernel function is depending in the value of
the development of further codes of DualSPHysics. smoothing length, h, and the distance between
The main features of SPH method are also described particles in non-dimensional form, q = r / h , where r
more detail in the following papers/books is the distance between particles a and b. The
([Monaghan, 1982]; [Monaghan, 1992]). parameter h control the size of the area around particle
a where contribution from the rest of particles are
2.1 Integral Interpolants
considering to be calculated.
The calculation in SPH method is based on integral
interpolant called kernel approximation. The Generally, the precision of the SPH interpolation
fundamental principle of approximation of any increases with the order of the polynomial used on the
function A(r) as Eq. (1) below. kernel function, but the computational time also
increases.
A(r ) = ∫ A(r ' )W (r − r ' , h)dr ' (1) There is a wide variety of possible kernel functions,
Ω but the most commonly used kernel is the cubic-
spline:
where r is vector position; W is weighting function or
kernel function; and h is the smoothing length that 3 2 3 3 ; (0 ≤ q ≤ 1)
control the region of influence domain Ω ; The value 1 − 2 q + 4 q
of h is typically must be higher than the initial 1
distance between particles. W (r , h ) = α D (2 − q )3 ; (1 ≤ q ≤ 2) (4)
4 ; (q ≥ 2 )
Eq. (1) can be changed into discrete formulation as 0
Eq. (2) below, that is approximation of the function at
a particle a.
Ab
( ) ( )
where α D is 10 7πh 2 in 2D and 1 πh 3 in 3D.
A(r ) = ∑ mb Wab (2)
b ρb 2.3 Momentum Equation
The momentum conservation equation in a continuum
where mb and ρ b respectively are mass and density field is:
of particles; and Wab = W (ra − rb , h) is the weighting
function or kernel function.
2
Proceedings of the 1stAUN/SEED-Net Regional Conference on Natural Disaster Yogyakarta, 22-23 January 2014
Dv 1 2.5 Equation of State and Compressibility
= − ∇P + g + Θ (5)
Dt ρ The fluid in the SPH formalism is treated as weakly
compressible, which facilitates the use of an equation
where v is velocity; P and ρ are pressure and density; of state to determine fluid pressure, which is much
faster than solving an equation such as the Poissons
g = (0,0,−9.81)ms −1 is the gravitational acceleration; equation.
Θ refers to the diffusion terms.
Following Monaghan (1994) and Batchelor (1974),
The pressure gradient term in symmetrical form is the relationship between pressure and density is
expressed is SPH notation as assumed to follow the expression, known as Tait's
equation of state. It can be seen that a small oscillation
1 P P in density may result in a large variation in pressure.
− ∇P = −∑ mb a2 + b2 ∇ aWab (6)
ρ ρa ρb ρ γ
b
P = B − 1 (10)
where P and ρ are pressure and density. ρ 0
By using the artificial viscosity proposed by The parameter B is a constant related to the bulk
Monaghan (1992), the momentum conservation
modulus of elasticity of the fluid; ρ 0 = 1000 Kg / m 3
equation in SPH can be written as
is the reference density, usually taken as the density of
P the fluid at the free surface, γ is the polytrophic
dva P
= −∑ mb a2 + b2 + Π ab ∇ aWab + g (7) constant, usually between 1 and 7, the minus one term
dt b ρa ρb in the equation of state is to obtain zero pressure at a
surface.
Π ab is the viscosity term:
This compressible fluid permits a speed of sound, c
− α c ab µ ab
vab ⋅ rab < 0 ∂P Bγ
Π ab = ρ (8) c (ρ ) = = ρ γ −1 (11)
ab dρ ρ0 γ
3
Yogyakarta, 22-23 January 2014 Proceedings of the 1stAUN/SEED-Net Regional Conference on Natural Disaster
dr
n
dv
n boundary particle increases so that the pressure is
n +1
r = r + ∆t a + 0.5∆t 2 a
n
(15) increases. The force exerted on the fluid particle
( )
a a
dt dt
increases due to the pressure term P ρ 2 in the
Once every N time steps (N on the order of 50 time momentum equation creating a repulsive mechanism
steps), variables are calculated according to between fluid and boundary. More complete
description of this boundary condition is referred to
n
dva Crespo et al (2007).
van+1 = van + ∆t ; (16)
dt
3 EXPERIMENTAL SET UP
dρ a
n
The research is carried out using DualSPHysics code
ρ an+1 = ρ an + ∆t ; (17) (a set of C++ and CUDA files) which the
dt
implementation is based on SPHysics formulation. In
n n this numerical simulation by using DualSPHysics,
dra dv
ran+1 = ran + ∆t + 0.5∆t 2 a (18) there are some parameters that used: Cubic Spline for
dt dt kernel function, Verlet scheme for kernel correction,
Shepard filter for density filter, Artificial viscosity for
This is to stop the time integration diverging since the Viscosity treatments and others based on formulation
equations are no longer coupled. in source code for DualSPHysics.
The time-step control is dependent on the forcing The simulation is running on Graphics Processing
term, the Courant-Fredrich-Levy condition and the Units (GPUs) system with Nvidia CUDA-enabled
viscous diffusion term (Monagan, 1989). A variable GPU card (in this simulation, the computer used VGA
time step ∆t is calculated according to Monaghan and card Nvidia GeForce GTX 780 Ti with processor
Kos, 1999). intel® Core™ i7-3820 CPU @3.6 GHz and memory
of RAM 16 GB).
∆t = C ⋅ min (∆t F , tCV ) ; (19)
For the simulation tsunami surge propagate into V
∆t F = min a ( h fa ; ) (20) shape valley needs more 9 million particles to
constructed fluids, flume and V shape model particles
h The experiment is carried out in Hydraulics and
∆t CV = min a (21)
hvab xab Hydrology Laboratory of The Center for Engineering
c s + max b 2 Science, Universitas Gadjah Mada, and using physical
rab model. A 24 m long flume of 1.45 m wide and 1.5 m
high was divided into two parts using a movable gate
Here ∆t F is the force per unit of mass f a and ∆tCV with quick release mechanism system. The gate can
controls the Courant condition and the viscosity of the be moved up quickly to generate surge to
system. C is a constant that can vary between 0.1 and downstream.
0.3 The V shape valley model was constructed using
plywood. The dimension of the V shape valley and the
2.7 Boundary Condition rectangular column is given in Figure 1.
The boundaries (walls, bottom, coastal structures,
wave makers, etc.) in SPH are described using a Wave height meters were installed along the V shape
discrete set of boundary particles that exert a repulsive valley model to measure the water fluctuation along
force on the fluid particles when they approach. There the valley during the simulation.
is one difference since the forces between particles do
not define the movement of the boundary particle:
they do not move (fixed boundary) or they will move
according to some kind of externally imposed
movement (gates, flaps, etc.).
4
Proceedings of the 1stAUN/SEED-Net Regional Conference on Natural Disaster Yogyakarta, 22-23 January 2014
Load = 330 kg
4
Wall = 600 cm
B = 145 cm
Water
3.15
4.15
5.15
6.15
4 RESULT
Figure 3. Instants (respectively, t1=0.85 s; t2=1.05 s;
4.1 Simulation Result t3=1.25 s; t4=1.45 s; t5=1.70 s; t6=2.00 s) of the
tsunami surge simulation.
5
Yogyakarta, 22-23 January 2014 Proceedings of the 1stAUN/SEED-Net Regional Conference on Natural Disaster
1.4
1.2
1 SPH1
SPH2
0.8
SPH3
h3/h0
SPH4
0.6
EXP1
0.4 EXP2
EXP3
0.2
EXP4
0
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
Time (s)
In figure 5. Point 0 to 8 on X-axis are the length of the SPH modeling with new technology called GPUs
water profile at reservoir before the gate opened. The system has become more feasible to simulate the fluid
simulation for each time step describe changes of dynamics. It has been proven to be an accurate model
water surface profiles in reservoir. At point on X-axis and more efficient since it enables simulations of
8.1 to 16 are visualization of propagated surge profile several million particles (in that case more than 9
after gate open. million particles) at a reasonable computational
runtime. For future improvement, the correct
5 CONCLUSIONS parameter value, such as viscosity value, etc., of real
fluid must be studied.
Numerical and physical modeling are the two main
Approaches to study phenomena in coastal
engineering, including tsunami. The result shows that
6
Proceedings of the 1stAUN/SEED-Net Regional Conference on Natural Disaster Yogyakarta, 22-23 January 2014
ACKNOWLEDGMENTS
The research was funded by DPPM of the Directorate
General of Higher Education, Ministry of Education
and Culture on Indonesia through Hibah Kompetensi
2012. The authors would like to express their sincere
gratitude for the support. The support from the
Hydraulics and Hydrology laboratory of Research
Center for Engineering Science Universitas Gadjah
Mada is highly appreciated.
REFERENCES
Batchelor, G. K., (1974), “Introduction to fluid
dynamics”, Cambridge University Press.