資源簡介
ansys fluent , 采用udf 定義流體的物性,如密度、粘度等
代碼片段和文件信息
/*定義物性參數*/
#include?“udf.h“?
DEFINE_PROPERTY(cell_viscosityhct)
{
real?mu_lam;
real?temp?=?C_T(ct);
mu_lam?=?(-3.295e-11?*temp*temp+?6.797e-08*temp+1.112e-06);
return?mu_lam;
}
DEFINE_PROPERTY(cell_conductivityct)
{
real?lh;
real?temp?=?C_T(ct);
lh?=??(-3.922e-05?*temp*temp+0.09781*temp+0.
評論
共有 條評論