簡易檢索 / 詳目顯示

研究生: 林偉傑
Lin, Wei-Jie
論文名稱: 應用晶格波茲曼法於圖形顯示卡叢集對周期性山坡紊流進行直接數值模擬
Direct numerical simulations of turbulent flows over periodic hill with Lattice Boltzmann method on multi-GPU cluster
指導教授: 林昭安
Lin, Chao-An
口試委員: 赫克特
Iacovides, Hector
提摩西
Craft, Timothy
學位類別: 碩士
Master
系所名稱: 工學院 - 動力機械工程學系
Department of Power Mechanical Engineering
論文出版年: 2020
畢業學年度: 107
語文別: 英文
論文頁數: 51
中文關鍵詞: 晶格波茲曼法週期性山坡紊流圖形顯示卡
外文關鍵詞: LBM, Periodic hill, turbulent flow, GPU
相關次數: 點閱:5下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 在本研究中採用了多鬆弛時間晶格波茲曼法模擬雷諾數為700以及2800的週期性山坡紊流流場。在晶格波茲曼法中,通常都是採用均勻網格,因此在處理流場中的複雜幾何圖形時,曲面修正的方式十分重要。但在進行曲面修正時,流場的整體密度可能因此增加或減少,進而破壞流場的穩定。由此可知,需要對密度進行補償以保證流場中的質量守恆。除了檢驗流場的密度是否守恆,本研究將BFL以及Q correction兩種曲面修正方式進行比較。在網格的部分也使用不同密度的網格得到相同的結果。最後,本研究使用高速圖形顯示卡叢集進行運算,並採用二維切割以達到加速的效果


    In present work, multi-relaxation-time lattice Boltzmann method (LBM) was adopted to investigate turbulent flow over periodic hills. The Reynolds numbers based on the hill height and bulk velocity were 700 and 2800. In LBM, uniform grids were the most common case, where curved boundary treatments are needed to investigate the case with complex geometries in the flow field. However, implementing curved boundary treatments could make the mass of the system decrease or increase and then sabotage the stability of the flow field. As a result, mass-conservative implementation is necessary to fix the mass leakage. Apart from the examination of mass conservation, the capability of different curved boundary treatments, which were BFL scheme and Q corrections, were adopted and compared with benchmarks. In addition, different sets of grids were adopted to identify the grid independence. Finally, the simulations were conducted on multi-GPU clusters with two dimensional decomposition to accelerate the computation

    1 Introduction 1.1 Introduction................................ 1 1.2 Literature survey............................. 2 1.2.1 Theory of lattice Boltzmann method.............. 2 1.2.2 Flow over periodic hills...................... 3 1.2.3 Boundary conditions....................... 4 1.2.4 Mass conservation......................... 5 1.2.5 GPU implementation....................... 6 1.2.6 Motivation............................. 6 2 Methodology 2.1 The Boltzmann equation......................... 7 2.2 The low-Mach-number approximation.................. 9 2.3 Discretization of Boltzmannequation.................. 10 2.3.1 Discretization of phase space................... 10 2.3.2 Dicretization of time....................... 11 3 Numerical algorithm 3.1 Multiple-relaxation-time lattice Boltzmann model........... 13 3.1.1 The forcing term......................... 14 3.2 Boundary conditions........................... 15 3.2.1 Straight boundary condition................... 15 3.2.2 BFL scheme............................ 16 3.2.3 Q corrector............................ 18 3.2.4 Mass-conservative implementation................ 19 3.3 GPU implementation........................... 19 4 Numerical results and discussion 4.1 Turbulent channel flow.......................... 27 4.2 Turbulent periodic hill flow....................... 29 5 Conclusions................ 44

    [1] U. Frisch,B.Hasslacher,andY.Pomeau,\Lattice-gasautomatafortheNavier-
    Stokesequation,"Phys.Rev.Lett. 56, 1505,(1986).
    [2] S. Wolfram,\Cellularautomata
    uids1:Basictheory,"J.Stat.Phys. 45, 471,
    (1986).
    [3] P.L.Bhatnagar,E.P.Gross,andM.Grook,\Amodelforcollisionprocesses
    in gases.I.smallamplitudeprocessesinchargedandneutralone-component
    systems," PhysicsReviewsE, 94, 511,(1954).
    [4] G. Almeida,D.Dur~ao,andM.Heitor,\Wake
    owbehindtwo-dimensional
    modelhills,"ExperimentalThermalandFluidScience, 7, (1993).
    [5] C. P.Mellen,J.frolich,andW.Rodi,\LargeEddySimulationsofthe
    owover
    periodichills,"inIMACSWorldCongress(M.DevilleandR.Owens,eds.),
    (2000).
    [6] M. Breuer,N.Peller,C.Rapp,andM.Manhart,\Flowoverperiodichills
    - numericalandexperimentalstudyinawiderangeofreynoldsnumber,"
    Computers &Fluids, 38, 433,(2009).
    [7] G.R.McNamara,andG.Zanetti,\UseoftheBoltzmannequationtosimulate
    lattice-gas automa,"PhysicalReviewLetters 61, 2332,(1988)
    45
    [8]F.J.Higuera,andJ.Jimenez,\Boltzmannapproachtolatticegassimulations,"EurophysicsLetters, 9, 663,(1989)
    [9] X. He,andL.S.Luo,\TheoryofthelatticeBoltzmannmethod:Fromthe
    Boltzmann equationtothelatticeBoltzmannequation,"PhysicalReviewE,
    56, 6811,(1997)
    [10] X. He,andL.S.Luo,\A priori derivationofthelatticeBoltzmannequation,"
    PhysicalReviewE, 55, 6333,(1997)
    [11] K. Kono,T.Ishizuka,H.Tsuda,andA.Kurosawa,\Applicationoflattice
    Boltzmann modeltomultiphase
    owswithphasetransition,"ComputerPhysics
    Communications, 129, 110,(2000)
    [12] S.Hou,X.Shan,Q.Zou,andG.D.Doolen,W.E.Soll,\Evaluationoftwolattice
    Boltzmann modelsformultiphase
    ows,"JournalofComputationalPhysics,
    138, 695,(1995)
    [13] X. He,S.Chen,andR.Zhang,\AlatticeBoltzmannschemeforincompressible
    multiphase
    owanditsapplicationinsimulationofRayleigh-Taylorinstability,"
    Journal ofComputationalPhysics, 152, 642,(1999)
    [14] C.H.Shih,C.L.Wu,L.C.Changand,C.A.Lin,\LatticeBoltzmann
    simulationsofincompressibleliquid-gassystemonpartialwettingsurface,"
    Philosophical TransactionRoyalSocietyA, 369, 2510,(2011)
    [15] M. Krafczyk,M.Schulz,andE.Rank,\Lattice-gassimulationsoftwo-phase

    owinporousmedia,"CommunicationsinNumericalMethodsinEngineering,
    14, 709,(1998).
    [16] J. Bernsdorf,G.Brenner,andF.Dust,\Numericalanalysisofthepressure
    drop inporousmedia
    owwithlatticeBoltzmann(BGK)automata,"Computer
    PhysicsCommunications129, 247, (2000).
    46
    [17] D. M.Freed,\Lattice-Boltzmannmethodformacroscopicporousmedia
    modeling,"InternationalJournalofModernPhysicsC, 9, 1491,(1998).
    [18] Y. Hashimoto,andH.Ohashi,\Dropletdynamicsusingthelattice-gasmethod,"
    InternationalJournalofModernPhysics 8, 977,(1997).
    [19] H. Xi,andC.Duncan,\LatticeBoltzmannsimulationsofthree-dimensional
    single dropletdeformationandbreakupundersimpleshear
    ow,"Physical
    Review E 59, 3022,(1999).
    [20] S.Ansumali,andI.V.Karlin,\Entropyfunctionapproachtothelattice
    Boltzmann method,"JournalofStatisticalPhysics 107, 291,(2002).
    [21] D. d'Humieres,\GeneralizedlatticeBoltzmannequation\,InRare edGas
    Dynamics: TheoryandSimulations,ProgressinAstronauticsandAeronautics,
    159, ShizgalBD,WeaverDP(eds).AIAA:Washington,DC,45,(1992).
    [22] P.Lallemand,andL.S.Luo,\TheoryofthelatticeBoltzmannmethod:
    dispersion,dissipation,isotropy,Galileaninvariance,andstability,"Physical
    Review E, 61, 6546,(2000).
    [23] K.N. Premnath,M.J.Pattison,andS.Banerjee,\GeneralizedlatticeBoltzmann
    equation withforcingtermforcomputationofwall-boundedturbulent
    ows,"
    PhysicalReviewE, 79,026703, (2009).
    [24] K. Suga,Y.Kuwata,K.Takashima,andR.Chikasue,\AD3Q27multiple-
    relaxation-time latticeBoltzmannmethodforturbulent
    ows,"Computersand
    Mathematics withApplications, 69, 518,(2015).
    [25] H. Yu,S.S.Girimaji,andL.S.Luo,\DNSandLESofdecayingisotropic
    turbulence withandwithoutframerotationusinglatticeBoltzmannmethod,"
    Journal ofComputationalPhysics, 209, 599,(2005).
    47
    [26] L. Temmerman,M.A.Leschziner,C.P.Mellen,andJ.Frohlich,
    \Investigationofwall-functionapproximationsandsubgrid-scalemodelsin
    large eddysimulationofseparated
    owinachannelwithstreamwiseperiodic
    constrictions," InternationalJournalofHeatandFluidFlow, 24, 157,(2003).
    [27] J. Frohlich,C.P.Mellen,W.Rodi,L.Temmerman,andM.A.Leschziner,
    \Highly resolvedlarge-eddysimulationofseparated
    owinachannelwith
    streamwiseperiodicconstrictions,"JournalofFluidMechanics, 526, (2005).
    [28] C.Rapp,andM.Manhart,\Flowoverperiodichills:anexperimentalstudy.,"
    ExperimentsinFluids, 51, 247,(2011).
    [29] B. ChaouatandR.Schiestel,\HybridRANS/LESsimulationsoftheturbulent

    owoverperiodichillsathighReynoldsnumberusingPITMmethod,"
    Computers &Fluids, 84, 279,(2013).
    [30] P.HChang,C.C.Liao,H.W.Hsu,S.H.Liu,andC.A.Lin,\Simulations
    of laminarandturbulent
    owsoverperiodichillswithimmersedboundary
    method,"Computers&Fluids, 92, 233,(2014).
    [31] B. Krank,M.Kronbichler,andW.A.Wall,\Directnumericalsimulationof

    owoverperiodichillsuptoReH=10595,"FlowTurbulenceCombust, 101,
    521, (2018).
    [32] A.J.C.Ladd\Numericalsimulationsofparticulatesuspensionsviadiscretized
    Boltzmann equation,"JournalofFluidMechanics 271, 285,(1994).
    [33] P.A.Skordos,\InitialandboundaryconditionsforthelatticeBoltzmann
    method,"Phys.Rev.E, 48, 4823,(1993).
    [34] T.Inamuro,M.Yoshino,andF.Ogino,\Anonslipboundaryconditionfor
    lattice Boltzmannsimulations,"PhysicsofFluids, 7, 2928{2930,(1995).
    48
    [35] Q.ZouandX.He,\Onpressureandvelocityboundaryconditionsforthelattice
    Boltzmann BGKmodel,"Physicsof
    uids 9, 1591,(1997).
    [36] S.Chen,D.Martnez,andR.Mei,\Onboundaryconditionsinlattice
    Boltzmann methods,"PhysicsofFluids, 8, 2527,(1996).
    [37] O.FilippovaandD.Hanel,\Gridre nementforlattice-BGKmodels"Journal
    of ComputationalPhysics 147, 219,(1998).
    [38] R. Mei,L.S.Luo,andW.Shyy,\Anaccuratecurvedboundarytreatmentin
    the latticeBoltzmannmethod,"Journalofcomputationalphysics, 155, 307,
    (1999).
    [39] M. Bouzidi,M.Firdaouss,andP.Lallemand,\Momentumtransferofa
    Boltzmann-lattice
    uidwithboundaries,"PhysicsofFluids, 13, 3452,(2001).
    [40] K. H.Lin,C.C.Liao,S.Y.Lien,andC.A.Lin,\ThermallatticeBoltzmann
    simulationsofnaturalconvectionwithcomplexgeometry,"ComputerModeling
    in EngineeringandSciences(CMES), 44, 137,(2009).
    [41] P.Lallemand,andL.SLuo,\LatticeBoltzmannmethodformoving
    boundaries,"JournalofComputationalPhysics,vol.18(2),2003.
    [42] H. Chen,C.Teixeira,andK.Molvig,\RealizationofFluidBoundaryConditions
    via DiscreteBoltzmannDynamics,"InternationalJournalofModernPhysicsC,
    9, 1291,(1998).
    [43] M. Rohde,J.J.Derksen,H.E.A.VandenAkker,\Volumetricmethodfor
    calculating the
    owaroundmovingobjectsinlattice-Boltzmannschemes,"
    PhysicalReviewE, 65, (2002).
    [44] P.-HKao,R.-J.Yang,\Aninvestigationintocurvedandmovingboundary
    treatmentsinthelatticeBoltzmannmethod,"JournalofComputational
    Physics, 227, (2008).
    49
    [45] E.L Coupanec,andJ.C.GVerschave,\Amassconservingboundarycondition
    for thelatticeBoltzmannmethodfortangentiallymovingwalls,"Mathematics
    an ComputersinSimulation, 81, (2011).
    [46] S.K.PSanjeevi,A.Zarghami,andJ.TPadding,\Choiceofno-slipcurved
    boundaryconditionforlatticeBoltzmannsimulationsofhigh-Reynolds-number

    ows,"PhysicalReviewE, 97, (2018).
    [47] J. Tolke,andM.Krafczyk,\TeraFLOPcomputingonadesktopPCwith
    GPUs for3DCFD,"InternationalJournalofComputationalFluidDynamics
    22, 443,(2008).
    [48] J. Tolke,\ImplementationofaLatticeBoltzmannkernelusingthe
    Compute Uni edDeviceArchitecturedevelopedbynVIDIA,"Computingand
    Visualization inScience 13, 29,(2010).
    [49] C.Obrecht,F.Kuznik,B.TourancheauandJ.J.Roux,\scalablelattice
    Boltzmann solversforCUDAGPUclusters"PhysicalReviewE, 65, 259,(2013).
    [50] H. W.Chang,P.Y.Hong,L.S.LinandC.A.Lin,\Simulationsof
    ow
    instabilityinthreedimensionaldeepcavitieswithmultirelaxationtimelattice
    Boltzmann methodongraphicprocessingunits,"Computers&Fluids, 88, 866,
    (2013).
    [51] L. S.Lin,H.W.Chang,andC.A.Lin,\MultirelaxationtimelatticeBoltzmann
    simulationsoftransitionindeep2DliddrivencavityusingGPU,"Computers
    & Fluids, 80, 381,(2013).
    [52] P.Y.Hong,L.M.Huang,L.S.Lin,\Scalablemulti-relaxation-timelattice
    Boltzmann simulationsonmulti-GPUcluster",Computer&Fluids, 110, 1,
    (2015)
    50
    [53] P.Y.Hong,L.M.Huang,C.Y.ChangmandC.A.Lin,"Lattice
    Boltzmann simulationsofcavity
    owsongraphicprocessingunitwithmemory
    management",JournalofMechanics, 33, 863,(2017).
    [54] Y. H.Lee,L.M.Huang,Y.S.Zou,S.C.Huang,andC.A.Lin,"Simulationsof
    turbulentduct
    owwithlatticeBoltzmannmethodonGPUcluster",Computer
    & Fluids, 168, 14,(2014).
    [55] D. A.Wolf-Gladrow,\Lattice-gascellularautomataandlatticeBoltzmann
    models-anintroduction,"Springer,LectureNotesinMathematics,p.159,
    (2000).
    [56] D. d`Humieres,I.Ginzburg,M.Krafczyk,P.Lallemand,L.-S.Luo,\Multiple-
    relaxation-time latticeBoltzmannmodelsinthreedimensions."Philosophical
    TransactionRoyalSocietyLondon,Ser.A 360, 437,(2011).
    [57] L. S.Luo,\TheoryofthelatticeBoltzmannmethod:LatticeBoltzmannmodels
    for nonidealgas."PhysicalReviewE, 62, 4982,(2000)
    [58] C.Obrecht,F.Kuznik,B.Tourancheau,andJ.J.Roux,\Anewapproach
    to thelatticeBoltzmannmethodforgraphicsprocessingunits,"Computers&
    Mathematics withApplications 61, 3628,(2011).
    [59] X. Wang,andT.Aoki,\Multi-GPUperformanceofincompressible
    ow
    computation bylatticeBoltzmannmethodonGPUcluster,"Parallel
    Computing 37, 521,(2011).
    [60] R. D.Moser,J.Kim,andN.N.Mansour,\Directnumericalsimulationsof
    turbulentchannel
    owupto Re =590," Physicsof
    uids 11, 4,(1999).

    QR CODE