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.
'intop' function in variable : Error due to Surface Integral of FaceLoad that doesn't exist (yet) (SOLVED)
Posted 3 août 2021, 12:06 UTC−4 General, Parameters, Variables, & Functions, Studies & Solvers Version 5.6 1 Reply
Please login with a confirmed email address before reporting spam
I want to use the surface integral of a face load as a variable by using intop(mbrn.F_A_Mag). The problem is: at the beginning of the time dependent study, that face load doesn't exist yet, because the face load depends on a contact pressure, which hasn't been esablished at t=0s
When I calculate intop(mbrn.F_A_Mag) for t=0 as a global evaluation in the results, the result is simply 0. For the data evalutation, Comsol doesn't seem to have a problem with calculating the integral of a non-existing face load. When I use the same expression as a variable, comsol stops the study with the following error:
Attempt to evaluate negative power of zero. - Function: ^ Failed to evaluate temporary symbolic derivative variable. - Variable: comp1.mbrn.F_A_Mag@VDN${real@10} - Defined as: (2real(comp1.mbrn.F_Ay))(0.5*((((real(comp1.mbrn.F_Ax)^2)+(real(comp1.mbrn.F_Ay)^2))+(real(comp1.mbrn.F_Az)^2))^(-0.5)))
How can I bypass that problem? thanks, Jan