3.4. Numerical scheme
The governing equations can be written in symbolic vector form as:
with
W F
++C=0, 0 ρ1S ρ1uS
. 0W= ρNS , F= ρNuS and C=
S 2
ρpfuu + ρuS ρuS+pS ρES (ρE+p)Su 2()hTT cwall
The discretization of this system is done by dividing the pipe into N-1 cells of size x giving N
discretization nodes as shown in Figure 4.
Figure 4: pipe mesh
Variables are then estimated at the cell centers of the pipe. For this, the two step Lax-Wendroff scheme, proposed by Richtmyer and Morton [12] and modified by Bassett et al. [10] is used to solve the governing equations. It can be expressed as: - step 1
+1/2Win+1/2=
- step 2
1n t tnn
Wi+1+Win Fin F Ci+1+Cini+1 ()()()
Win+1=Win
with
tn+1/2 tn+1/2+1/21/2
Fi+1/2 FinCi+1/2+Cin + 1/21/2
()(),
Fin=F(Win).
In the previous equations, the subscript denotes the spatial position and the superscript
denotes the time level to which the variables refer. The time step t is defined so that:
(a+) t=0.7,
where: a is the speed of sound. The calculation scheme is shown from schematic point of view in Figure 5.
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说教育文库AMESim(CFD一维气体动力学库)(15)在线全文阅读。
相关推荐: