摘要
ThispaperextendstheSPHmethodtogassimulation.TheSPH(SmoothedParticlesHydrodynamics)methodisthemostpopularmethodofflowsimulation,whichiswidelyusedinlarge-scaleliquidsimulation.However,itisnotfoundtoapplytogassimulation,sincethosemethodsbasedonSPHcan’tbeusedinreal-timesimulationduetotheirenormousparticlesandhugecomputation.ThispaperproposesamethodforgassimulationbasedonSPHwithasmallnumberofparticles.Firstly,themethodcomputesthepositionanddensityofeachparticleineachpoint-in-time,andoutlinestheshapeofthesimulatedgasbasedonthoseparticles.Secondlythemethodusesthegridtechniquetorefinetheshapewiththediffusionofparticle’sdensityunderthecontrolofgrid,andgetmorelifelikesimulationresult.Eachgridwillbeassigneddensityaccordingtotheparticlesinit.Thedensitydeterminesthefinalappearanceofthegrid.Forensuringthenaturaltransitionofthecolorbetweenadjacentgrids,wegiveadiffuseprocessofdensitybetweenthesegridsandassignappropriatevaluestovertexesofthesegrids.Theexperimentalresultsshowthattheproposedmethodcangivebettergassimulationandmeettherequestofreal-time.
出版日期
2015年01月11日(中国期刊网平台首次上网日期,不代表论文的发表时间)