找回密码
 注册
查看: 4418|回复: 3

用UDF表示表面张力

[复制链接]
发表于 2009-2-18 11:23:28 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
在VOF模型中,请问表示表面张力是在define-->phase-->interation选项中,还是在define-->source选项中使DEFIEN_SOURCE宏表达?而表面张力是一个线力,在UDF中又该怎样写呢?希望各位不吝赐教!多谢了!
发表于 2009-2-18 20:54:43 | 显示全部楼层
同问,
个人认为应该是在interaction选项里面的UDF
不知道有没有人做过?
分享一下~
发表于 2009-2-22 17:44:53 | 显示全部楼层

回复 1# veronica 的帖子

使用define_property,然后用uds激活
发表于 2009-2-25 10:20:16 | 显示全部楼层

回复 3# breadyu 的帖子

请问一下哈,为什么要UDS激活,测试过否?
我看帮助上 的说明是:
DEFINE PROPERTY can also be used to define a surface tension coeffcient UDF for the
multiphase VOF model. The following UDF speci es a surface tension coffcient as a
quadratic function of temperature. The source code can be interpreted or compiled in
FLUENT.
*/
/***************************************************************
Surface Tension Coefficient UDF for the multiphase VOF Model
***************************************************************/
#include "udf.h"
DEFINE_PROPERTY(sfc,c,t)
{
real T = C_T(c,t);
return 1.35 - 0.004*T + 5.0e-6*T*T;
}
/* Note that surface tension UDFs for the VOF and Mixture multiphase models
are both hooked to FLUENT in the Phase Interaction panel, but in different
ways. For the VOF model, the function hook is located in the Surface
Tension tab in the panel. For the Mixture model, however, the function
hook is located in the Mass tab, and will become visible upon selecting the
Cavitation option.*/

说明:自己没用过。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表