Fluent瞬态热分析
浏览:110971 回答:1
我要做的是一个冷库,
用初始问题310.35K,下降至273.15K的过程这个就是冷库的一个2D图,上面凹槽的地方,右边是inlet,左边是outlet,其他地方都是wall
在fluent中的边界条件应该改如何设置?
这是我自己写的udf文件
#include "udf.h"
//#include <math.h>
DEFINE_PROFILE(unsteady_temperature, thread, position)
{
real t,temperature,x;
face_t f;
begin_f_loop(f, thread)
{
t = RP_Get_Real("flow-time");
temperature=2*t*(0.00001*t-0.0201*t)+292.2;
F_PROFILE(f,thread,position)=temperature;
}
end_f_loop(f, thread);
}

在fluent中的边界条件应该改如何设置?
这是我自己写的udf文件
#include "udf.h"
//#include <math.h>
DEFINE_PROFILE(unsteady_temperature, thread, position)
{
real t,temperature,x;
face_t f;
begin_f_loop(f, thread)
{
t = RP_Get_Real("flow-time");
temperature=2*t*(0.00001*t-0.0201*t)+292.2;
F_PROFILE(f,thread,position)=temperature;
}
end_f_loop(f, thread);
}
A7JCCP8EO.jpg)
不太清楚你的问题是什么