【正】 The Relativistic Vlasov-Uehling-Uhlenbeck(RVUU)model is used to study the properties of pi-ons and kaons produced in heavy ion collisions.We include the nuclear medium effect on kaon and pionin the model,and simulate pion production and subthreshold kaon production in Kr+Zr reactions at 1GeV/u.The calculated results show that the attractive pion optical potential changes the final-state pionmomentum spectrum,enhancing the yield of pions with low transverse momenta.At the same ti1e it alsoincreases the kaon abundance and modifies the kaon momentum distribution.