27.11.2012 Views

FLOW AROUND A CYLINDER - istiarto

FLOW AROUND A CYLINDER - istiarto

FLOW AROUND A CYLINDER - istiarto

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

d� t<br />

dt � ��t �t � ��t �x<br />

dx<br />

dt � �� t<br />

�y<br />

dy<br />

dt � ��t �z<br />

– 5.46 –<br />

dz<br />

dt � 0 � �� t<br />

�t � u ��t t<br />

�x � v �� t<br />

t<br />

�y � wt (5.4)<br />

which is known as the kinematic condition. The above equation can be solved for � t by<br />

using a finite-volume technique on the 2D grid (xy plane) of the surface boundary. To<br />

avoid the excessive computational time, the surface computation can be carried out at the<br />

end of each time step. Alternatively, it can also be done after several time steps when the<br />

pressure correction has reduced to a sufficiently small number as in the case of the<br />

present model.<br />

The surface function, � t , is unfortunately given for the surface (top face) center, whereas<br />

the cell is defined by its vertices. This in effect necessitates the use of an interpolation to<br />

get the z values of the cell vertices from this function. The simplest approach will be<br />

using a linear interpolation (see Fig. 5.24c). Note that the usual notations PEWNS are<br />

used to indicate the center and neighboring nodes on the 2D mesh which constitutes the<br />

top boundary of the 3D mesh. Integrating Eq. 5.4 over the 2D cell and writing each term<br />

in the discretized finite-volume form, one has:<br />

�<br />

�t<br />

�� St, z<br />

�� St, z<br />

�� St, z<br />

��S<br />

t, z<br />

� t dS � �t,P n�1 n<br />

� � t,P<br />

St,z �t<br />

dS � �u t�<br />

�x<br />

n�1 n�1 n�1 n�1 n�1<br />

�� �t �y�<br />

� �<br />

e � t �y�<br />

� �<br />

w � t �y�<br />

� �<br />

n � t �y�s<br />

�<br />

�� t<br />

dS � �vt �<br />

�y<br />

n�1 n�1 n�1 n�1 n�1<br />

�� �t �x�<br />

� �<br />

e � t �x�<br />

� �<br />

w � t �x�<br />

� �t �x<br />

n � �s �<br />

��<br />

u t<br />

t<br />

v t<br />

w t dS � wt St,z (5.5)<br />

where the face values are obtained by interpolation (see Eq. 4.19), for example for the<br />

east face: � t,e � �1� �e�� t,P � �e � t,E . Using this interpolation to replace the face values<br />

in Eq. 5.5, the discretized finite-volume form of Eq. 5.4 is:<br />

n�1 n�1<br />

aP �t,P � � anb �t,nb � b (5.6)<br />

nb�EWNS<br />

where the coefficients consist of the following terms:<br />

aP � St,z �t � anb �<br />

nb<br />

� �ye � �yw � �yn � �y � s�u<br />

t � �xe � �xw � �xn � �xs aE � �e��ye ut � �xe vt�, aW � �w��y w ut � �xw vt�, aN � �n��y n ut � �xn vt�, aS � �s��y s ut � �xs vt �,<br />

b � w t S t,z � S t,z<br />

�t .<br />

� � v t ,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!