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.
Simulation error
Posted 08.11.2012, 11:51 GMT-5 RF & Microwave Engineering, Mesh, Modeling Tools & Definitions, Parameters, Variables, & Functions, Studies & Solvers Version 4.3b 7 Replies
Please login with a confirmed email address before reporting spam
I am getting this type of error whey i am trying to start simulation.
"Variables property does not include all variables in Xmesh"
Could anybody can give me any solution/ suggestion.
Thank you
Sanjay
Please login with a confirmed email address before reporting spam
for me it looks like you are missing some material properties, or that your mesh is not full (some domains are not meshed), difficult to say more just from such a message I agree ;)
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Thank you very much for your reply. I guess you have a sound understanding about COMSOl
I have been facing another issue while i was working with COMSOL.(4.3)
The problem is like ....for a particular mesh size I can not simulate below a certain frequency.
If i increase the mesh size then i can do it, i want to simulate my structure below that certain frequency without increasing the mesh size .
The error message I get is "
Failed to find a solution for the initial parameter. The relative error (0.0013) is greater
than the relative tolerance. Returned solution is not converged. :"
Could you please give me any suggestion . IF you need any further info, plz let me know
Thank you
Sanjay
Please login with a confirmed email address before reporting spam
first of all, COMSOL might find a solution with a coarse mesh, but it can be all wrong, if your mesh is too coarse. You need to have a mesh size that is sufficiently dense to catch the gradients of your dependent variables, and in case of waves that you have at least 5 or more mesh elements per period, in the material. Else you are under sampling and your results will be wrong (even if COMSOL sometimes might converge.
It's like aliasing in sound digital recording, a pure numerical sampling theory effect.
What is tricky is that often the gradient opf the dependent variables are very steep for given initial conditions, so often you need very fine mesh only very locally, and in time dependent , often only for the fist steps (typically for diffusion from a step concentration or thermal boundary limit. Then its worth to cheat a bit and introduce a >0 concentration or temperature locally close to the boundary with the initial conditions, it helps for the convergence. Often this is more critical for concentrations than for T as T is offset by 273°K most of the time, while the concentration is =0 as default initial value, and any c<0 makes people and COMSOL to scream ;)
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
I am new to COMSOL and had the same error, "variable property doesnot include all variable in Xmesh" while performing my simulation. I am attaching my COMSOL file for you understand in detail.
Best Regards,
Nishtha
Attachments:
Please login with a confirmed email address before reporting spam
I have a same convergence error with a finer mesh or a lower frequency. I start to think some comsol solver
may use single precision even within the 64bit version. But I am not sure about that, because I haven't found any option about this precision in solver. Have you solved this problem? If do, please let me know.
Thanks!
Please login with a confirmed email address before reporting spam
did you solve the xmesh issue?
I got the very same error "message":
"Variables property does not include all variables in Xmesh"
I imported a coil geometry from solidworks via livelink. My aim is to simulate the distribution of magnetic flux density around the coil as a stationary problem (mf). I added the grounding and side feed boundary according to the 3D inductor tutorial privded by comsol.
I very much appreciate any hint/help,
Best,
Sebastian
Please login with a confirmed email address before reporting spam
Thank you,
Ian
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
- BLOG Intro to Modeling Transient Heating of Solids in COMSOL Multiphysics®
- KNOWLEDGE BASE Manually Setting the Scaling of Variables
- BLOG Automatic Time Step and Order Selection in Time-Dependent Problems
- FORUM VRFB simulation error (flow battery)
- BLOG Strategies to Counter Small Automatic Time Steps