一、模型制作

基于建筑矢量地图建立三维建筑模型的方法

(1)ArcGIS软件:ArcMap、ArcScence

(2)ArcMap获取矢量地图,含高度信息 .shp文件

(3)ArcScence拉伸高度,将文件输出为.wrf文件

(4)Solidwork软件

(5)获取将.wrf文件转换为.stl文件

(6)微软3D builder软件

(7)可缩放尺度、转变方位、移动中心坐标等

(7)Meshlab等软件可编辑stl文件

二、关于计算域

AIJ 推荐:Upstream 5H; Lateral >2.3W, W is width of built area; Downstream 15Hmax; Top 5H

block structure of the mesh for the cavity

在我们常用的左边系,z是垂直方向

入口 ( 0 4 7 3 )    出口 ( 2 6 5 1 )

顶面 ( 4 5 6 7 )    底面 ( 0 3 2 1 )    前侧面 ( 1 5 4 0 )    后侧面 ( 3 7 6 2 )

(一)边界条件的设置

关于网格化

湍流模型设置

(二)OpenFoam中RANS湍流模型的设置

https://www.openfoam.com/documentation/guides/latest/doc/guide-turbulence-ras-realizable-k-epsilon.html

https://www.openfoam.com/documentation/guides/latest/doc/guide-turbulence-ras-rng-k-epsilon.html

https://www.openfoam.com/documentation/guides/latest/api/classFoam_1_1RASModels_1_1RNGkEpsilon.html

https://www.openfoam.com/documentation/guides/latest/doc/guide-turbulence-ras-k-epsilon.html

(三)OpenFoam基本运行指令

// 计算域建立与网格化      blockMesh

// 识别三维模型      surfaceFeatureExtract

// 多层嵌套和表面网格化      snappyHexMesh –overwrite

// 运行求解器      simpleFoam或者pisoFoam或者pimpleFoam

// 使用多核数运行      decomposePar

// 进行分核      (using scotch in decomposeParDict)mpirun –np 16(核数)

// 开始运行      simpleFoam –parallel -overwrite

// 将分核的数据进行重组      reconstructParMesh -constant -mergeTol 1E-6

// 重组第500步数据      reconstructPar -time 500

avatar
SYSU-UAL
Mo-Ziwei-tutor-research-group
Follow Me