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.

Please login with a confirmed email address before reporting spam

Hi,
can any one help me solve these errors from my graduation project model? Emergency~~ Many thanks!
The errors are:

Division by zero.
- Function: /
Failed to evaluate variable.
- Variable: comp1.emi.D13
- Defined as: (comp1.emi.nu*comp1.emi.E)/((1-(comp1.emi.nu*2))*(comp1.emi.nu+1))
Failed to evaluate variable.
- Variable: comp1.emi.Sl11
- Defined as: (comp1.emi.D13*comp1.emi.eel33)+((comp1.emi.eel11*comp1.emi.D11)+(comp1.emi.eel22*comp1.emi.D12))
Failed to evaluate expression.
- Expression: d((-comp1.emi.Sl11*test(comp1.emi.el11)-2*comp1.emi.Sl12*test(comp1.emi.el12)-2*comp1.emi.Sl13*test(comp1.emi.el13)-comp1.emi.Sl22*test(comp1.emi.el22)-2*comp1.emi.Sl23*test(comp1.emi.el23)-comp1.emi.Sl33*test(comp1.emi.el33))*(dvol),{test@6})

1 Reply Last Post Aug 26, 2016, 9:51 a.m. EDT
Nagi Elabbasi Facebook Reality Labs

Please login with a confirmed email address before reporting spam

Posted: 8 years ago Aug 26, 2016, 9:51 a.m. EDT
Hi Mirror,

This error will occur if you set Poisson’s ratio to 0.5 for a perfectly incompressible material. There is division by 1-2*v in the denominator which is a division by 0. If that is the case use a slightly lower value such as 0.499.

Nagi Elabbasi
Veryst Engineering
Hi Mirror, This error will occur if you set Poisson’s ratio to 0.5 for a perfectly incompressible material. There is division by 1-2*v in the denominator which is a division by 0. If that is the case use a slightly lower value such as 0.499. Nagi Elabbasi Veryst Engineering

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.