@Albert-Lee 我跟你遇到了相同的问题,你的测试和我的结果也相差不大。目前我也在寻找一个解决方法,我看到的在UDF中获取Level set function 是使用 C_LSF(c,t)宏,其中c = cell index, t = mixture phase thread,原链接:https://www.cfd-online.com/Forums/fluent/144991-access-level-set-function-udf.html
注意:需要额外include "sg_ls.h" 因为他没有包含在udf.h里面