找回密码
 注册
Simdroid-非首页
查看: 1248|回复: 23

[CFX/ICEMCFD] cfx中如何在Inlet中使用时间相关的表格数据?

[复制链接]
发表于 2006-9-4 19:40:12 | 显示全部楼层 |阅读模式 来自 西安交通大学
cfx中如何在Inlet中使用时间相关的表格数据呢?
如:
t          u(t)       v(t)      w(t)
1         15         1         0
1.5       15.5      0.8      0
2         16         2         0
2.1      11         1         0

谢谢!!
发表于 2006-9-5 19:45:17 | 显示全部楼层 来自 黑龙江哈尔滨
Simdroid开发平台
you can try BC
 楼主| 发表于 2006-9-5 21:51:19 | 显示全部楼层 来自 西安交通大学
弱弱地问:BC是什么啊?
 楼主| 发表于 2006-9-5 22:05:17 | 显示全部楼层 来自 西安交通大学
查了一下,好像BC  Profile Data只能使用X,Y,Z作为变量,不能使用t(时间)啊?
是这样么?
那如何输入时间相关的表格数据呢?困惑...
发表于 2006-9-5 23:00:30 | 显示全部楼层 来自 新加坡
用excel先fit curve,得到cel expression,然后放到边界条件里
 楼主| 发表于 2006-9-6 09:45:57 | 显示全部楼层 来自 西安交通大学
呵呵,拟合确实是个好办法
谢谢版主!
发表于 2006-9-6 19:16:57 | 显示全部楼层 来自 台湾
本帖最后由 Kiddosuper 于 2011-10-31 10:47 编辑

Some time it's still necessary to apply time-varying data onto boundary directly.

I just create a UserFortran program to apply the time-varying data onto boundary.
Maybe my process is a little hard to understand, but it's a good exercise .

Steps:
1. create a  time  table  with T, U,V,W , which name is bcdata.txt
example contents of bcdata.txt as follows, (I just control the W term for ease of simulation, sure you can control all the terms)

11
0.0     0.0     0.0     -1.20
0.2     0.0     0.0     -4.10
0.5     0.0     0.0     -2.82
0.6     0.0     0.0     -3.60
0.8     0.0     0.0     -5.60
1.0     0.0     0.0     -8.60
2.0     0.0     0.0     -8.6
3.2     0.0     0.0     -7.2
8.0     0.0     0.0     -4.2
9.0     0.0     0.0     -3.2
10.     0.0     0.0     -5.5

Notes:
1.  11  is the   total  data lines number
data shown is  time [ s ], U [m/s],V [m/s],W [m/s] respectively
2. U,V,W will be interpolated if  cfx run time (t)  is not the same as the time in table.


2.  compile bct.F program
3.  set up subroutine and function in cfx-pre

(Hello, superdreamer I've sent you a short message about how to send you all-in-one file, please check it)

**IMPORTANT NOTES*****
if you can download bct.F, and all-in-one file (include definition and setting), remember to do:
1. Edit bct.F to modify the bcdata.txt path , then recompile it
2. start cfx-pre, to modify the subroutine path of bct.F

Otherwise you cannot run it. This run-case is run properly and checked OK in Linux system , and bct.F is compiled by g77. If you face problem about bct.F , you can announce here.! cfx10 and cfx571 version definition are supplied belows.

(the time interval is 0.2 seconds for this run case)

[ 本帖最后由 Kiddosuper 于 2008-12-15 18:24 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×

评分

1

查看全部评分

 楼主| 发表于 2006-9-7 19:08:55 | 显示全部楼层 来自 西安交通大学
呵呵,藏龙卧虎啊
我要深刻地学习
发表于 2007-6-19 12:32:56 | 显示全部楼层 来自 广东深圳
请教如何定义一个分段函数的expression?
如果不用FORTRAN的话。
回复 不支持

使用道具 举报

发表于 2007-6-19 12:54:54 | 显示全部楼层 来自 台湾
本帖最后由 Kiddosuper 于 2011-8-30 14:57 编辑

pls take a look
http://forum.simwe.com/thread-745837-1-1.html
回复 不支持

使用道具 举报

发表于 2008-12-15 16:11:19 | 显示全部楼层 来自 辽宁沈阳
感觉很难,先下来看看,学习学习,谢了
回复 不支持

使用道具 举报

发表于 2009-3-24 14:33:14 | 显示全部楼层 来自 甘肃兰州
高手啊!除了佩服就是佩服!
回复 不支持

使用道具 举报

发表于 2010-10-15 10:57:05 | 显示全部楼层 来自 陕西西安
最近开始使用CFX计算飞行器流场,需要使用时间相关速度入口边界条件,可惜权限不够,无法学习。
回复 不支持

使用道具 举报

发表于 2010-10-17 17:45:09 | 显示全部楼层 来自 浙江杭州
这个实在是太难懂了,待学习。
回复 不支持

使用道具 举报

发表于 2011-1-15 12:40:14 | 显示全部楼层 来自 湖北武汉
大家不要放弃,自己先研究研究 总会搞明地
回复 不支持

使用道具 举报

发表于 2011-1-15 12:42:48 | 显示全部楼层 来自 湖北武汉
大家不要放弃,自己先研究研究 总会搞明地
回复 不支持

使用道具 举报

发表于 2011-4-3 10:02:43 | 显示全部楼层 来自 湖北武汉
学习了,我也想弄个时间参数的输入函数啊,不会..
回复 不支持

使用道具 举报

发表于 2011-4-26 06:42:08 | 显示全部楼层 来自 江苏泰州
感觉很难,先下来看看,学习学习,谢了
回复 不支持

使用道具 举报

发表于 2011-7-23 00:18:57 | 显示全部楼层 来自 江苏南京
写的不错,就是附件设权限,无法进一步学习,谢谢
回复 不支持

使用道具 举报

发表于 2011-8-30 14:35:00 | 显示全部楼层 来自 北京
论坛改版了很漂亮啊,只是附件解压出来是乱码啊
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-4-20 09:29 , Processed in 0.074830 second(s), 17 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表