Pointwise非结构网格绘制(自用)

1.导入翼型

 Profili导出的翼型后缀改为csv,双击,在EXCEL中新添加第三列为全零,删掉第一行的翼型名称改为行数,方便进行识别。

 后缀再改为dat,得到翼型的dat文件。

 打开软件Pointwise,点击Import添加Database,翼型被成功添加,如需选择类型-选Segment。

2.补全翼型

 2 Point Curves将线条变成Connectors/点击Connectors on Database Entities,图标Dimensions处添加线条上面的点数,con-1为200,con-2为5

3.添加边界

 Draw Curves-Circle,画大十倍的圆,输入直径两点坐标,如(-100,0,0)和(100,0,0);

 点击 2 Points & Angle-180°-Apply;

 另一个半圆同样;

 con-3/con-4为20。

4.分切曲线

 Edit-Split,点击初始点和终点,将曲线分成两部分。(为了保证能顺时针选择曲线)

5.绘制网格

 选择非结构化网格,Create-Assemble Special-Domain,选择外边界逆时针,“Next Edge”保存,选择内边界顺时针,OK。

6.调整网格

 点击生成的网格,Grid-Solve;

 设置Boundary Conditions,New—Type改"Wall",△s改"10e-5"(可在CFD Online网站查找),按ctrl选择翼型上下面,将Wall方框打勾;

 设置T-Rex,最大层数一般30,最小层数5-20,层间增长率1.2/1.3,Cell Types选Triangles and Quads;

 设置Attributes,根据需要可改Boundary Decay;

 点击Solve-Initialize,网格绘制成功。

/*****************************************************************************/ /* */ /* 888888888 ,o, / 888 */ /* 888 88o88o " o8888o 88o8888o o88888o 888 o88888o */ /* 888 888 888 88b 888 888 888 888 888 d888 88b */ /* 888 888 888 o88^o888 888 888 "88888" 888 8888oo888 */ /* 888 888 888 C888 888 888 888 / 888 q888 */ /* 888 888 888 "88o^888 888 888 Cb 888 "88oooo" */ /* "8oo8D */ /* */ /* A Two-Dimensional Quality Mesh Generator and Delaunay Triangulator. */ /* (triangle.c) */ /* */ /* Version 1.6 */ /* July 28, 2005 */ /* */ /* Copyright 1993, 1995, 1997, 1998, 2002, 2005 */ /* Jonathan Richard Shewchuk */ /* 2360 Woolsey #H */ /* Berkeley, California 94705-1927 */ /* jrs@cs.berkeley.edu */ /* */ /* This program may be freely redistributed under the condition that the */ /* copyright notices (including this entire header and the copyright */ /* notice printed when the `-h' switch is selected) are not removed, and */ /* no compensation is received. Private, research, and institutional */ /* use is free. You may distribute modified versions of this code UNDER */ /* THE CONDITION THAT THIS CODE AND ANY MODIFICATIONS MADE TO IT IN THE */ /* SAME FILE REMAIN UNDER COPYRIGHT OF THE ORIGINAL AUTHOR, BOTH SOURCE */ /* AND OBJECT CODE ARE MADE FREELY AVAILABLE WITHOUT CHARGE, AND CLEAR */ /* NOTICE IS GIVEN OF THE MODIFICATIONS. Distribution of this code as */ /* part of a commercial system is permissible ONLY BY DIRECT ARRANGEMENT */ /* WITH THE AUTHOR. (If you are not directly supplying this code to a */ /* customer, and you are instead telling them how they can obtain it for */ /* free, then you are not required to make any arrangement with me.)
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值