|
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
[br][br][以下内容由 cynthia0131 在 2007年01月24日 09:46am 时添加] [br]
[br][br][以下内容由 cynthia0131 在 2007年01月24日 09:51am 时添加] [br]
想做污染物在室内环境中的散发规律,编写了UDF程序如下,是污染物浓度随时间的变化:
#include "udf.h"
DEFINE_PROFILE(table, thread, position)
{
real x;
face_t f;
begin_f_loop(f,thread)
{
F_PROFILE(f, thread, position)=0.0105*exp(-0.0058*x);
}
end_f_loop(f, thread)
}
不知哪里设置有错,残差图中污染物一直增大,另不知在此类问题中,species_mass_fraction应该怎样设?
|
|