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.

timestep in stationary study?

Please login with a confirmed email address before reporting spam

I am modeling laminar flow at steady-state. Error message:

Undefined variable.
- Variable: timestep
- Geometry: geom1
- Domain: 2
Failed to evaluate expression.
- Expression: nojac((0.5/sqrt(((((comp1.spf.rho^2)/(timestep^2))+(((6*comp1.spf.mu)^2)*emetric2))+((comp1.spf.rho^2)*emetric(comp1.u,comp1.w))))))
Failed to evaluate variable.
- Variable: comp1.spf.tau_m
- Defined as: nojac((0.5/sqrt(((((comp1.spf.rho^2)/(timestep^2))+(((6*comp1.spf.mu)^2)*emetric2))+((comp1.spf.rho^2)*emetric(comp1.u,comp1.w))))))
Failed to evaluate temporary symbolic derivative variable.
- Variable: comp1.spf.streamlinens@VDN${test@30}
- Defined as: (((-comp1.spf.tau_c)*comp1.spf.res_p)-((nojac((comp1.u*comp1.spf.rho))*comp1.spf.tau_m)*comp1.spf.res_u))
Failed to evaluate expression.
- Expression: d((2*comp1.spf.streamlinens*pi*r)*(dvol),{test@30})

It might be related to a very thin domain in the geometry.

br
Lasse

1 Reply Last Post 06.09.2017, 19:28 GMT-4
COMSOL Moderator

Hello Lasse Murtomäki

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.


Bo Gao Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 7 years ago 06.09.2017, 19:28 GMT-4
Hi Lasse,

Hope you have resolved your problem and you do not need any solution now. But if you still need help for this problem, maybe I can provide you a possible reason and solution. Try to check your "equation form" in the settings of laminar flow. If it is "time dependent", please change it to "study controlled" or "stationary". Please remind that if you use "stationary", it will be only valid for steady-state solver; while if you use "study controlled", COMSOL will be self-adaptive according to your steady-state or transient solver.
Hi Lasse, Hope you have resolved your problem and you do not need any solution now. But if you still need help for this problem, maybe I can provide you a possible reason and solution. Try to check your "equation form" in the settings of laminar flow. If it is "time dependent", please change it to "study controlled" or "stationary". Please remind that if you use "stationary", it will be only valid for steady-state solver; while if you use "study controlled", COMSOL will be self-adaptive according to your steady-state or transient solver.

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.