|
|
发表于 2010-1-7 15:40:23
|
显示全部楼层
#include "udf.h"
#include "sg.h"
enum
{
P1,
N_REQUIRED_UDS
};
DEFINE_HEAT_FLUX(heat_flux, f, t, c0, t0, cid, cir)
{
real Ew = epsilon_w/(2.*(2. - epsilon_w));
cir[0] = Ew * F_UDSI(f,t,P1);
cir[3] = 4.0 * Ew * SIGMA_SBC;
} |
|