Академический Документы
Профессиональный Документы
Культура Документы
Introduction
What is a grid ?
The arrangement of the discrete points throughout the flow field is simply called a grid.
Introduction
Why is grid generation necessary ?
The standard finite difference methods require a uniformly spaced rectangular grid. If a rectangular grid is used, few grid points fall on the surface. Flow close to the surface being very important in terms of forces, a rectangular grid will give poor results in such regions. The rectangular grid is not appropriate for solution of the flow field.
Introduction
How to overcame those problems ?
Use a nonuniform, curvilinear grid to make the grid points naturally fall on the airfoil surface.
The grid is not rectangular and is not uniformly spaced. The conventional difference equations are difficult to use. Need to transform the curvilinear grid in physical space (x,y) to a rectangular grid in computational space (, ).
Introduction
The procedure is as follows:
Establish the transformation relations between the physical space and the computational space Transform the governing equations and the boundary conditions into the computational space. Solve the equations in the computational space using the uniformly spaced rectangular grid. Perform a reverse transformation to represent the flow properties in the physical space.
Outline
General transformation Grid Generation
Stretched (compressed ) grids Boundary-fitted coordinate system Adaptive grids Some modern development in grid generation
General transformation
The basic idea behind grid generation is the creation of the transformation laws between the physical space and the computational space. There is a one-to-one correspondence between the physical space and the computational space.
Each point in the computational space represents a point in the physical space.
Transformation Relationship
= ( x, y, z ), = ( x, y, z ) and = ( x, y, z )
u x v x w x
u y v y w y
u z v z w z
u v = w
u v w
u v w
x x x
y y y
z z z
Jacobin matrix
x J = x x
y y y
z z z
J 1
x y = z
x y z
x y z
j +1,k j 1, k
y j +1, k y j 1, k
x j , k +1 x j , k 1
j , k +1 j , k 1
y j , k +1 y j , k 1
j +1, k j 1, k
j , k +1 j , k 1
x =
x j 1, k 2 x j , k + x j +1, k 2 x j , k 1 2 x j , k + x j , k +1 2
x =
u v =0 + + y x t
The continuity equation in generalized coordinates
( )t + ( ) + ( ) = 0 J J J
where
U c
V c
U c = xu + y v
V c = xu + y v
Algebraic Methods
Concepts
Known functions are used to map irregular physical domain into rectangular computational domains.
Examples
Stretched (compressed ) grids Boundary Fitted Coordinate System
=x = ln( y + 1)
Inverse transformation
x = y = e 1
=x = ln( y + 1)
= 1, x = 0, x
=0 y 1 = y 1 + y
x = y = e 1
x = 1, x = 0,
y = 0 y = e
Therefore as increases, y increases exponentially. Thus we can choose constant and still have an exponential stretching of the grid in the y-direction.
Eq. (5.57) is the continuity equation in the computational domain. Thus we have transformed the continuity equation from the physical space to the computational space.
=x = y / ymax
(5.65) (5.66)
= x,
y ymax
y x2
= 1, =0 x y y = 2 3 = 2 = 2 x x x 1 1 = 2 = 2 y x
Comments
The elliptic equations are chosen to relate and to x and y and hence constitute a transformation ( one-to-one correspondence of grid points) from the physical plane to the computational plane.
Adaptive Grids
Motivation
Grid generation is important for the solution of CFD
Adaptive Grids
Motivation - Why need adaptive grids ?
We should put more grid points in the flow field with large gradients, and put less grid points in the flow field with small gradients. How do we know in advance where the major action is going to occur in the flow without actually solving the problem ? An adaptive grid is a solution !
Adaptive Grids
What is an adaptive grid ?
A grid network that automatically clusters grid points in the regions of high flow-field gradient; It uses the solution of the flow-field properties to locate the grid points in physical plane. It is intimately linked to the flow-field solution and changes as the flow field changes.
During the course of the solution, the grid points in the physical plane move in such a fashion to adapt to regions of large flow-field gradients as these gradients evolve with time. It became stationary only when the flow solution approach a steady state.
Adaptive Grids
Example
F-20
The finite-volume calculations can be made directly in the physical plane on a nonuniform mesh.
structured meshes
unstructured meshes
Overlapping block
This approach consists of building partially overlapping blocks. Boundary conditions need to be exchanged at the interface between domains and this is usually done through some form of interpolation.
Hybrid scheme
The hybrid scheme takes advantage of both unstructured and structured methods by applying structured body fitted coordinates to the body and unstructured networks in the outer boundaries.
Final Remarks
A transformation is required for finite-difference methods, because the finite-difference expressions are evaluated on the uniform grid. A transformation is inherently not required for finitevolume methods, because it can deal directly with a nonuniform mesh in the physical plane.