Hi, everyone!

I'm trying to add a Weak Contribution in 0D model in Comsol 6.1, but after clicking to Study I got an error: Undefined variable.

It looks to be a simple task since earlier in the 1D and 2D models I added such a function (Weak Contribution) without any problems.

About the model, I take the built-in model "boltzmann_argon", then I add a simple analytical function an1: if(x>0.5,sqrt(x-0.5),0). After that, I add a Weak Contribution with an expression an1(be.xeedf)*test(F0). After running the solver, I get the error: Undefined variable. I also tried to start the model without test(F0) in Weak Contribution but also got the same error. The question is, how do I add a Weak Contribution to the 0D model correctly? In other Comsol versions also tried, but I got the same error. I looked for answers in the COMSOL documentation, but nothing is written about it there

Similar questions and discussions