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.
Error with Air as a medium material in calculating electrostatic force
Posted 2011年7月7日 GMT-4 02:50 Studies & Solvers Version 4.0a 8 Replies
Please login with a confirmed email address before reporting spam
I want to calculate the electrostatic force due to parallel plate capacitor, and the medium is air, so i make to plates and make a large Box and set its material >> Air
Now i use three physics: Electrostatic - Solid Mechanics - Moving Mesh.
But i usually have this error, and i want help in solving it.
- - - - - - - - - - - - - - - - - - - - - - - - -
Segregated group X1
Failed to evaluate variable.
- Variable: mat.epsilonr22
- Geometry: 1
- Domain: 6
Failed to evaluate variable.
- Variable: mod1.es.epsilonryy
- Defined as: mat.epsilonr22
Failed to evaluate variable.
- Variable: mod1.es.Dy
- Defined as: (mod1.es.Ey*(epsilon0_const*mod1.es.epsilonryy))
Failed to evaluate expression.
- Expression: d((-mod1.es.Dx*test(mod1.Vx)-mod1.es.Dy*test(mod1.Vy)-mod1.es.Dz*test(mod1.Vz))*(dvol_spatial),{test@1})
- - - - - - - - - - - - - - - - - - - - - - - - -
the model is attached, Thanks.
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
there is no model....
Sorry
Attachments:
Please login with a confirmed email address before reporting spam
there is no model....
Sorry
The first error you are getting is
"Segregated group X1
Failed to evaluate variable.
- Variable: mat.epsilonr22
- Geometry: 1
- Domain: 6"
I looked at your materials and domain 6 has no selection. I am not sure what you are doing with your simulation but what you need to do is add a material to domain 6. What I did was to add it to the poly-si material and that error went away. In re-running the simulation again, I got this error as a new one:
"Segregated group 2
Failed to evaluate variable.
- Variable: mod1.es.nTz_Fes
- Geometry: 1
- Boundary: 20
Failed to evaluate expression.
- Expression: d((mod1.es.nTx_Fes*test(mod1.u)+mod1.es.nTy_Fes*test(mod1.v)+mod1.es.nTz_Fes*test(mod1.w))*(dvol),{test@2})"
This would seem to imply a boundary condition is not set right in your model. Not sure how to correct it since I am not all that familiar with your model.
Sometimes errors are real easy to spot just because I have done them on my own. When I see a "mat.epsilon" based error, I know that some domain/BC does not have a material assigned or has an empty value associated with it. BC errors can be a bit more difficult to solve as getting the physics right can be tricky.
Please login with a confirmed email address before reporting spam
there is no model....
Sorry
The first error you are getting is
"Segregated group X1
Failed to evaluate variable.
- Variable: mat.epsilonr22
- Geometry: 1
- Domain: 6"
I looked at your materials and domain 6 has no selection. I am not sure what you are doing with your simulation but what you need to do is add a material to domain 6. What I did was to add it to the poly-si material and that error went away. In re-running the simulation again, I got this error as a new one:
"Segregated group 2
Failed to evaluate variable.
- Variable: mod1.es.nTz_Fes
- Geometry: 1
- Boundary: 20
Failed to evaluate expression.
- Expression: d((mod1.es.nTx_Fes*test(mod1.u)+mod1.es.nTy_Fes*test(mod1.v)+mod1.es.nTz_Fes*test(mod1.w))*(dvol),{test@2})"
This would seem to imply a boundary condition is not set right in your model. Not sure how to correct it since I am not all that familiar with your model.
Sometimes errors are real easy to spot just because I have done them on my own. When I see a "mat.epsilon" based error, I know that some domain/BC does not have a material assigned or has an empty value associated with it. BC errors can be a bit more difficult to solve as getting the physics right can be tricky.
Hi, Thank you very much.
I'll try to solve the material error now, and for the Force error i'll try and tell you the result
Again, Thank you very much, Mohamed.
Please login with a confirmed email address before reporting spam
- - - - - - - - - - - - - - - - - - - - - - -
Segregated group X2
Failed to evaluate variable.
- Variable: mod1.es.nTx_Fes
- Geometry: 1
- Boundary: 23
Failed to evaluate expression.
- Expression: d((mod1.es.nTx_Fes*test(mod1.u)+mod1.es.nTy_Fes*test(mod1.v)+mod1.es.nTz_Fes*test(mod1.w))*(dvol),{test@1})
- - - - - - - - - - - - - - - - - - - - - - -
so if any one understant this error tell me, Great thanks,
Mohamed.
the model is attached after solving the first error.
Attachments:
Please login with a confirmed email address before reporting spam
I tried to solve the second error but i can't
- - - - - - - - - - - - - - - - - - - - - - -
Segregated group X2
Failed to evaluate variable.
- Variable: mod1.es.nTx_Fes
- Geometry: 1
- Boundary: 23
Failed to evaluate expression.
- Expression: d((mod1.es.nTx_Fes*test(mod1.u)+mod1.es.nTy_Fes*test(mod1.v)+mod1.es.nTz_Fes*test(mod1.w))*(dvol),{test@1})
- - - - - - - - - - - - - - - - - - - - - - -
so if any one understant this error tell me, Great thanks,
Mohamed.
the model is attached after solving the first error.
I took a more detailed look at this and I think it is yelling at you because it doesn't know what the "es.nTx_Fes" function is. There looks to be nothing in your parameters or variables to tell comsol what it is. Boundary 23 is called out in the "boundary load 1" under solid mechanics and you just have this as a user defined option. While that is fine to do, I just don't see where you told comsol more info about this function. Maybe your syntax is wrong?
Please login with a confirmed email address before reporting spam
Thank you very much, the problem is solved.
Please login with a confirmed email address before reporting spam
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.
Suggested Content
- KNOWLEDGE BASE Error: Failed to Find a Solution. Returned Solution is Not Converged
- BLOG Modeling Microresonators with Electrostatic Actuation
- KNOWLEDGE BASE BDF, Generalized Alpha, and Runge-Kutta Methods
- BLOG Improving the Power of Optical Systems via Component Design
- KNOWLEDGE BASE Warning: New Constraint Force Nodes Detected