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.

Modeling Microwave heating

Please login with a confirmed email address before reporting spam

Hello
I am trying to model Microwave heating-structure interaction and keep getting errors:

Failed to evaluate expression.
- Expression: conj(sign((mod1.mh.Pin/mod1.mh.pModeFlow 1)))
Failed to evaluate variable.
- Variable: mod1.mh.pModeFlow 1
- Defined as: mod1.mh.intport1(if((imag(mod1.mh.alphaport 1)==0),1,(((real(((mod1.mh.tE0modex 1*conj(mod1.mh.tH0modey 1))-(conj(mod1.mh.tH0modex 1)*mod1.mh.tE0modey 1)))*mod1.mh.nz)+((real(((mod1.mh.tE0modey 1*conj(mod1.mh.tH0modez 1))-(mod1.mh.tE0modez 1*conj(mod1.mh.tH0modey 1))))*mod1.mh.nx)+(mod1.mh.ny*real(((conj(mod1.mh.tH0modex 1)*mod1.mh.tE0modez 1)+(mod1.mh.tE0modex 1*(-conj(mod1.mh.tH0modez 1))))))))*0.5)))
Failed to evaluate expression.
- Expression: mod1.mh.intport1(if((imag(mod1.mh.alphaport 1)==0),1,(((real(((mod1.mh.tE0modex 1*conj(mod1.mh.tH0modey 1))-(conj(mod1.mh.tH0modex 1)*mod1.mh.tE0modey 1)))*mod1.mh.nz)+((real(((mod1.mh.tE0modey 1*conj(mod1.mh.tH0modez 1))-(mod1.mh.tE0modez 1*conj(mod1.mh.tH0modey 1))))*mod1.mh.nx)+(mod1.mh.ny*real(((conj(mod1.mh.tH0modex 1)*mod1.mh.tE0modez 1)+(mod1.mh.tE0modex 1*(-conj(mod1.mh.tH0modez 1))))))))*0.5)))
Failed to evaluate expression.
- Expression: if((imag(mod1.mh.alphaport 1)==0),1,(((real(((mod1.mh.tE0modex 1*conj(mod1.mh.tH0modey 1))-(conj(mod1.mh.tH0modex 1)*mod1.mh.tE0modey 1)))*mod1.mh.nz)+((real(((mod1.mh.tE0modey 1*conj(mod1.mh.tH0modez 1))-(mod1.mh.tE0modez 1*conj(mod1.mh.tH0modey 1))))*mod1.mh.nx)+(mod1.mh.ny*real(((conj(mod1.mh.tH0modex 1)*mod1.mh.tE0modez 1)+(mod1.mh.tE0modex 1*(-conj(mod1.mh.tH0modez 1))))))))*0.5))
Failed to evaluate expression.
- Expression: if((imag(mod1.mh.alphaport 1)==0),1,(((real(((mod1.mh.tE0modex 1*conj(mod1.mh.tH0modey 1))-(conj(mod1.mh.tH0modex 1)*mod1.mh.tE0modey 1)))*mod1.mh.nz)+((real(((mod1.mh.tE0modey 1*conj(mod1.mh.tH0modez 1))-(mod1.mh.tE0modez 1*conj(mod1.mh.tH0modey 1))))*mod1.mh.nx)+(mod1.mh.ny*real(((conj(mod1.mh.tH0modex 1)*mod1.mh.tE0modez 1)+(mod1.mh.tE0modex 1*(-conj(mod1.mh.tH0modez 1))))))))*0.5))
Failed to evaluate expression.
- Expression: if((imag(mod1.mh.alphaport 1)==0),1,(((real(((mod1.mh.tE0modex 1*conj(mod1.mh.tH0modey 1))-(conj(mod1.mh.tH0modex 1)*mod1.mh.tE0modey 1)))*mod1.mh.nz)+((real(((mod1.mh.tE0modey 1*conj(mod1.mh.tH0modez 1))-(mod1.mh.tE0modez 1*conj(mod1.mh.tH0modey 1))))*mod1.mh.nx)+(mod1.mh.ny*real(((conj(mod1.mh.tH0modex 1)*mod1.mh.tE0modez 1)+(mod1.mh.tE0modex 1*(-conj(mod1.mh.tH0modez 1))))))))*0.5))
Failed to evaluate operator.
- Operator: if
- Geometry: 1
- Boundary: 1
Failed to evaluate expression.
- Expression: imag(mod1.mh.alphaport 1)
Failed to evaluate variable.
- Variable: mod1.mh.alphaport 1
- Defined as: sqrt((((pi*11.627906976744187)^2)+(-(mod1.mh.k^2))))
Attempt to evaluate real square root of negative number.
- Function: sqrt

Does anyone know what this means. I am new to comsol and this is definitely not an easy task for me.

Thank you

0 Replies Last Post 30 lug 2010, 04:14 GMT-4
COMSOL Moderator

Hello Huang Jonson

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

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.