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.
URGENT: How to mix solutions from previous iterations
Posted 20 juin 2016, 10:43 UTC−4 Version 4.3a, Version 4.3b, Version 4.4, Version 5.0, Version 5.1, Version 5.2, Version 5.2a 0 Replies
Please login with a confirmed email address before reporting spam
First I solve one for u assuming u2=0.
Then I solve for u2 using the solution for u.
Then I mix the new solution for u2 with the one from the previous iteration (in the first step it was assumed u2=0.)
And the approach is repeated until convergence is reached.
How is the above most easily set up in COMSOL? I have set up a study with two steps. On for each of the differential equations. Then I make a for-loop statement in the solver and specify an appropriate number of iterations. The problem is how to call the solution for u2 from the current and previous iteration. I have looked at the ''Variables solved for/ not solved for'' tabs as on the attached picture. What should I put in these? And how do I tell the solver to use a zero solution for the very first iteration and then mix with the previous in the next?
Attachments:
Hello August Mikkelsen
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.