Ivar KJELBERG
COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
23 déc. 2010, 04:45 UTC−5
Hi
I have had sometimes those errors, far more in v4 than 4.1, but mostly I ignore them, save the file close Comsol repoen and restart and it's then OK
--
Good luck
Ivar
Hi
I have had sometimes those errors, far more in v4 than 4.1, but mostly I ignore them, save the file close Comsol repoen and restart and it's then OK
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
2 févr. 2011, 03:46 UTC−5
Hi Micke, Ivar
Ivar: You're lucky you had more 'Failed to reset properties' issues with 4 than with 4.1; for me its the total opposite, and it's driving me crazy. Moreover, saving and reopening comsol never seems to 'fix' the file..
I would think that 'reset history' is mainly used for people who then want to save a .m script and use the model within matlab. Without this functionality, the saved script is only usable after some extensive (time-consuming!) cleanup. Often the script even contains invalid code (the biggest offenders in my files are invalid geometry operations of the type ' model.geom('g1').delete({}) ). By the way, this error does not seem to be linked with either RF of HT.. as my current models only use the acdc module.
Anyway, I guess I just wanted to share my frustration.. and publicly state that I hope this gets fixed at some point ;)
best
Charles
Hi Micke, Ivar
Ivar: You're lucky you had more 'Failed to reset properties' issues with 4 than with 4.1; for me its the total opposite, and it's driving me crazy. Moreover, saving and reopening comsol never seems to 'fix' the file..
I would think that 'reset history' is mainly used for people who then want to save a .m script and use the model within matlab. Without this functionality, the saved script is only usable after some extensive (time-consuming!) cleanup. Often the script even contains invalid code (the biggest offenders in my files are invalid geometry operations of the type ' model.geom('g1').delete({}) ). By the way, this error does not seem to be linked with either RF of HT.. as my current models only use the acdc module.
Anyway, I guess I just wanted to share my frustration.. and publicly state that I hope this gets fixed at some point ;)
best
Charles
Ivar KJELBERG
COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
2 févr. 2011, 04:46 UTC−5
Hi
that is not normal, apart if you are workin on an imported model, I always reconstruct my models in latest version from SCRATCH, as there are subtil loading errors.
Then if you are using the tables, these must be "cleared" (not deleted) befoe, specially if the model does not get to its end as the programme remembers the table size and the update only works if you add to a similar size table and that its "cleaned" I mostly use the rightclick "Clear and Evaluate All"
--
Good luck
Ivar
Hi
that is not normal, apart if you are workin on an imported model, I always reconstruct my models in latest version from SCRATCH, as there are subtil loading errors.
Then if you are using the tables, these must be "cleared" (not deleted) befoe, specially if the model does not get to its end as the programme remembers the table size and the update only works if you add to a similar size table and that its "cleaned" I mostly use the rightclick "Clear and Evaluate All"
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
8 mars 2011, 04:47 UTC−5
Hi Micke, Hi Ivar, Hi Charles,
I don't know, if you are still interested in this problem.
In version 4.1 I recently experienced the same error.
What I found is, that resetting the model history does not work (at least for me), when I run Comsol in client mode, connected to a Comsol server.
When I disconnect from the server, resetting the model history works for some reasons.
Maybe this works for you as well.
Best regards,
Juergen
Hi Micke, Hi Ivar, Hi Charles,
I don't know, if you are still interested in this problem.
In version 4.1 I recently experienced the same error.
What I found is, that resetting the model history does not work (at least for me), when I run Comsol in client mode, connected to a Comsol server.
When I disconnect from the server, resetting the model history works for some reasons.
Maybe this works for you as well.
Best regards,
Juergen
Ivar KJELBERG
COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
8 mars 2011, 15:07 UTC−5
Hi
I would say you should report this to "support" so they might check and fix it if needed for next release
--
Good luck
Ivar
Hi
I would say you should report this to "support" so they might check and fix it if needed for next release
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
9 mars 2011, 03:48 UTC−5
Dear Ivar,
That's a good idea!
I have just sent them a short message on this issue!
Best regards,
Juergen
Dear Ivar,
That's a good idea!
I have just sent them a short message on this issue!
Best regards,
Juergen
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
17 mai 2011, 04:52 UTC−4
Hello everybody,
I have problems resetting 3D-models, too... this is really bothering.
I gave up cleaning the m-file and so I am not working with the matalblivelink right now.
Did comsol support already reply? Is there solution for that issue or do we all have to wait for comsol to fix it?
Best regards,
Oliver
Hello everybody,
I have problems resetting 3D-models, too... this is really bothering.
I gave up cleaning the m-file and so I am not working with the matalblivelink right now.
Did comsol support already reply? Is there solution for that issue or do we all have to wait for comsol to fix it?
Best regards,
Oliver
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
18 mai 2011, 03:20 UTC−4
I keep getting this error message, or similar errors, when resetting history as well. It's one of my biggest grievances with Comsol 4.
I don't even know why I would need the history at all. For all I care, Comsol shouldn't remember it in the first place so I get a clean .java or .m file whenever I need it. I'm interested in my model's state, not its history. After all, the new Comsol 4 model tree lends itself perfectly to an internal XML-type data structure. I could be wrong about this, but it seems that, internally, Comsol uses this linear Java or Matlab code to recreate the model object tree every time from scratch. Then, to clean up this mess, it takes a sophisticated algorithm, which obviously still has a lot of bugs. To me, this seems like a major design flaw.
These errors pop up all over the place, no matter which module or whatever the geometry's dimension. I once sent a model file to Comsol support and they "fixed" it, saying there is a bug in Comsol 4.1 (whenever you have a workplane and the view is anything but the standard view) that will be fixed in 4.2. Of course, contacting support every time this happens is not a solution for me as I cannot afford to wait 24 hours for them to fix my file.
What I do now is "reset history" as often as possible. Once it fails, I delete the last few nodes I created until it works again, then recreate those nodes. This has worked for me... so far.
Of course, if you never export your model as an .m or .java file, you may just not bother with this. However, if you ever plan on compiling your model with the Java compiler, you should know that Java has a bytecode limit of 64 kB per class method. This is a limit you easily reach with a cluttered history, and cleaning up the history by hand is an excruciating and error-prone undertaking that I wouldn't recommend even trying. There may be work-arounds for the Java compiler problem, but then again there are many more reasons why you would want the history removed. (I, for one, use it primarily to get access to a domain or boundary index list in a selection. For some reason, such lists can be "pasted" in Comsol 4.1, but they cannot be "copied" from the GUI.)
I keep getting this error message, or similar errors, when resetting history as well. It's one of my biggest grievances with Comsol 4.
I don't even know why I would need the history at all. For all I care, Comsol shouldn't remember it in the first place so I get a clean .java or .m file whenever I need it. I'm interested in my model's state, not its history. After all, the new Comsol 4 model tree lends itself perfectly to an internal XML-type data structure. I could be wrong about this, but it seems that, internally, Comsol uses this linear Java or Matlab code to recreate the model object tree every time from scratch. Then, to clean up this mess, it takes a sophisticated algorithm, which obviously still has a lot of bugs. To me, this seems like a major design flaw.
These errors pop up all over the place, no matter which module or whatever the geometry's dimension. I once sent a model file to Comsol support and they "fixed" it, saying there is a bug in Comsol 4.1 (whenever you have a workplane and the view is anything but the standard view) that will be fixed in 4.2. Of course, contacting support every time this happens is not a solution for me as I cannot afford to wait 24 hours for them to fix my file.
What I do now is "reset history" as often as possible. Once it fails, I delete the last few nodes I created until it works again, then recreate those nodes. This has worked for me... so far.
Of course, if you never export your model as an .m or .java file, you may just not bother with this. However, if you ever plan on compiling your model with the Java compiler, you should know that Java has a bytecode limit of 64 kB per class method. This is a limit you easily reach with a cluttered history, and cleaning up the history by hand is an excruciating and error-prone undertaking that I wouldn't recommend even trying. There may be work-arounds for the Java compiler problem, but then again there are many more reasons why you would want the history removed. (I, for one, use it primarily to get access to a domain or boundary index list in a selection. For some reason, such lists can be "pasted" in Comsol 4.1, but they cannot be "copied" from the GUI.)
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
18 mai 2011, 05:26 UTC−4
Hi John,
thanks for the infos. I have several workplanes in my 3D-model, which can cause problems.
In 2D-axial mode I never experienced problems while resetting the model history and now I am really used to do studys with matlab. But this issue with 3D-models is a major set back for me.
Thereare even more reasons why I am really looking forward for comsol 4.2. So does anybody know when it will be released?
Best regards,
Oliver
Hi John,
thanks for the infos. I have several workplanes in my 3D-model, which can cause problems.
In 2D-axial mode I never experienced problems while resetting the model history and now I am really used to do studys with matlab. But this issue with 3D-models is a major set back for me.
Thereare even more reasons why I am really looking forward for comsol 4.2. So does anybody know when it will be released?
Best regards,
Oliver
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
19 août 2011, 16:28 UTC−4
I had the same problem. Seems my mph model is too complext now to restart. I have to stick with the mph batch process now, instead of running it in matlab (although I love to). So sad...
I had the same problem. Seems my mph model is too complext now to restart. I have to stick with the mph batch process now, instead of running it in matlab (although I love to). So sad...
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
28 sept. 2011, 20:14 UTC−4
I think it helps if you reset the history consistently as you update your model. I say this because I have one model that I worked on for a long time but never reset the history on. Now, when I try to reset history, it gives me the Error: Failed to reset properties. On the other (same type of model) I've reset the history a few times because I've built different .m files as I updated it. This one has no problem resetting history and no error message. So I'm inclined to think that the more often you reset history the less likely you are to get that error. I'm not sure how helpful this is since by the time any one gets that Error message, it's too late to follow this advice. However, hopefully these observations will help COMSOL *fingers crossed* eventually fix this problem.
I think it helps if you reset the history consistently as you update your model. I say this because I have one model that I worked on for a long time but never reset the history on. Now, when I try to reset history, it gives me the Error: Failed to reset properties. On the other (same type of model) I've reset the history a few times because I've built different .m files as I updated it. This one has no problem resetting history and no error message. So I'm inclined to think that the more often you reset history the less likely you are to get that error. I'm not sure how helpful this is since by the time any one gets that Error message, it's too late to follow this advice. However, hopefully these observations will help COMSOL *fingers crossed* eventually fix this problem.
Ivar KJELBERG
COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
29 sept. 2011, 00:53 UTC−4
Hi
I get these error sometimes too, specially when I have fiddled a lot with the model, mostly I end up rewriting it from scratch, its quicker and safer in my view
--
Good luck
Ivar
Hi
I get these error sometimes too, specially when I have fiddled a lot with the model, mostly I end up rewriting it from scratch, its quicker and safer in my view
--
Good luck
Ivar