Thank you very much! When I set kappa1=kappa2 it do solve the problem!
But I got another question, let’s take contactAngle2d for example. If I use the formula you give me then the kappa1&2 should be 30, but in the code it is 0.005. Why it that? Should I convert it again?