原创 Palabos案例解析(二)tutorial_1_5.cpp案例————回答Just1ceOne同學的疑問

Palabos2.0原始基礎案例tutorial_1_5.cpp 文件位置:\palabos-v2.0r0\examples\tutorial\tutorial_1/tutorial_1_5.cpp 注:Just1ceOne同學的

原创 虎語

2020-04-07 給LBM初學者小朋友的話 小紅書,你可以看着把案例寫完,我有C++版的代碼,你如果願意看也可以看,在我github上,花一週時間把紅書裏LB相關代碼跑通,不要管對不對,跑通,和作者一致即可,然後立即開pala

原创 LBM學習討論羣推薦

在這裏列舉一些我收集的LBM學習相關的羣以及羣號 我進的第一個羣 Applied Kinetic Method 羣號:34383993 徐輝大佬的羣,徐輝就是那個Palabos開源包的合作者之一,新浪博客也有大佬的博客。 徐輝老

原创 《Lattice Boltzmann Method Fundamentals and Engineering Applications with Computer Codes》C++代碼分享

《Lattice Boltzmann Method Fundamentals and Engineering Applications with Computer Codes》C++代碼分享 說明 Github代碼地址 注意:此爲

原创 火柴棍能組成的最大數字

火柴棍能組成的最大數字 2020春招百度筆試題 題目: 輸入火柴棍根數n,能選取的數字個數m,以及能選取的數字列表 輸入案例(原題案例我忘了,瞎寫的) 20 4 5 6 7 8 輸出能組成的最大整數值 題解:使用動態規劃,代碼

原创 Palabos用戶手冊翻譯及學習(三)設置中的問題與定義邊界條件

設置中的問題與定義邊界條件 Palabos用戶文檔 的第八章和第九章 (一)Setting Up A Problem 原始文檔 Attributing dynamics objects When constructing a n

原创 linux自用代碼記事本

#中斷命令名爲analyze的任務 ps -e |grep "analyze" |awk '{print $1}' kill $(ps -e |grep "analyze" |awk '{print $1}') #批量生成文件夾

原创 Palabos源碼解析(二)plbDebug.h文件

plbDebug.h 文件 #include <cassert> #ifdef PLB_DEBUG #define PLB_ASSERT( COND ) assert( COND ); #defi

原创 Palabos源碼解析(一)globalDefs.h文件

globalDefs.h文件 plint /// Integer type for Palabos /* On some architectures, this type is larger than int. * Using

原创 Linux上編譯計算Palabos案例指南

Linux上編譯計算Palabos Palabos用戶文檔 原始文檔 The most recent version of Palabos can be downloaded at the address www.palabos

原创 LBM學習及流體計算開源包問題解答

Q1:默罕默德小紅書裏的代碼問題 答:請移步我的github,看完我寫的代碼,再問其他問題。 Q2:我看到lbm有很多軟件,xflow,powerflow,openlb,palabos,openfoam現在不是很清楚他們之間是什麼

原创 Windows上編譯計算Palabos案例指南

Windows上編譯計算Palabos Palabos用戶文檔 原始文檔 The C++ Integrated Development Environment (IDE) Code::Blocks is free, and yo

原创 Palabos源碼解析(三)geometry3D.h文件

geometry3D.h文件 Box3D struct Box3D { Box3D() : x0(), x1(), y0(), y1(), z0(), z1() { } Box3D(plint x0_, plint