Documente Academic
Documente Profesional
Documente Cultură
c-type
o-type
Multi-block/multi-zonal approach
Overset/overlapping grids
(moving objects)
Frame 001 12 Dec 2006 | |
V2
-1
-2
-3
-5
-4
-3
-2
-1
V1
finite difference are difficult to use for curvilinear grid in x-y plane.
it is convenient to set finite difference in - plane .
PDE should be transformed into - plane and the FDE in - plane is calculated.
dx x
dy y
x d
y d
d x
d
x
y dx
y dy
d 1 y
d J y
J=xy-xy
x dx
x dy
J is called jacobian.
Grid quality
several requirements
1 One-to-one correspondence.
if J0, it is ok, if J=0, some errors exist in the grid.
2 Smooth.
the grid spacing step change slowly
3 Orthogonal or near-orthogonal.
the grid lines of two families (,) are perpendicular
or nearly perpendicular to each other
4 Enough grid points in the important region
Ui+1=Ui+(Ux)ix1+0.5(Uxx)i(x1)2+
Ui-1= Ui(Ux)ix2+0.5(Uxx)i(x2)2+
U i 1 U i 1
(U x )i 0.5(U xx )i ( x2 x1 )
x2 x1
U i 1 U i 1
(U x )i 0.5(U xx )i ( x2 x1 )
x2 x1
If x2=x1
2nd order
If x2 x1 1st order
0.5( U xx ) i ( x 2 x1 )
0.5( U xx ) i x1
xx yy P ( , )
xx yy Q ( , )
( x px ) 2 x ( x qx ) 0
( y py ) 2 y ( y qy ) 0
x2 y2
x x y y
p J P /
q J Q /
x2 y2
J 1
( x, y )
x y x y
( , )