Hello David964
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
17.06.2013, 08:04 GMT-4
David and other,
this seems to be a very old posting, but I am having the observations
with the 4.3 versions. Did anyone find a good way to the CMP *not* do these
intermedieate steps.
Thanks in advance
Regards
Jens
David and other,
this seems to be a very old posting, but I am having the observations
with the 4.3 versions. Did anyone find a good way to the CMP *not* do these
intermedieate steps.
Thanks in advance
Regards
Jens
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
17.06.2013, 10:52 GMT-4
David and Jens,
I'm not quite sure if I understand your question...
but wouldn't a Parametric Solver (right click on the Study node) solve your problem?
try playing with the Parametric Solver option (turn it Off and Automatic and see which option suits you).
If you want something fancier, like going back and trying a smaller step in case the model dont converge, then I suggest you try using Livelink for Matlab. This module will let you write scripts that can handle those tasks.
--
cheers,
Felipe BM
David and Jens,
I'm not quite sure if I understand your question...
but wouldn't a Parametric Solver (right click on the Study node) solve your problem?
try playing with the Parametric Solver option (turn it Off and Automatic and see which option suits you).
If you want something fancier, like going back and trying a smaller step in case the model dont converge, then I suggest you try using Livelink for Matlab. This module will let you write scripts that can handle those tasks.
--
cheers,
Felipe BM
Magnus Ringh
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
17.06.2013, 11:33 GMT-4
Hi,
The Minimum step size is respected as long as the solver converges well. The automatic step-size algorithm detects poor convergence speed and other "problems" and reduces the step size. For a problem that never reaches quadratic convergence speed (for example, due to an incomplete Jacobian or too crude tolerance) this algorithm is not optimal.
We are looking into improving this behavior for future versions. In 4.3b, you can add a "dummy parameter" to the parametric solver; doing so will turn off the continuation.
Best regards,
Magnus Ringh, COMSOL
Hi,
The Minimum step size is respected as long as the solver converges well. The automatic step-size algorithm detects poor convergence speed and other "problems" and reduces the step size. For a problem that never reaches quadratic convergence speed (for example, due to an incomplete Jacobian or too crude tolerance) this algorithm is not optimal.
We are looking into improving this behavior for future versions. In 4.3b, you can add a "dummy parameter" to the parametric solver; doing so will turn off the continuation.
Best regards,
Magnus Ringh, COMSOL
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
18.06.2013, 02:38 GMT-4
Felipe and Magnus,
thanks for replies.
Felipe, to better understand the problem: I want fewer paramtric step. Say I want to
solve only for two paramenter values. When set the parameters and use a simple stationary solve it converges nicely for any parameter. But when I start a parametric solve (be it "parametrc" or "continuation") the algorithm decides in some models to do many intermediate steps, which I believe to be unnecessary
And Magnus' trick avoids thes intermediate steps.
For the records and the help of others: I added a parameter, that is never used in the model, to the list of "continuation parameters" with one value and use the sweep type "all combination".
Thanks
Jens
Felipe and Magnus,
thanks for replies.
Felipe, to better understand the problem: I want fewer paramtric step. Say I want to
solve only for two paramenter values. When set the parameters and use a simple stationary solve it converges nicely for any parameter. But when I start a parametric solve (be it "parametrc" or "continuation") the algorithm decides in some models to do many intermediate steps, which I believe to be unnecessary
And Magnus' trick avoids thes intermediate steps.
For the records and the help of others: I added a parameter, that is never used in the model, to the list of "continuation parameters" with one value and use the sweep type "all combination".
Thanks
Jens