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 variable, failed to evaluate expression, division by zero
Posted 12 janv. 2015, 13:24 UTC−5 Version 5.0 0 Replies
Please login with a confirmed email address before reporting spam
The problem can be that earlier you have set the following in your solution node:
Values of Dependent Variables > Initial values of variables solved for
Method: solution
Study: study 1 (for example)
Selection: Automatic
The errors are coming since COMSOL is looking for "initial conditions" for the new physics variable to come from the stored solution, which doesn't contain any information on the new physics variables that have just been added to the model.
One solution is therefore to set
Method: Initial expression
Study: Zero solution
Then COMSOL will be able to solve the model including the new physics node that you have added.
-DW
Hello DW
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.