你是说想改变计算区域的流体的属性吗?首先你得在materials添加你需要的新材料(或者更改属性),然后在cell zone conditions →edit,在material name中选择刚刚改的材料就行了~~
在fluent中加载UDF后,依次点击material-create/edit materia-uesr-defined database-输入名称-OK-选择参数thermal conductivity-选择user-defined-UDF-再点击edit,出现如下错误:No error handler available。
附上UDF:
DEFINE_PROPERTY(gapgas_heat_conductivity, cell, thread)
{
real heat_conductivity;
real temp = C_T(cell, thread);
heat_conductivity = 100 * 0.39 * pow(10, -4) * pow(temp, 0.645);
return heat_conductivity;
}