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.

Undefined variable

Please login with a confirmed email address before reporting spam

Hey All
I am new into COMSOL and i hope you guys can help me.

I get this message when a try to run the calculation :

Undefined variable.
- Variable: pA
- Geometry: geom1
- Domain: 2
Failed to evaluate Jacobian of expression.
- Expression: comp1.mat3.def.rho
- Feature: Time-Dependent Solver 1 (sol1/t1)
Is there someone you can tell my how to solve it?

My project look like the plunger example at the model page : www.comsol.com/model/electromagnetic-plunger-36671

I have attached my project
Regards Benny



2 Replies Last Post 17.08.2016, 04:09 GMT-4

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 16.08.2016, 11:15 GMT-4
Define the pA as variable or parameters for atmospheric pressure of air at which the density of the air is calculated for the mass calculation.
Define the pA as variable or parameters for atmospheric pressure of air at which the density of the air is calculated for the mass calculation.

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 17.08.2016, 04:09 GMT-4

Define the pA as variable or parameters for atmospheric pressure of air at which the density of the air is calculated for the mass calculation.

Hi Sohan
Thank you, now it works !

Regards Benny
[QUOTE] Define the pA as variable or parameters for atmospheric pressure of air at which the density of the air is calculated for the mass calculation. [/QUOTE] Hi Sohan Thank you, now it works ! Regards Benny

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.