|
|
发表于 2009-2-13 19:23:29
|
显示全部楼层
试试这个
#include "udf.h"
DEFINE_PROFILE(unsteady_pressure, thread, position)
{
face_t f;
begin_f_loop(f, thread)
{
real t = RP_Get_Real("flow-time");
F_PROFILE(f, thread, position) = f(t)----------你的函数;
}
end_f_loop(f, thread)
} |
|