1 Introduction 2 Basis Vectors - University of California, Berkeley

advertisement
UNIVERSITY OF CALIFORNIA BERKELEY Structural Engineering,
Department of Civil Engineering
Mechanics and Materials
Fall 2002
Professor: S. Govindjee
A Quick Overview of Curvilinear Coordinates
1
Introduction
Curvilinear coordinate systems are general ways of locating points in Euclidean space using coordinate functions that are invertible functions of the
usual xi Cartesian coordinates. Their utility arises in problems with obvious
geometric symmetries such as cylindrical or spherical symmetry. Thus our
main interest in these notes is to detail the important relations for strain and
stress in these two coordinate systems. Shown in Fig. 1 are the definitions of
the coordinate functions. Note that while the definition of the cylindrical coordinate system is rather standard, the definition of the spherical coordinate
system varies from book to book. Both systems to be studied are orthogonal.
The precise definitions used here are:
Cylindrical
x1 = r cos(θ)
x2 = r sin(θ)
x3 = z
p
x21 + x22
r =
θ = tan−1 (x2 /x1 )
z = x3
2
x1
x2
x3
(1)
(2)
Spherical
= r sin(ϕ) cos(θ)
= r sin(ϕ) sin(θ)
= r cos(ϕ)
p
r =
x21 + x22 + x23
ϕ = cos−1 ( √ 2 x3 2 2 )
x1 +x2 +x3
θ
= tan−1 (x2 /x1 )
Basis Vectors
For convenience in some of the equations to be given later we will denote our
curvilinear coordinates as z k where (z 1 , z 2 , z 3 ) = (r, θ, z) in the cylindrical
case and (z 1 , z 2 , z 3 ) = (r, ϕ, θ) in the spherical case. For the basis vectors we
will introduce for two types of basis vectors. The natural basis vectors and
1
(3)
(4)
x3
x3
ϕ
r
x2
x2
z
r
θ
θ
x1
x1
Figure 1: Definition of the cylindrical and spherical coordinate systems.
the physical basis vectors. Both bases are orthogonal but the physical basis
has the additional property of orthonormality. The basic definitions are
∂xi
ei
∂z k
gk
=
.
kg k k
gk =
(5)
ek
(6)
To differentiate between the physical basis vectors and the usual Cartesian
ones we typically write er , eθ , · · · etc. For the cylindrical coordinate system
one has:




 
cos(θ)
−r sin(θ)
0





sin(θ)
r cos(θ)
0 
g1 →
g2 →
g3 →
(7)
0
0
1
and
1
ez = g 3 .
(8)
eθ = g 2
r
Note that the components have been expressed in the standard orthonormal
Cartesian basis. For the spherical system one has that




sin(ϕ) cos(θ)
r cos(ϕ) cos(θ)
g 1 →  sin(ϕ) sin(θ) 
g 2 →  r cos(ϕ) sin(θ) 
cos(ϕ)
−r sin(ϕ)


(9)
−r sin(ϕ) sin(θ)
g 3 →  r sin(ϕ) cos(θ) 
0
er = g 1
2
and
er = g 1
2.1
1
eϕ = g 2
r
eθ =
1
g .
r sin(ϕ) 3
(10)
Physical and Natural Components
As with all bases we can express the components of vectors and tensors with
respect to our new curvilinear bases. In this regard, it is very important
with the curvilinear coordinates to know whether or not the components
are with respect to the natural basis vectors or with respect to the physical
basis vectors. To help maintain the distinction we use superscript numerals
with the components in the natural basis and subscript letter (Latin and
Greek) for components in the physical basis. Consider for example a vector
v = vθ eθ = v 2 g 2 , then we have the relation
vθ = rv 2 .
(11)
If for instance we have a vector v = vϕ eϕ + vθ eθ = v 2 g 2 + v 3 g 3 , then we have
that
vϕ = rv 2
vθ = r sin(ϕ)v 3 .
(12)
(13)
Similar relations can be derived for tensor components.
3
Dual Basis Vectors
When dealing with non-Cartesian coordinate systems one often introduces
the so called dual (or contravariant) basis vectors; they are denoted by the
symbol g k – note the raised index. The defining property of these basis
vectors is that they are orthogonal to the first basis introduced; i.e.
g i · g j = δji ,
(14)
where δji is simply the Kronecker delta symbol. The i index is raised so that
it matches the other side of the equation. The meaning is still the same (1
if i = j and 0 otherwise). Another way of writing this is g k = (∂z k /∂xi )ei .
3
Note that for the usual Cartesian coordinates there is no difference between
the dual basis and the regular basis. For the cylindrical system we have:




 
cos(θ)
− sin(θ)/r
0
1
2
3





sin(θ)
cos(θ)/r
0 .
g →
g →
g →
(15)
0
0
1
Note again that the components have been expressed in the standard orthonormal Cartesian basis. For the spherical system one has that




sin(ϕ) cos(θ)
cos(ϕ) cos(θ)/r
g 1 →  sin(ϕ) sin(θ) 
g 2 →  cos(ϕ) sin(θ)/r 
cos(ϕ)
− sin(ϕ)/r


(16)
− sin(θ)/r sin(ϕ)
g 3 →  cos(θ)/r sin(ϕ)  .
0
4
Gradient of a Scalar Function
Consider a scalar function f . Its gradient is given as ∇f . This can be
converted through the use of the chain rule into curvilinear coordinates as:
∇f =
∂f i
∂f ∂z k i
∂f
∂f
=
e
=
e = k gk .
i
k
i
∂x
∂x
∂z ∂x
∂z
(17)
Typically, however, results are expressed using the physical basis vectors and
not the natural basis vectors. For our two coordinates systems we have upon
expansion:
∂f
er +
∂r
∂f
∇f =
er +
∂r
∇f =
5
1 ∂f
∂f
eθ +
ez
r ∂θ
∂z
1 ∂f
1
∂f
eϕ +
eθ
r ∂ϕ
r sin(ϕ) ∂θ
(18)
(19)
Gradient of a Vector
To compute the gradient of a vector expressed in curvilinear coordinates
we need to be able to compute the gradient of the basis vectors as they are
4
functions of position (unlike in the Cartesian case). Importantly we will need
to know the derivatives
∂ ∂xk
∂ 2 xk
∂g i
=
e
=
ek .
k
∂z j
∂z j ∂z i
∂z j ∂z i
(20)
The components of these vectors are usually expressed in the dual basis as
Γkij = g k ·
∂g i
,
∂z j
(21)
where Γkij is called the Christoffel symbol. For the cylindrical coordinate
system all of the Christoffel symbols are zero except
Γ122 = −r ,
Γ212 = Γ221 =
1
.
r
(22)
For the spherical coordinate system we have all of the Christoffel symbols
are zero except
Γ122
= −r sin2 (ϕ)
= −r , Γ133
Γ212 = Γ221 = 1r ,
Γ233
Γ313 = Γ331 = 1r ,
Γ332 = Γ323 = cot(ϕ)
= − sin(ϕ) cos(ϕ)
(23)
We can now consider taking the gradient of a vector. This gives
∂v i
∂
∂g
gi + vi i
vigi =
∂x
∂x
∂x
∂v i
∂g
=
g ⊗ g k + v i ki ⊗ g k
k i
∂z
∂z
i
∂v
=
+ +v j Γijk g i ⊗ g k .
∂z k
∇v =
(24)
(25)
(26)
For the cylindrical coordinate system we can expand this result to determine the needed components of the gradient. When expressed in terms of
the physical basis we find that ∇u is given by


ur,r 1r (ur,θ − uθ ) ur,z
 uθ,r 1 (uθ,θ + ur ) uθ,z  .
(27)
r
1
uz,r
u
uz,z
r z,θ
5
The components of the symmetric part of this tensor give the strain, ε, (in
the physical basis as)
1


(u
+
u
)
ur,r 12 1r ur,θ + r(uθ /r),r
r,z
z,r
2
1
1

(uθ,θ + ur )
(uθ,z + 1r uz,θ )  .
(28)
r
2
sym.
uz,z
For the spherical coordinate system we can also expand this result to
determine the needed components of the gradient. When expressed in terms
of the physical basis we find that ∇u is given by


1
1
ur,r
(u
−
u
)
(u
−
u
sin(ϕ))
r,ϕ
ϕ
r,θ
θ
r
r sin(ϕ)
 u

1
1
1
(u
+
u
)
−
u cot(ϕ) + r sin(ϕ)
uϕ,θ
(29)
ϕ,ϕ
r
ϕ,r


r
r θ
1
1
uθ,r r (uθ cot(ϕ) + uθ,ϕ ) r sin(ϕ) uθ,θ + ur /r + uϕ cot(ϕ)/r
The components of the symmetric part of this tensor give the strain, ε, (in
the physical basis as)


1
1
u
+
r(u
/r)
ur,r 21 1r ur,ϕ + r(uϕ /r),r
θ
,r
2 r sin(ϕ) r,θ



 (30)
1
1 1
1
(uϕ,ϕ + ur )
u + r sin(ϕ) uϕ,θ


r
2 r θ,ϕ
1
sym.
u + ur /r + uϕ cot(ϕ)/r
r sin(ϕ) θ,θ
6
Gradient and Divergence of a Tensor
The basic procedure for finding the gradient and divergence of a tensor follows
exactly as we did above. For simplicity consider the stress tensor σ. Its
gradient is given by
∂σ ij
∂g j
∂
∂g
σ ij g i ⊗ g j =
g i ⊗ g j + σ ij i ⊗ g j + σ ij g i ⊗
(31)
∂x
∂x
∂x
∂x
∂g j
∂σ ij
k
ij ∂g i
k
ij
=
g
⊗
g
⊗
g
+
σ
⊗
g
⊗
g
+
σ
g
⊗
⊗ g k (32)
i
j
j
i
k
k
k
∂z
∂z
∂z
ij
∂σ
lj i
il j
(33)
=
+ +σ Γlk + σ Γlk g i ⊗ g j ⊗ g k .
∂z k
∇σ =
The divergence is obtained by contracting upon the j and k indicies to give
ij
∂σ
lj i
il j
∇·σ =
+ +σ Γlj + σ Γlj g i .
(34)
∂z j
6
For our two coordinate systems we can expand this last expression and
convert to physical components. The result in the physical basis for the
cylindrical coordinate systems is:
σrr − σθθ
1
er · (∇ · σ) = σrr,r + σrθ,θ + σrz,z +
r
r
1
2σθr
eθ · (∇ · σ) = σθr,r + σθθ,θ + σθz,z +
r
r
(35)
1
σzr
ez · (∇ · σ) = σzr,r + σzθ,θ + σzz,z +
r
r
The result in the physical basis for the spherical coordinate systems is:
1
2σrr − σϕϕ − σθθ + σrϕ cot(ϕ)
1
σrθ,θ +
er · (∇ · σ) = σrr,r + σrϕ,ϕ +
r
r sin(ϕ)
r
1
1
3σϕr + (σϕϕ − σθθ ) cot(ϕ)
eϕ · (∇ · σ) = σϕr,r + σϕϕ,ϕ +
σϕθ,θ +
r
r sin(ϕ)
r
1
1
3σrθ + 2σϕθ cot(ϕ)
eθ · (∇ · σ) = σθr,r + σθϕ,ϕ +
σθθ,θ +
r
r sin(ϕ)
r
(36)
7
Download