X: he sd karman
a l hng sd, T Q, T^ l nhiet do mt dt v khf quyen.
4.1. Chuang trinh tinh
Dua vao thuat loan giai da trinh bay d Chuong III, da xay dung dugc mdt chuong trinh tfnh cd ten METEO viet theo ngdn ngu FORTRAN 77 vao khoang 837 đng lenh. Day la bai loan kha phiic lap, viec vi^t chuong trinh đi hdi nhieu thdi gian cung nhu cdng siic. Chuong trinh da dugc in ra trong phu luc. So đ khdi ciia chuong trinh dugc trinh bay d hinh 4.1.
Hinh 4.1. So do khoi chuang trinh METEỌ
Du lieu dlu vao Kich cd mi^n tinh: L^,, Ly, L,
Budc ludi khdng gian: Ax, Ay, Z\z, ihdi gian At Tdng budc thdi gian tfnh TT
Dd cao dia hinh, đ nham be mat mi^n tfnh Cdc he sd rdi, khuy&h tan va cac tham sd khac Sd lieu u, V, w, D, 0, q tai t = 0 va d bien.
k = 0, gan gia tri ban dau
In ket qua hoac dua vao lilc DCmi: may
Cac thii tuc tfnh theo cac budc sau: + DG lieu dSu vao:
- Kich thudc mien tfnh: L^, Ly, L^, cac he sd k^, k^, k^^, k^^, k^^* l^z va cac tham sd khac.
- Tdng budc thdi gian tfnh TT
- Budc ludi khdng gian Ax, Ay, va budc ludi thdi gian At - Dd cao dia hinh, do nham be mat
- Cac sd lieu u, v, w, p, q, 0 tai t = 0 - Cac sd lieu u, v, w, p, q, 0 tai bien. + Tfnh van tdc u, p d ldp thdi gian k+1/2 + Tfnh V, p d ldp thdi gian k + 1 + Tfnh w d ldp thdi gian k +1 + Tfnh do am q - Tfnh q ldp thdi gian k + 1/3 - Tfnh q ldp thdi gian k + 2/3 - Tfnh q ldp thdi gian k + 1 + Tfnh nhiet do 0 - Tfnh 0 ldp thdi gian k + 1/3 - Tfnh 0 ldp thdi gian k + 2/3 - Tfnh 0 ldp thdi gian k + 1 + Tfnh mat do p ldp thdi gian k+1 + Du lieu dau ra:
- Van tdc u, V, w