Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Failed to evaluate variables and Jacobian variables

Babak Ebrazi Bakhshayesh

Please login with a confirmed email address before reporting spam

Hi COMSOL Users,

I an new to using COMSOL 5.2a and perhaps because of that I am missing something simple. I have tried to model evaporation of water, which is part of modeling a new toilet technology we are proposing for developing countries, but I get several errors when trying to model the second study in the toilet system.

The problem that noticed is due to the domain number . Once it is removed from the geometry, the second study is done successfully, while adding this domain results in the following errors:

Undefined variable.
- Variable: comp1.c
- Geometry: geom1
- Domain: 2
Failed to evaluate Jacobian of expression.
- Expression: comp1.c
Failed to evaluate Jacobian of operator.
- Operator: mean
- Geometry: geom1
- Boundary: 9
Failed to evaluate Jacobian of variable.
- Variable: comp1.c
- Geometry: geom1
- Boundary: 9
Failed to evaluate Jacobian of expression.
- Expression: dvol*(r*(pi*((2*comp1.ht.bhs1.Qb)*comp1.ht.d)))
Failed to evaluate Jacobian of expression.
- Expression: (2*comp1.ht.bhs1.Qb*test(comp1.ht.bhs1.Tvar)*comp1.ht.d*pi*r)*(dvol)


I have attached my model to this post just in case.

Has anyone had problems like the above ones? How can fox these issues?

Thanks in advance,
Babak


4 Replies Last Post 2017年1月6日 GMT-5 14:47

Please login with a confirmed email address before reporting spam

Posted: 7 years ago 2017年1月6日 GMT-5 10:44
Remove boundary 9 from both concentration and heat source boundary.
Remove boundary 9 from both concentration and heat source boundary.

Babak Ebrazi Bakhshayesh

Please login with a confirmed email address before reporting spam

Posted: 7 years ago 2017年1月6日 GMT-5 11:01
Hi Sohan,

Thanks for your response. I did that and this time simulation did not have any errors.

But, I have been dealing with a question regarding a variable definition in my model. The variable is saturated water vapor concentration, C_sat, used in Transport of diluted species interface in concentration 2 boundary condition.

Its definition is ht.fluid1.fpsat(T)/(R_const*T) in which fluid1 is air domain in the model.

The first things that I have not been able to figure out yet is that whether temperature used in this expression is exactly the temperature of the water surface or not. Since the fluid 1 is for air and I am wondering maybe temperature here in this expression is not the water surface temperature.

I also tried to use fluid 2 in above expression instead of fluid1 but the model does not recognize this variable.

What can be the reason based on your knowledge?

Thanks,
Babak
Hi Sohan, Thanks for your response. I did that and this time simulation did not have any errors. But, I have been dealing with a question regarding a variable definition in my model. The variable is saturated water vapor concentration, C_sat, used in Transport of diluted species interface in concentration 2 boundary condition. Its definition is ht.fluid1.fpsat(T)/(R_const*T) in which fluid1 is air domain in the model. The first things that I have not been able to figure out yet is that whether temperature used in this expression is exactly the temperature of the water surface or not. Since the fluid 1 is for air and I am wondering maybe temperature here in this expression is not the water surface temperature. I also tried to use fluid 2 in above expression instead of fluid1 but the model does not recognize this variable. What can be the reason based on your knowledge? Thanks, Babak

Please login with a confirmed email address before reporting spam

Posted: 7 years ago 2017年1月6日 GMT-5 13:33
Remove boundary 9 from both concentration and heat source boundary.
Remove boundary 9 from both concentration and heat source boundary.

Please login with a confirmed email address before reporting spam

Posted: 7 years ago 2017年1月6日 GMT-5 14:47
This is a interface boundary temperature. I recommend you to add also the Acrylic sheet domain in heat transfer as solid. Also add the water in laminar flow to take into account of natural convention caused by evaporative cooling.
This is a interface boundary temperature. I recommend you to add also the Acrylic sheet domain in heat transfer as solid. Also add the water in laminar flow to take into account of natural convention caused by evaporative cooling.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.