Discussion Forum

Modeling Microwave heating

Topics: no topics

Thread index  |  Previous thread  |  Next thread  |  Start a new discussion

RSS FeedRSS feed   |   Email notificationsTurn on email notifications   |   2 Replies   Last post: July 31, 2010 1:31pm UTC
Huang Jonson

Huang Jonson

July 30, 2010 8:14am UTC

Modeling Microwave heating

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

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Ivar Kjelberg

Ivar Kjelberg
Moderator

July 30, 2010 11:44am UTC in response to Huang Jonson

Re: Modeling Microwave heating

Hi

I agree that these error messages are rather complex to read, COMSOL could do better (and will probably in the future versions). Normally those should be red from the end towards the beginning, so the initial error of the chain (the way I udnerstand it is) your "mod1.mh.k" that is too large and gives a negative srt() function hence an "error trap". You can follow where it is used by reading themn from the bottom towards the top

It's obviously linked to your definition of alpha of port 1 in your model

To better understand where the variables are used turn on the "equations" in the "Options>Preferences"

--
Good luck
Ivar

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Huang Jonson

Huang Jonson

July 31, 2010 1:31pm UTC in response to Ivar Kjelberg

Re: Modeling Microwave heating

Hi Ivar
Thanks for your reply,
I would try to understand where the variables are used turn on the "equations".

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse


Rules and guidelines