簡易檢索 / 詳目顯示

研究生: 洪銘輝
Ming-Hui Hung
論文名稱: 離散元素分析模擬之雲端運算與視覺化展示
Cloud Computing and Data Visualization in Discrete Element Method Simulation
指導教授: 謝佑明
Yo-Ming Hsieh
口試委員: 陳鴻銘
Hung-Ming Chen
鄧福宸
Fu-Chen Teng
學位類別: 碩士
Master
系所名稱: 工程學院 - 營建工程系
Department of Civil and Construction Engineering
論文出版年: 2021
畢業學年度: 109
語文別: 中文
論文頁數: 93
中文關鍵詞: 離散元素資料視覺化雲端運算
外文關鍵詞: DEM, Cloud Computing, Data Visualization
相關次數: 點閱:299下載:4
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 近年來,網際網路的迅速發展,雲端運算(Cloud Computing)已經逐漸普及, 人們僅需要將自己的檔案上傳至雲端,伺服器便會開始將資料處理,並使用在不 同的應用上面。資料視覺化(Data Visualization)是將人們無法直接處理的資料,以 圖像化的方式呈現出來,讓人們能夠以更直觀的方式了解資料內容。
    離散元素法(Discrete Element Method, DEM)是一種應用大地工程領域之分析 方法,可用於岩石與砂土材料之微觀力學性質探討,以及用於模擬地形上土石崩 塌等問題,並依照精細的時間步驟計算其物理現象。
    本研究開發一套基於離散元素法之視覺化系統,幫助使用者建立離散元素模 型。其為一個網頁型應用程式,透過網頁程式編輯器之方式編輯模型、匯入模型 及新增模型,在完成模型之建立後,使用者可以利用預覽模型達到視覺化模型之 效果,進而將建立好的模型上傳至雲端上面將模型之結果計算完成。待結果計算 完成之後,使用者可以將其結果展示於瀏覽器之中,在視覺化的展示過程中,使 用者可以利用上色之功能觀察每個離散元素其物理性質。
    最後,本研究利用不同瀏覽器上比較不同瀏覽器上的執行效率,並且比較不 同數目的離散元素下記憶體、CPU、GPU 及網速之表現,記憶體可以決定離散元 素可彩現的數目,CPU 在本研究使用量極小,更好的 GPU 可以讓螢幕更新率更 為流暢,更快的網速讓讀取檔案速度更為提升。


    In recent years, with the rapid development of the Internet, cloud computing has gradually become popular. People only need to upload their files to the cloud, and the server will begin to process the data and use it in different applications. Data Visualization is to present the data that people cannot directly process in an image- based way, so that people can understand the content of the data in a more intuitive way.
    Discrete Element Method (DEM) is an analysis method applied in the field of geotechnical engineering. It can be used to explore the micro-mechanical properties of rock and sand materials, and to simulate the problems of soil and rock collapse on the terrain, and follow precise time steps. Calculate its physical phenomena.
    This research develops a visualization system based on the discrete element method to help users build discrete element models. It is a web-based application that edits models, imports models, and adds new models through a web program editor. After the model is created, the user can use the simulation model to achieve the effect of the visual model, and then create the model is uploaded to the cloud and the result of the model is calculated. After the calculation of the result is completed, the user can display the result in the browser. In the visual display, the user can use the coloring function to observe the physical properties of each discrete element.
    At last, this study uses different browsers to compare the execution efficiency of different browsers, and compares the performance of memory, CPU, GPU, and network speed under different numbers of discrete elements. It can be determined that memory can determine the display of discrete elements. The number of CPUs used in this research is extremely small. A better GPU can make the screen update rate smoother, and a faster network speed can make reading files faster.

    論文摘要 I ABSTRACT II 目錄 IV 圖目錄 IX 表目錄 XI 第一章 緒論 1 1.1 研究動機 1 1.2 研究方法 2 1.3 論文架構 3 第二章 文獻回顧 5 2.1 離散元素法 5 2.1.1 離散元素法之商業軟體比較 5 2.1.2 離散元素法之商業軟體上之應用 6 2.2 離散元素法於大地工程上之應用 7 2.2.1 單軸壓縮試驗 7 2.2.2 直剪試驗 11 2.2.3 邊坡滑落模擬 12 2.3 小結 15 第三章 研究方法與工具 16 3.1 前端程式開發工具 16 3.1.1 HTML 17 3.1.2 JavaScript 18 3.1.3 jQuery 19 3.1.4 Bootstrap 19 3.1.5 Babylon.js 19 3.1.6 CodeMirror 20 3.1.7 geotiff.js 20 3.1.8 Delatin 20 3.2 後端程式開發工具 21 3.2.1 Node.js 21 3.2.2 Express 22 3.2.3 nvdia-smi 22 3.2.4 Nginx 22 3.2.5 離散元素物理引擎 23 3.3 資料庫 28 3.4 效能評估與剖析方法 28 第四章 系統分析與設計 29 4.1 系統功能需求 29 4.1.1 建立模型 29 4.1.2 預覽模型 30 4.1.3 上傳模型 30 4.1.4 進度查詢 30 4.1.5 結果展示 31 4.2 資料庫設計 33 4.3 系統架構 34 4.3.1 系統佈屬圖 34 4.3.2 網站地圖 34 第五章 系統功能實作 36 5.1 模型編輯頁面 36 5.1.1 程式碼編輯器 36 5.1.2 模型功能 36 5.1.3 預覽模型 38 5.1.4 上傳模型 39 5.1.5 模擬清單 40 5.2 模擬結果展示頁面 40 5.2.1 播放器功能 40 5.2.2 使用者設定 41 5.2.3 離散元素上色 41 5.3 伺服器 42 5.3.1 網頁伺服器 43 5.3.2 運算伺服器 43 第六章 系統展示 44 6.1 系統整體操作流程 44 6.1.1 登入介面 44 6.2 模型編輯頁面 46 6.2.1 程式碼編輯 46 6.2.2 模型功能 48 6.2.3 參考範例 51 6.2.4 預覽模型頁面 52 6.2.5 上傳模型 53 6.2.6 帳戶功能 54 6.2.7 伺服器狀態 55 6.3 模擬結果展示頁面 56 6.3.1 播放器功能 56 6.3.2 使用者設定 57 6.3.3 離散元素上色 58 第七章 系統效能評估 60 7.1 效能評估案例模型與方法 60 7.2 預覽模型過程之效能分析 62 7.2.1 於不同瀏覽器下之表現 63 7.2.2 瀏覽器之記憶體效能表現 64 7.3 展示頁面之效能分析 66 7.3.1 展示頁面之記憶體效能表現 66 7.3.2 展示頁面之 CPU 及 GPU 效能表現 68 7.3.3 展示頁面檔案讀取效率 70 7.4 記憶體表現之比較 71 7.5 小結 72 第八章 結論與建議 74 8.1 結論 74 8.2 建議與未來展望 75 參考文獻 77

    [1] 吳騏宇(2018)。超高速離散元素分析引擎之研發。碩士論文,國立臺 灣科技大學營建工程系,台北市。
    [2] 黃竟鎧(2020)。多圖形處理器之高速離散元素模擬引擎。碩士論文, 國立臺灣科技大學營建工程系,台北市。
    [3] Cundall, P. A. (1971). A computer model for simulating progressive, large- scale movements in blocky rock systems. Proc. Symp. Int. Soc. Rock Mech. Nancy, 2(8).
    [4] Itasca Consulting Group, I. (2017). PFC3D (particle flow code in 3 dimension), Ver 5.0 user's manual.
    [5] ESSS. (n.d.). Rocky DEM - The Most Powerful Particle Simulation Software. from https://rocky.esss.co/
    [6] ESSS. (n.d.). Spetstechnomash uses Rocky DEM to design new, customized equipment. Retrieved January 23, 2021, from https://rocky.esss.co/case/spetstechnomash/
    [7] ESSS. (n.d.). Idaho National Laboratory relies on complex-shape models to analyze milled biomass flow. Retrieved January 23, 2021, from https://rocky.esss.co/case/idaho-national-laboratory/
    [8] ESSS. (n.d.). Beyond Simulation: Supplementing a Virtual Lab with DEM Technology. Retrieved January 23, 2021, from https://rocky.esss.co/case/sandvik-supplementing-virtual-lab-dem-technology/
    [9] ESSS. (n.d.). BMS Simulates over 10 million particles using Rocky DEM. Retrieved January 23, 2021, from https://rocky.esss.co/case/bms-simulates- over-10-million-particles-using-rocky-dem/
    [10] Ltd., D. S. (n.d.). EDEM Simulation for Industry. Retrieved January 23, 2021, from https://www.edemsimulation.com/industry/
    [11] Potyondy, D. O., & Cundall, P. A. (2004). A bonded-particle model for rock. International Journal of Rock Mechanics and Mining Sciences, 41(8 SPEC.ISS.), 1329-1364. doi: 10.1016/j.ijrmms.2004.09.011
    [12] Whittles, D. N., Kingman, S., Lowndes, I., & Jackson, K. (2006). Laboratory and numerical investigation into the characteristics of rock fragmentation. Minerals Engineering, 19(14), 1418-1429. doi: 10.1016/j.mineng.2006.02.004
    [13] Zhang, Q., Zhu, H., Zhang, L., & Ding, X. (2011). Study of scale effect on intact rock strength using particle flow modeling. International Journal of Rock Mechanics and Mining Sciences, 48(8), 1320-1328. doi:
    10.1016/j.ijrmms.2011.09.016

    [14] Park, J. W., & Song, J. J. (2013). Numerical method for the determination of
    contact areas of a rock joint under normal and shear loads. International Journal of Rock Mechanics and Mining Sciences, 58, 8-22. doi: 10.1016/j.ijrmms.2012.10.001
    [15] Sadek, M. A., Chen, Y., & Liu, J. (2011). Simulating shear behavior of a sandy soil under different soil conditions. Journal of Terramechanics, 48(6), 451-458. doi: 10.1016/j.jterra.2011.09.006
    [16] Lo, C. M., Lin, Y. H., Wei, L. W., Huang, W. K., Cheng, T. Y., Lin, M. L., . . . Lee, C. T. (2012). Kinematic process of the catastrophic landslide through investigation and numerical simulation. Journal of the Chinese Institute of Civil and Hydraulic Engineering, 24(3), 231-243.
    [17] 翁正學(2017)。向上裂隙水對順向坡穩定性及破壞行為之影響。碩士 論文,國立臺灣大學土木工程學研究所,台北市。
    [18] Robbins, J. N. (2012). Learning web design: A begin-ner’s guide to HTML, CSS, JavaScript, and web graphics. O’Reilly Media, Inc.
    [19] Moraes, F. (n.d.). HTML For Beginners The Easy Way: Start Learning HTML & CSS Today. Retrieved January 18,2021, from https://html.com/
    [20] Cowlishaw, M. (2020). ECMA-262, 2nd Edition: ECMAScript Language Specification.
    [21] (1995). Press Release Announcing JavaScript, Netscape, and Sun Announce Javascript, PR Newswire.
    [22] Chaffer, J., & Swedberg, K. (2013). Learning jQuery.
    [23] team, B. (n.d.). Bootstrap. Retrieved Janurary 19, 2021, from
    https://getbootstrap.com/
    [24] babylonjs.com. (n.d.). Babylon.js Documentation. Retrieved January 19, 2021, from https://doc.babylonjs.com/
    [25] codemirror.net. (n.d.). User manual and reference guide. Retrieved January 19, 2021, from https://codemirror.net/doc/manual.html
    [26] Fogleman, M. (2020). delatin. Retrieved January 20, 2021, from
    https://github.com/mapbox/delatin
    [27] Garland, M., & Heckbert, P. S. (1995). Fast polygonal approximation of terrains and height fields. Fast Polygonal Approximation of Terrains and Height Fields.
    [28] Wandschneider, M. (2017). Learning node.js: a hands-on guide to building web applications in JavaScript, 2nd Edition. Pearson Schweiz Ag, 58(2), 277-307.
    [29] Gor, C. (2020). Express vs Koa: Which Node.js Framework Is Best For You?
    Retrieved February, 17, 2021, from https://www.esparkinfo.com/express-vs-
    koa.html
    [30] (2018). NVIDIA System Management Interface (NVIDIA-smi).
    [31] F5, I. (n.d.). NGINX. January 19, 2021, from https://www.nginx.com/
    [32] Automatically Enable HTTPS on Your Website with EFF's Certbot, Deploying
    Let's Encrypt Certificates.
    [33] DB-Engines Ranking. (February, 2021). Retrieved February, 17, 2021,
    from https://db-engines.com/en/ranking
    [34] babylonjs.com. (n.d.). An Introduction To The Solid Particle System. January
    20, 2021, from
    https://doc.babylonjs.com/divingDeeper/particles/solid_particle_system/sps_in
    tro
    [35] W3.CSS. (n.d.). Colors HSL. Retrieved January 20, 2021, from
    https://www.w3schools.com/colors/colors_hsl.asp
    [36] Velasque, D. (2020). Rendering 100k spheres, instantiating and draw calls. Retrieved January 23, 2021, from https://velasquezdaniel.com/blog/rendering- 100k-spheres-instantianing-and-draw-calls/

    QR CODE