#include "udf.h"
DEFINE_PROFILE(topcell_temp, thread, index)
{
face_t f;
int curr_ts;
curr_ts= RP_Get_Integer("time-step");
begin_f_loop(f, thread)
{
if (curr_ts>= 0 && curr_ts<= 4 )
{
F_PROFILE(f, thread, index) = 305.7;
}
else if (curr_ts>= 5 && curr_ts<= 8 )
{
F_PROFILE(f, thread, index) = 301;
}
else if (curr_ts>= 9 && curr_ts<=12 )
{
F_PROFILE(f, thread, index) = 306;
}
else if (curr_ts>=13 && curr_ts<=16)
{
F_PROFILE(f, thread, index) = 305;
}
else if (curr_ts>=17 && curr_ts<=22)
{
F_PROFILE(f, thread, index) = 311;
}
else if (curr_ts>=23 && curr_ts<=26)
{
F_PROFILE(f, thread, index) =306;
}
else if (curr_ts>=27 && curr_ts<=32)
{
F_PROFILE(f, thread, index) = 320;
}
}
end_f_loop(f, thread)
}
DEFINE_PROFILE(sidewin_temp, thread, index)
{
face_t f;
int curr_ts;
curr_ts= RP_Get_Integer("time-step");
begin_f_loop(f, thread)
{
if (curr_ts>= 0 && curr_ts<= 4 )
{
F_PROFILE(f, thread, index) = 320.18;
}
else if (curr_ts>= 5 && curr_ts<= 8 )
{
F_PROFILE(f, thread, index) = 306;
}
else if (curr_ts>= 9 && curr_ts<=12 )
{
F_PROFILE(f, thread, index) = 320.75;
}
else if (curr_ts>=13 && curr_ts<=16)
{
F_PROFILE(f, thread, index) = 310.4;
}
else if (curr_ts>=17 && curr_ts<=22)
{
F_PROFILE(f, thread, index) = 337;
}
else if (curr_ts>=23 && curr_ts<=26)
{
F_PROFILE(f, thread, index) =302;
}
else if (curr_ts>=27 && curr_ts<=32)
{
F_PROFILE(f, thread, index) = 344;
}
}
end_f_loop(f, thread)
}
DEFINE_PROFILE(backwin_temp, thread, index)
{
face_t f;
int curr_ts;
curr_ts= RP_Get_Integer("time-step");
begin_f_loop(f, thread)
{
if (curr_ts>= 0 && curr_ts<= 4 )
{
F_PROFILE(f, thread, index) =323.7;
}
else if (curr_ts>= 5 && curr_ts<= 8 )
{
F_PROFILE(f, thread, index) = 309;
}
else if (curr_ts>= 9 && curr_ts<=12 )
{
F_PROFILE(f, thread, index) = 324.28;
}
else if (curr_ts>=13 && curr_ts<=16)
{
F_PROFILE(f, thread, index) = 312.57;
}
else if (curr_ts>=17 && curr_ts<=22)
{
F_PROFILE(f, thread, index) = 343;
}
else if (curr_ts>=23 && curr_ts<=26)
{
F_PROFILE(f, thread, index) =303;
}
else if (curr_ts>=27 && curr_ts<=32)
{
F_PROFILE(f, thread, index) = 349;
}
}
end_f_loop(f, thread)
}
DEFINE_PROFILE(frontwin_temp, thread, index)
{
face_t f;
int curr_ts;
curr_ts= RP_Get_Integer("time-step");
begin_f_loop(f, thread)
{
if (curr_ts>= 0 && curr_ts<= 4 )
{
F_PROFILE(f, thread, index) =366.38;
}
else if (curr_ts>= 5 && curr_ts<= 8 )
{
F_PROFILE(f, thread, index) = 355;
}
else if (curr_ts>= 9 && curr_ts<=12 )
{
F_PROFILE(f, thread, index) = 366.76;
}
else if (curr_ts>=13 && curr_ts<=16)
{
F_PROFILE(f, thread, index) = 357.5;
}
else if (curr_ts>=17 && curr_ts<=22)
{
F_PROFILE(f, thread, index) = 381;
}
else if (curr_ts>=23 && curr_ts<=26)
{
F_PROFILE(f, thread, index) =349;
}
else if (curr_ts>=27 && curr_ts<=32)
{
F_PROFILE(f, thread, index) = 386;
}
}
end_f_loop(f, thread)
}
DEFINE_PROFILE(midleftlet_temp, thread, index)
{
face_t f;
int t;
begin_f_loop(f, thread)
{
t= RP_Get_Integer("time-step");
if (t >= 0 && t<=8)
{
F_PROFILE(f, thread, index) =273+21.5-0.7 * (t*5 - 0) + 0.0216 * (t*5-0) *(t*5- 9)-0.000486* (t*5 - 0) *(t*5- 9)*(t*5- 19);
}
if (t >= 9 && t<=16)
{
F_PROFILE(f, thread, index) =273+ 13.8+ 0.18*((t-8)*5 - 0)-0.012 * ((t-8)*5 - 0) *((t-8)*5- 10)
+0.000364 * ((t-8)*5 - 0) *((t-8)*5- 10)*((t-8)*5- 22);
}
if (t >= 17 && t<=22)
{
F_PROFILE(f, thread, index) = 273+ 15.7+0.325 * ((t-16)*5-0)-0.000357* ((t-16)*5 - 0) *((t-16)*5- 4)+ 0.000355* ((t-16)*5 - 0) *((t-16)*5- 4)*((t-16)*5- 14);
}
if (t >= 23 && t<=26)
{
F_PROFILE(f, thread, index) =273+ 23.6-1.47 * ((t-22)*5 - 0) +0.106*((t-22)*5- 0) *((t-22)*5- 3)-0.00449 * ((t-22)*5 - 0) *((t-22)*5- 3)*((t-22)*5- 9);
}
if (t >= 27 && t<=32)
{
F_PROFILE(f, thread, index) =273+ 20.8+ 1.075 * ((t-26)*5 - 0) -0.068 * ((t-26)*5 - 0) *((t-26)*5- 4)+ 0.00203 * ((t-26)*5 - 0) *((t-26)*5- 4)*((t-26)*5- 12);
}
}
end_f_loop(f, thread)
}
DEFINE_PROFILE(frmidleftlet_temp, thread, index)
{
face_t f;
int t;
begin_f_loop(f, thread)
{
t= RP_Get_Integer("time-step");
if (t >= 0 && t<=8)
{
F_PROFILE(f, thread, index) =273+21.3-0.73 * (t*5-0)+0.022* (t*5-0)*(t*5-9)-0.00045 * (t*5-0) *(t*5-9)*(t*5-19);
}
if (t >= 9 && t<=16)
{
F_PROFILE(f, thread, index) = 273+16.9+0.16 * ((t-8)*5 - 0)-0.00917*((t-8)*5-0)*((t-8)*5-10)+ 0.000245 * ((t-8)*5 - 0) *((t-8)*5- 10)*((t-8)*5- 22);
}
if (t >= 17 && t<=22)
{
F_PROFILE(f, thread, index) = 273+15.5+0.225 * ((t-16)*5 - 0)+0.00321*((t-16)*5-0) *((t-16)*5- 4)-0.0000489 * ((t-16)*5 - 0) *((t-16)*5- 4)*((t-16)*5- 14);
}
if (t >= 23 && t<=26)
{
F_PROFILE(f, thread, index) =273+ 23-0.57 * ((t-22)*5 - 0) + 0.0204 * ((t-22)*5 - 0) *((t-22)*5- 3)-0.0000823 * ((t-22)*5 - 0) *((t-22)*5- 3)*((t-22)*5- 9);
}
if (t >= 27 && t<=32)
{
F_PROFILE(f, thread, index) =273+ 21.6+ 0.725 * ((t-26)*5 - 0)-0.0395 * ((t-26)*5 - 0)
*((t-26)*5- 4)+ 0.00121 * ((t-26)*5 - 0) *((t-26)*5- 4)*((t-26)*5- 12);
}
}
end_f_loop(f, thread)
}
DEFINE_PROFILE(frrightlet_temp, thread, index)
{
face_t f;
int t;
begin_f_loop(f, thread)
{
t= RP_Get_Integer("time-step");
if (t >= 0 && t<=8)
{
F_PROFILE(f, thread, index) =273+25.7-0.87 * (t*5 - 0)+0.0277 * (t*5 - 0) *(t*5- 9)-0.000614 * (t*5 - 0) *(t*5- 9)*(t*5- 19);
}
if (t >= 9 && t<=16)
{
F_PROFILE(f, thread, index) =273+17.7+0.24 * ((t-8)*5 - 0) -0.0124*((t-8)*5-0) *((t-8)*5-10)+ 0.000329 * ((t-8)*5 - 0) *((t-8)*5- 10)*((t-8)*5- 22);
}
if (t >= 17 && t<=22)
{
F_PROFILE(f, thread, index) = 273+ 17.6+0.15 * ((t-16)*5-0)+0.00785 * ((t-16)*5-0) *((t-16)*5-4)-0.00021 * ((t-16)*5 - 0) *((t-16)*5- 4)*((t-16)*5- 14);
}
if (t >= 23 && t<=26)
{
F_PROFILE(f, thread, index) =273+ 24.9-0.6 * ((t-22)*5-0) + 0.0204* ((t-22)*5 - 0) *((t-22)*5- 3);
}
if (t >= 27 && t<=32)
{
F_PROFILE(f, thread, index) =273+ 22.8+0.8*((t-26)*5-0)-0.0458 * ((t-26)*5-0) *((t-26)*5-4)+ 0.00151* ((t-26)*5- 0) *((t-26)*5- 4)*((t-26)*5- 12);
}
}
end_f_loop(f, thread)
}
DEFINE_PROFILE(frleftlet_temp, thread, index)
{
face_t f;
int t;
begin_f_loop(f, thread)
{
t= RP_Get_Integer("time-step");
if (t >= 0 && t<=8)
{
F_PROFILE(f, thread, index) =273+23.2-0.7 * (t*5 - 0) + 0.021 * (t*5 - 0) *(t*5- 9)-0.000472* (t*5 - 0) *(t*5- 9)*(t*5- 19);
}
if (t >= 9 && t<=16)
{
F_PROFILE(f, thread, index) =273+18+ 0.2 * ((t-8)*5 - 0)-0.0106*((t-8)*5-0) *((t-8)*5-10)
+ 0.000269 * ((t-8)*5 - 0) *((t-8)*5- 10)*((t-8)*5- 22);
}
if (t >= 17 && t<=22)
{
F_PROFILE(f, thread, index) = 273+ 16.6+0.175*((t-16)*5-0)+0.00678* ((t-16)*5 - 0) *((t-16)*5- 4)
-0.000165 * ((t-16)*5 - 0) *((t-16)*5- 4)*((t-16)*5- 14);
}
if (t >= 23 && t<=26)
{
F_PROFILE(f, thread, index) =273+ 24.9-0.63 * ((t-22)*5 - 0) + 0.0241 * ((t-22)*5 - 0) *((t-22)*5- 3)-0.000205 * ((t-22)*5- 0) *((t-22)*5- 3)*((t-22)*5- 9);
}
if (t >= 27 && t<=32)
{
F_PROFILE(f, thread, index) =273+22.6+0.775*((t-26)*5-0)-0.040625*((t-26)*5-0) *((t-26)*5- 4)+ 0.00117 * ((t-26)*5- 0) *((t-26)*5- 4)*((t
没有合适的资源?快使用搜索试试~ 我知道了~
FLUENT工程技术与实例分析_实例素材文件.rar
共81个文件
dat:19个
cas:16个
jou:11个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 5 下载量 129 浏览量
2022-04-21
22:24:23
上传
评论
收藏 21.31MB RAR 举报
温馨提示
FLUENT工程技术与实例分析_实例素材文件
资源推荐
资源详情
资源评论
收起资源包目录
FLUENT工程技术与实例分析_实例素材文件.rar (81个子文件)
实例素材文件
第三篇 后处理与提高篇
vof
udfconfig.h 4KB
evap.c 1KB
1-0006.dat 1.44MB
VOF.msh 726KB
default_id6664.trn 3KB
1-0001.cas 473KB
1-0013.dat 1.44MB
Evap-5.5m-r134a-10kw-288kg-0.57mpa.cas 2.5MB
Evap-5.5m-r134a-10kw-288kg-0.57mpa.dat 11.15MB
1-0001.dat 1.42MB
1-0003.cas 473KB
1-0003.dat 1.43MB
1.dat 1.43MB
default_id6664.jou 2KB
1-0002.dat 1.43MB
1.cas 473KB
1-0013.cas 473KB
1-0002.cas 473KB
1-0006.cas 473KB
default_id6664.dbs 1024KB
UDF
udfconfig.h 4KB
coolingnone.cas 3.28MB
coolingnone.dat 11.31MB
susss.c 12KB
第一篇 fluent基础
方腔
fangqiang.msh 33KB
fangqiang.dat 28KB
default_id856.trn 2KB
default_id856.jou 1KB
default_id856.dbs 1024KB
fangqiang.cas 91KB
弯通道
default_id164.dbs 3MB
default_id164.jou 1KB
default_id164.trn 3KB
wantongdao.dat 1.57MB
wantongdao.msh 3.64MB
wantongdao.cas 1.86MB
后台阶流动
taijie.dat 216KB
taijie.dat_tec.dat 218KB
taijie-1_tec.dat 326KB
taijie.cas 267KB
taijie-2_tec.dat 263KB
default_id3172.trn 9KB
default_id3172.dbs 1024KB
taijie.msh 363KB
default_id3172.jou 4KB
圆管
yuanguan.dat 2.62MB
default_id2676.trn 1KB
default_id2676.jou 399B
yuanguan.cas 3.47MB
default_id2676.dbs 5MB
yuanguan.msh 6.96MB
圆柱绕流
yuanzhu.dat 254KB
yuanzhu.cas 182KB
yuanzhu.msh 200KB
方腔自然对流
duiliu.cas 511KB
duiliu.dat 593KB
default_id3180.dbs 1024KB
duiliu.msh 858KB
default_id3180.trn 6KB
default_id3180.jou 2KB
第二篇 工程应用篇
混合设备
default_id4220.trn 4KB
default_id4220.dbs 9MB
default_id4220.jou 2KB
搅拌设备
jiaobanqi.dat 601KB
default_id3336.jou 1KB
jiaobanqi.msh 1.05MB
jiaobanqi.cas 638KB
default_id3336.dbs 1024KB
default_id3336.trn 3KB
汽车工程
suss1.jou 562B
suss1.dbs 8MB
suss1.msh 6.96MB
suss1.trn 857B
泵
beng.msh 468KB
default_id7680.dbs 1024KB
beng.dat 526KB
beng.sat 13KB
beng.cas 353KB
bengnew.jou 2KB
default_id7680.jou 2KB
default_id7680.trn 5KB
共 81 条
- 1
资源评论
- yumiman18182022-09-18资源内容详细全面,与描述一致,对我很有用,有一定的使用价值。
- m0_749616532023-06-05总算找到了想要的资源,搞定遇到的大问题,赞赞赞!
- huhu104152022-06-21用户下载后在一定时间内未进行评价,系统默认好评。
- Enderstorm2024-04-04资源不错,很实用,内容全面,介绍详细,很好用,谢谢分享。
- 大鹏之梦2024-02-17这个资源总结的也太全面了吧,内容详实,对我帮助很大。
少年小鱼
- 粉丝: 28
- 资源: 532
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功