#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
共147个文件
dat:40个
cas:35个
msh:18个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 1 下载量 38 浏览量
2022-06-25
13:20:23
上传
评论 1
收藏 374.04MB RAR 举报
温馨提示
FLUENT工程技术与实例分析-配套文件.rar
资源推荐
资源详情
资源评论
收起资源包目录
FLUENT工程技术与实例分析-配套文件.rar (147个子文件)
susss.c 12KB
evap.c 1KB
guolu.cas 21.28MB
huanreqi-12-2.5.cas 9.38MB
huanreqi-12-1.5.cas 9.38MB
huanreqi-12-3.cas 9.38MB
huanreqi-12-2.cas 9.38MB
huanreqi-12.cas 9.38MB
huanreqi-6-2.5.cas 9.34MB
huanreqi-6-1.5.cas 9.34MB
huanreqi-6-3.cas 9.34MB
huanreqi-6.cas 9.34MB
huanreqi-6-2.cas 9.34MB
ranshaoqi.cas 8.9MB
hunheqi-2.5.cas 7.64MB
hunheqi-1.5.cas 7.64MB
hunheqi.cas 7.64MB
hunheqi-2.cas 7.64MB
hunheqi-3.cas 7.64MB
yuanguan.cas 3.47MB
coolingnone.cas 3.28MB
Evap-5.5m-r134a-10kw-288kg-0.57mpa.cas 2.5MB
wantongdao.cas 1.86MB
NACA4412.cas 1.28MB
jiaobanqi.cas 638KB
fengji.cas 560KB
duiliu.cas 511KB
1-0013.cas 473KB
1-0006.cas 473KB
1-0003.cas 473KB
1-0002.cas 473KB
1-0001.cas 473KB
1.cas 473KB
beng.cas 353KB
taijie.cas 267KB
yuanzhu.cas 182KB
fangqiang.cas 91KB
guolu.dat 48.1MB
huanreqi-12-2.dat 19.65MB
huanreqi-12-3.dat 19.65MB
huanreqi-12-1.5.dat 19.65MB
huanreqi-12-2.5.dat 19.65MB
huanreqi-12.dat 19.65MB
huanreqi-6-3.dat 19.4MB
huanreqi-6-2.5.dat 19.4MB
huanreqi-6-2.dat 19.4MB
huanreqi-6-1.5.dat 19.4MB
huanreqi-6.dat 19.4MB
hunheqi.dat 13.51MB
hunheqi-1.5.dat 13.51MB
hunheqi-2.dat 13.51MB
hunheqi-2.5.dat 13.51MB
hunheqi-3.dat 13.51MB
ranshaoqi.dat 12.12MB
coolingnone.dat 11.31MB
Evap-5.5m-r134a-10kw-288kg-0.57mpa.dat 11.15MB
yuanguan.dat 2.62MB
wantongdao.dat 1.57MB
1-0013.dat 1.44MB
1-0006.dat 1.44MB
1-0003.dat 1.43MB
1.dat 1.43MB
1-0002.dat 1.43MB
1-0001.dat 1.42MB
NACA4412.dat 986KB
fengji.dat 646KB
jiaobanqi.dat 601KB
duiliu.dat 593KB
beng.dat 526KB
taijie-1_tec.dat 326KB
taijie-2_tec.dat 263KB
yuanzhu.dat 254KB
taijie.dat_tec.dat 218KB
taijie.dat 216KB
fangqiang.dat 28KB
4412.dat 456B
4412-1.dat 346B
default_id492.dbs 24MB
huanreqi-6.dbs 15MB
huanreqi-12.dbs 14MB
default_id4776.dbs 12MB
1.dbs 11MB
default_id4220.dbs 9MB
suss1.dbs 8MB
default_id2676.dbs 5MB
default_id164.dbs 3MB
default_id6664.dbs 1024KB
default_id3336.dbs 1024KB
default_id7680.dbs 1024KB
default_id3172.dbs 1024KB
default_id856.dbs 1024KB
default_id3180.dbs 1024KB
udfconfig.h 4KB
udfconfig.h 4KB
default_id492.jou 9KB
huanreqi-6.jou 4KB
1.jou 4KB
default_id3172.jou 4KB
default_id4776.jou 4KB
huanreqi-12.jou 4KB
共 147 条
- 1
- 2
资源评论
- weixin_456049872022-09-18资源很赞,希望多一些这类资源。
qq_38220914
- 粉丝: 605
- 资源: 4312
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功