|
|

楼主 |
发表于 2009-3-28 09:05:03
|
显示全部楼层
回复 2# chengjc 的帖子
源文件是
#include"udf.h"
DEFINE_PROPERTY(cell_viscosity,cell,thread)
{
real mu_lam;
real t=PR_Get_Real("flow-time");
if(t<1)
mu_lam=0.00443;
else mu_lam=0.000569;
return mu_lam;
}
[ 本帖最后由 pz2636 于 2009-3-28 15:35 编辑 ] |
|