Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
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 expression
Posted 2011/12/06 0:17 GMT-5 Version 4.0 1 Reply
Please login with a confirmed email address before reporting spam
Dear all.
I'm trying to solution microwave heating, but is error.
error is:
Failed to evaluate expression.
- Expression: d((j*mod1.mh.omega*mu0 const*(-1+mod1.mh.S1x)*test(1+mod1.mh.S1x)*(-(-mod1.mh.tHmodez 1*mod1.mh.nx+mod1.mh.tHmodex 1*mod1.mh.nz)*mod1.mh.tEmodey 1-(mod1.mh.tHmodey 1*mod1.mh.nx-mod1.mh.tHmodex 1*mod1.mh.ny)*mod1.mh.tEmodez 1))*(dvol),{test@1})
Failed to evaluate variable.
- Variable: mod1.mh.tEmodey 1
- Defined as: (sqrt(abs((mod1.mh.Pin/mod1.mh.pModeFlow 1)))*mod1.mh.tE0modey 1)
Failed to evaluate expression.
- Expression: abs((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,(((mod1.mh.nz*real(((conj(mod1.mh.tH0modey 1)*mod1.mh.tE0modex 1)-(mod1.mh.tE0modey 1*conj(mod1.mh.tH0modex 1)))))+((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(((mod1.mh.tE0modez 1*conj(mod1.mh.tH0modex 1))+((-conj(mod1.mh.tH0modez 1))*mod1.mh.tE0modex 1))))))*0.5)))
Failed to evaluate expression.
- Expression: mod1.mh.intport1(if((imag(mod1.mh.alphaport 1)==0),1,(((mod1.mh.nz*real(((conj(mod1.mh.tH0modey 1)*mod1.mh.tE0modex 1)-(mod1.mh.tE0modey 1*conj(mod1.mh.tH0modex 1)))))+((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(((mod1.mh.tE0modez 1*conj(mod1.mh.tH0modex 1))+((-conj(mod1.mh.tH0modez 1))*mod1.mh.tE0modex 1))))))*0.5)))
Failed to evaluate expression.
- Expression: if((imag(mod1.mh.alphaport 1)==0),1,(((mod1.mh.nz*real(((conj(mod1.mh.tH0modey 1)*mod1.mh.tE0modex 1)-(mod1.mh.tE0modey 1*conj(mod1.mh.tH0modex 1)))))+((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(((mod1.mh.tE0modez 1*conj(mod1.mh.tH0modex 1))+((-conj(mod1.mh.tH0modez 1))*mod1.mh.tE0modex 1))))))*0.5))
Failed to evaluate expression.
- Expression: if((imag(mod1.mh.alphaport 1)==0),1,(((mod1.mh.nz*real(((conj(mod1.mh.tH0modey 1)*mod1.mh.tE0modex 1)-(mod1.mh.tE0modey 1*conj(mod1.mh.tH0modex 1)))))+((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(((mod1.mh.tE0modez 1*conj(mod1.mh.tH0modex 1))+((-conj(mod1.mh.tH0modez 1))*mod1.mh.tE0modex 1))))))*0.5))
Failed to evaluate expression.
- Expression: if((imag(mod1.mh.alphaport 1)==0),1,(((mod1.mh.nz*real(((conj(mod1.mh.tH0modey 1)*mod1.mh.tE0modex 1)-(mod1.mh.tE0modey 1*conj(mod1.mh.tH0modex 1)))))+((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(((mod1.mh.tE0modez 1*conj(mod1.mh.tH0modex 1))+((-conj(mod1.mh.tH0modez 1))*mod1.mh.tE0modex 1))))))*0.5))
Failed to evaluate operator.
- Operator: if
- Geometry: 1
- Boundary: 21
Failed to evaluate expression.
- Expression: imag(mod1.mh.alphaport 1)
Failed to evaluate variable.
- Variable: mod1.mh.alphaport 1
- Defined as: sqrt((((10.362694300518138*pi)^2)+(-(mod1.mh.k^2))))
Attempt to evaluate real square root of negative number.
- Function: sqrt
what can I do?
Thank you!
I'm trying to solution microwave heating, but is error.
error is:
Failed to evaluate expression.
- Expression: d((j*mod1.mh.omega*mu0 const*(-1+mod1.mh.S1x)*test(1+mod1.mh.S1x)*(-(-mod1.mh.tHmodez 1*mod1.mh.nx+mod1.mh.tHmodex 1*mod1.mh.nz)*mod1.mh.tEmodey 1-(mod1.mh.tHmodey 1*mod1.mh.nx-mod1.mh.tHmodex 1*mod1.mh.ny)*mod1.mh.tEmodez 1))*(dvol),{test@1})
Failed to evaluate variable.
- Variable: mod1.mh.tEmodey 1
- Defined as: (sqrt(abs((mod1.mh.Pin/mod1.mh.pModeFlow 1)))*mod1.mh.tE0modey 1)
Failed to evaluate expression.
- Expression: abs((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,(((mod1.mh.nz*real(((conj(mod1.mh.tH0modey 1)*mod1.mh.tE0modex 1)-(mod1.mh.tE0modey 1*conj(mod1.mh.tH0modex 1)))))+((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(((mod1.mh.tE0modez 1*conj(mod1.mh.tH0modex 1))+((-conj(mod1.mh.tH0modez 1))*mod1.mh.tE0modex 1))))))*0.5)))
Failed to evaluate expression.
- Expression: mod1.mh.intport1(if((imag(mod1.mh.alphaport 1)==0),1,(((mod1.mh.nz*real(((conj(mod1.mh.tH0modey 1)*mod1.mh.tE0modex 1)-(mod1.mh.tE0modey 1*conj(mod1.mh.tH0modex 1)))))+((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(((mod1.mh.tE0modez 1*conj(mod1.mh.tH0modex 1))+((-conj(mod1.mh.tH0modez 1))*mod1.mh.tE0modex 1))))))*0.5)))
Failed to evaluate expression.
- Expression: if((imag(mod1.mh.alphaport 1)==0),1,(((mod1.mh.nz*real(((conj(mod1.mh.tH0modey 1)*mod1.mh.tE0modex 1)-(mod1.mh.tE0modey 1*conj(mod1.mh.tH0modex 1)))))+((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(((mod1.mh.tE0modez 1*conj(mod1.mh.tH0modex 1))+((-conj(mod1.mh.tH0modez 1))*mod1.mh.tE0modex 1))))))*0.5))
Failed to evaluate expression.
- Expression: if((imag(mod1.mh.alphaport 1)==0),1,(((mod1.mh.nz*real(((conj(mod1.mh.tH0modey 1)*mod1.mh.tE0modex 1)-(mod1.mh.tE0modey 1*conj(mod1.mh.tH0modex 1)))))+((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(((mod1.mh.tE0modez 1*conj(mod1.mh.tH0modex 1))+((-conj(mod1.mh.tH0modez 1))*mod1.mh.tE0modex 1))))))*0.5))
Failed to evaluate expression.
- Expression: if((imag(mod1.mh.alphaport 1)==0),1,(((mod1.mh.nz*real(((conj(mod1.mh.tH0modey 1)*mod1.mh.tE0modex 1)-(mod1.mh.tE0modey 1*conj(mod1.mh.tH0modex 1)))))+((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(((mod1.mh.tE0modez 1*conj(mod1.mh.tH0modex 1))+((-conj(mod1.mh.tH0modez 1))*mod1.mh.tE0modex 1))))))*0.5))
Failed to evaluate operator.
- Operator: if
- Geometry: 1
- Boundary: 21
Failed to evaluate expression.
- Expression: imag(mod1.mh.alphaport 1)
Failed to evaluate variable.
- Variable: mod1.mh.alphaport 1
- Defined as: sqrt((((10.362694300518138*pi)^2)+(-(mod1.mh.k^2))))
Attempt to evaluate real square root of negative number.
- Function: sqrt
what can I do?
Thank you!
1 Reply Last Post 2011/12/07 1:32 GMT-5