Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 5773

"Error: Cannot evaluate expression." in AC Capacitor introductory example

$
0
0

Hello,

I am just starting out using COMSOL, so I am using this tutorial, and others, to help me get acquainted with the software. Everything goes OK until I get to the "Global Evaluation 1" and "Global Evaluation 2" on page 12. When I try to evaluate the stated expressions (i.e. "ec.Y11" and "imag(ec.Y11)/ec.omega"), I get an error dialoge box:

"Error Cannot evaluate expression. Undefined variable. - Variable: ec.Y11 - Global scope Failed to evaluate expression. - Expression: ec.Y11"

When clicking the "more information" link, nothing happens, but as I understand, the variable "ec.Y11" has not been created yet. However, I don't know how to create that variable. Has anyone run into this error before? Can someone help me fix this? I have very little experience with COMSOL so any information would be helpful!

I've uploaded the file I'm using for reference, but I had to use 7zip to make the file small enough to upload.

Thanks!!


Viewing all articles
Browse latest Browse all 5773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>