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.

Attempt to evaluate nonintegral power of negative number.

Please login with a confirmed email address before reporting spam

Hi, I am a beginner who wants to do some elastoplastic soil-foundation interaction model, but when I input the hardening soil parameters, I always get lots of errors:

  • Function: ^ Failed to evaluate variable.
    • Variable: comp1.solid.epsm1.Eur
    • Defined as: comp1.solid.epsm1.EurRef*((((comp1.solid.epsm1.cohesion*cot(comp1.solid.epsm1.internalphi))-comp1.solid.sp)/((comp1.solid.epsm1.cohesion*cot(comp1.solid.epsm1.internalphi))+comp1.solid.epsm1.pref))^comp1.solid.epsm1.mH) Failed to evaluate variable.
    • Variable: comp1.solid.E
    • Defined as: comp1.solid.epsm1.Eur Failed to evaluate variable.
    • Variable: comp1.solid.D11
    • Defined as: (comp1.solid.E*(1-comp1.solid.nu))/((1+comp1.solid.nu)*(1-(comp1.solid.nu*2))) Failed to evaluate variable.
    • Variable: comp1.solid.sel11
    • Defined as: ((comp1.solid.D11*comp1.solid.eel11)+(comp1.solid.D12*comp1.solid.eel22))+(comp1.solid.D13*comp1.solid.eel33) Failed to evaluate variable.
    • Variable: comp1.solid.Sel11
    • Defined as: comp1.solid.Ji*(((comp1.solid.Fiil11*(((comp1.solid.Fiil11*comp1.solid.sel11)+(comp1.solid.Fiil12*comp1.solid.sel12))+(comp1.solid.Fiil13*comp1.solid.sel13)))+(comp1.solid.Fiil12*(((comp1.solid.Fiil11*comp1.solid.sel12)+(comp1.solid.Fiil12*comp1.solid.sel22))+(comp1.solid.Fiil13*comp1.solid.sel23))))+(comp1.solid.Fiil13*(((comp1.solid.Fiil11*comp1.solid.sel13)+(comp1.solid.Fiil12*comp1.solid.sel23))+(comp1.solid.Fiil13*comp1.solid.sel33)))) Failed to evaluate variable.

like this. Hope to ask suggestions and helps.


1 Reply Last Post Oct 26, 2023, 2:59 a.m. EDT
Henrik Sönnerlind COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 6 months ago Oct 26, 2023, 2:59 a.m. EDT

A possible cause is that the material somewhere is loaded in tension past cohesion. Then, the numerator in the first expression becomes negative, which gives an error while evaluating a nonintegral power of that expression.

-------------------
Henrik Sönnerlind
COMSOL
A possible cause is that the material somewhere is loaded in tension past cohesion. Then, the numerator in the first expression becomes negative, which gives an error while evaluating a nonintegral power of that expression.

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.