STAR CCM 案例|重叠网格计算翼型跨声速流动
本教程演示如何使用重叠网格模拟RAE2822翼型上的跨音速流动。
1 问题描述
通过对机翼周围区域使用重叠网格,本教程演示如何在不生成网格的情况下更改攻角。这种方法大大简化了参数研究的案例设置。
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175561884_7czm70.jpg?imageView2/0)
2 STAR CCM 设置
- 利用菜单File > Load Simulation导入文件airfoil_oversetParts.sim
2.1 区域处理
- 选择模型树节点Part下的子节点Background与Overset,点击右键菜单项Assign Parts to Regions…分配区域
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175569515_dqz0ff.jpg?imageView2/0)
- 弹出对话框中选择选项Create a Region for Each Part、Create a Boundary for Each Part Surface,如下图所示
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175573252_40x9f0.jpg?imageView2/0)
- 选中模型树节点Regions > Background > Boundaries > Outside,设置其边界类型为Free Stream
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175567760_ifq3ct.jpg?imageView2/0)
- 设置边界Symmetry的类型为Symmetry Plane
- 设置
Overset Boundary
的边界类型为Overset Mesh - 设置
Symmetry
的边界类型为Symmetry Plane
修改完毕后的边界节点如下图所示。
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175570420_lc5yyu.jpg?imageView2/0)
2.2 网格生成
1、背景网格
- 鼠标右键选择模型树节点Operations,点击弹出菜单项New → Mesh → Automated Mesh打开网格生成面板
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175560608_0rrdfb.jpg?imageView2/0)
- 选中部件Background,选择选项Surface Remesher、Trimmed Cell Mesher及Prism Layer Mesher,如下图所示
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175564734_nsmo56.jpg?imageView2/0)
- 修改节点Operations > Automated Mesh名称为Background Mesh
- 进入模型树节点Operations > Background Mesh > Default Controls,如下表所示设置相应参数
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175565197_jb6akd.jpg?imageView2/0)
- 鼠标右键选择模型树节点Operations > Background Mesh > Custom Controls,点击弹出菜单New → Volumetric Control新建体控制
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175559389_7ri8ya.jpg?imageView2/0)
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175559811_bj7455.jpg?imageView2/0)
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175572482_da2uz7.jpg?imageView2/0)
2、前景网格
- 拷贝并粘贴节点Background Mesh,修改节点名称为Overset Mesh
- 如下图所示,指定
Input Parts
为Overset
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175558160_mu6yre.jpg?imageView2/0)
- 选中模型树节点Overset Mesh > Meshers > Prism Layer Mesher,设置
Disribution Mode
为Wall Thickness
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175572854_h8ceil.jpg?imageView2/0)
- 进入模型树节点Operations > Overset Mesh > Default Controls,按下表所示参数设置相应节点
Node | Property | Setting |
---|
Base Size | Value | 0.5 m |
Number of Prism Layers | Number of Prism Layers | 15 |
Prism Layer Total Thickness | Percentage of Base | 15 |
Prism Layer Near Wall Thickness | Value | 1.0E-4 m |
- 添加4个Volumetric Control,采用下表所示的部件与尺寸
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175570887_t4l0rp.jpg?imageView2/0)
- 右键选择模型树节点Operatons,点击弹出菜单项Execute All生成计算网格
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175568548_i1446x.jpg?imageView2/0)
计算网格如下图所示。
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175575686_bght7j.jpg?imageView2/0)
- 点击菜单项Mesh > Convert to 2D将三维网格转换为二维。注意在弹出对话框中激活选项Delete 3D Regions After Conversion
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175574485_1nfmjk.jpg?imageView2/0)
2.3 指定攻角
- 右键选择节点Regions > Overset 2D,点击弹出菜单项 Transform > Rotate打开区域旋转对话框
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175562790_u68kfl.jpg?imageView2/0)
- 如下图所示,指定旋转角度为**-2.54 deg**,点击按钮Apply旋转区域
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175572111_w2crw2.jpg?imageView2/0)
2.4 耦合重叠区域
- 选中节点Background 2D及Overset 2D,点击弹出菜单项Create Interface → Overset Mesh创建重叠网格区域
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175566836_30fqjb.jpg?imageView2/0)
- 选中节点Intefaces > Overset Mesh 1 > Physics Conditions > Interpolation Option,设置
Option
为Distance weighted
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175568174_57ju83.jpg?imageView2/0)
- 右键选择模型树节点Interfaces,点击弹出菜单项Initialize进行初始化
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175566458_4izqno.jpg?imageView2/0)
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175562330_fhomam.jpg?imageView2/0)
2.5 选择物理模型
- 鼠标右键选择模型树节点Physics 1,点击弹出菜单项Delete删除该节点
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175557355_xr99yl.jpg?imageView2/0)
- 修改节点Continua > Physics 1 2D的名称为Airfoil
- 鼠标右键选择节点Airfoil,点击弹出菜单项**Select Models…**打开模型选择对话框
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175558995_mywxj3.jpg?imageView2/0)
- Spalart-Allmaras Turbulence
选择完毕的模型对话框如下图所示。
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175557731_0d4umv.jpg?imageView2/0)
2.6 设置初始化条件
- 双击模型树节点Fluid > Boundaries > freestream > Physics Values,如下图所示设置边界条件
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175569951_04sa0p.jpg?imageView2/0)
2.7 设置材料参数
- 双击模型树节点Models > Gas > Air > Material Properties,如下图所示设置材料参数
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175567257_tooso1.jpg?imageView2/0)
2.8 设置边界条件
- 鼠标双击模型树节点Regions > Background 2D > Boundaries > Outside > Physics Values,如下图所示设置边界条件
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175575269_qbw23w.jpg?imageView2/0)
2.9 物理量监测
- 右键选择模型树节点Report,点击菜单项New Report > Flow / Energy > Force Coefficient创建 Drag Coefficient
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175568926_0xk61l.jpg?imageView2/0)
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175574060_z66jm9.jpg?imageView2/0)
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175571670_1dd24x.jpg?imageView2/0)
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175558608_m4zk4l.jpg?imageView2/0)
2.10 进行计算
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175564377_zbppn0.jpg?imageView2/0)
3 计算结果
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175561058_yngfzt.jpg?imageView2/0)
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175574885_js370i.jpg?imageView2/0)
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175561454_u4ctjv.jpg?imageView2/0)
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175563197_h4leeh.jpg?imageView2/0)
4 修改攻角计算
- 右键选择模型树节点Overset 2D,点击弹出菜单项Transform → Rotate… 打开区域旋转对话框
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175560204_0dwpir.jpg?imageView2/0)
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175563968_nyhwds.jpg?imageView2/0)
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175563578_aqxchy.jpg?imageView2/0)
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175565592_p4p8mh.jpg?imageView2/0)
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175571298_m8r836.jpg?imageView2/0)
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175573640_9gsdi0.jpg?imageView2/0)
![图片](https://public.fangzhenxiu.com/fixComment/commentContent/imgs/1638175566005_fi6p2k.jpg?imageView2/0)
来源:CFD之道
![CFD之道](https://public.fangzhenxiu.com/user/2023-2/1677045685104微信图片20230222134915.png?imageView2/0/w/90/h/90)
博士
|
教师
探讨CFD职场生活,闲谈CFD里外
获赞 2532粉丝 10961文章 705课程 27