fluent模拟电化学腐蚀的udf
DEFINE_PROFILE(anodic_reaction, thread, position){
begin_f_loop(f, thread)
{
real T = F_T(f, thread) + 273.15; // 温度
real phi = F_UDSI(f, thread, 0); // 电势
real eta = phi - E_eq; // 过电位
该代码中 real phi = F_UDSI(f, thread, 0); // 电势 这一段加上进行计算就会出现下面这个错误。求助大佬指点
页:
[1]