flow dissipation and according to (Monaghan, 1994)
they take values of 0.1 − 0.01 and 0, respectively.
To use SPH with incompressible fluids, slightly
compressibility must be considered to allow dynamic
simulation of these fluids. This is achieved consider-
ing the atmospheric pressure negligible as:
p = B
ρ
ρ
0
γ
− 1
(8)
where ρ
0
is a reference density (e.g. for water is
1000). This relationship is known as the state equa-
tion (which in this context refers to the physical phase
of the fluid and not to the dynamic state as usually re-
ferred in control engineering jargon).
If constants γ and B are high enough (for example,
take 7 and 3000 respectively), state equation (8) com-
putes constrained variation on pressures (under 10
5
atmospheres for water in the example). In this case,
sound’s velocity is sufficiently high and variations in
the relative density are small:
|δρ|
ρ
≈
v
2
c
2
s
(9)
where v is the maximum fluid velocity. Moreover,
if v/c
s
< 0.1, it can be assumed that |δρ|/ρ ≈ 0.01.
In this case, sound’s velocity can be calculated as
c
2
s
= (γB)/ρ
0
. Thus, if B = 100ρ
0
v
2
/γ, then the vari-
ations on the relative velocity can take values of the
order of 0.01. The calculations finish by approximat-
ing the maximum fluid velocity by v
2
= 2gH, where
g is the gravity constant and H is the fluid’s working
area (Monaghan, 1994).
3 COMPLIANT SOLID
MODELING
In contrast with rigid bodies, compliant solids can not
be represented by dynamical lumped equations. This
means that the order of the time varying dynamical
equation should be infinite. Reduction of the order
of this type of equations, for practical simulation pur-
poses, yields to the so called Finite Element Meth-
ods (FEM). These methods consist basically in dis-
cretisize the body on a finite number of small simple
mechanical models. Then a set of simultaneous but
not so complex equations may be solve by different
numerical methods. The new problem is then deter-
mined by the border or boundary conditions that exist
in the new compliant solid.
In the next paragraphs, we propose a new method
to calculate these boundary conditions.
3.1 Modeling with Simplex Meshes
Simplex meshes are used to represent surfaces in the
three-dimensional space. These meshes have similari-
ties with triangulations, in fact a 2-simplex mesh is the
topological dual of the triangulation, but they are not
geometric duals. This means that, we can not build a
geometric transformation between triangulations and
simplex meshes. An important property of simplex
meshes is their constant vertex connectivity: each ver-
tex in the mesh has three and only three neighboring
vertices. This condition allows to use the same de-
formation engine to solve four differential equations
for the four mass-spring-dashpot systems attached on
each simplex. In addition, it has the advantage that
allows smooth deformations in a simple and efficient
manner. In this work we used the model of a sphere
built as is presented in (Flores and de la Fraga, 2004).
A surface made with simplex meshes can be visu-
alize it as a mesh of hexagons, and it is easy to rep-
resent each hexagon with four triangles. Then, each
triangle can be modeled as a single compliant solid
surface. The result is a compliant solid body with ar-
bitrary three-dimensional geometry.
3.2 Fluid Particles Interaction
The interaction of a fluid particle and a surface can be
modeled by the interaction forces or pressures. The
same force, in opposite sense, is exerted by the sur-
face to the particle.
The contact force that the surface exert to the par-
ticle can be modeled in two orthogonal components as
f
c
= f
d
+ f
f
∈ R
3
, where f
d
is the deformation force
due to the elastic stresses and mechanical deformation
of the body surface and in this work is considered to
be strictly perpendicular (normal) to the surface. The
friction component f
f
is considered to be strictly tan-
gential to the surface.
The Normal Operator. Lets be s(x,y,z) = 0 the
function in the Euclidean space defining the sur-
face with whom the particle is contact at point r
c
=
(x
c
,y
c
,z
c
)
T
, where the variables x
c
,y
c
and z
c
are the
Cartesian coordinates of the contact point. The unit
vector λ
N
∈ R
3
is defined as the normalized gradient
of the surface at point p
c
:
λ
N
,
∇s(p
c
)
k∇s(p
c
)k
(10)
The deformation can be calculated as the nor-
mal component at the relative position of the particle
r(x,y,z) with respect to the contact point at the sur-
face x , r − p
c
∈ R
3
. The normal component x
N
is
ICINCO 2009 - 6th International Conference on Informatics in Control, Automation and Robotics
270