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.
Use a solution of a very similar problem as initial values...
Posted 11.12.2013, 12:17 GMT-5 Studies & Solvers, Structural Mechanics Version 4.3b 1 Reply
Please login with a confirmed email address before reporting spam
I am generating a phononic band diagram of a photonic crystal (mechanics-analogy to photonic bands...) by sweeping the bloch-floquet k vector from Matlab (i.e. a boundary condition - but in general, the same should hole for all small changes to a model).
So in principle, for each k vector, just the boundary conditions change a little, the rest stays the same.
Yet apparently (computation times!), each step costs as much time as the first one.
For direct solvers, I kind of understand this, but at least for iterative solvers, I would like to benefit from my knowledge of the previous solution.
I tried to enforce this with the ...refine.mph-file by setting an iterative solver on the same problem with the initial values being the solutions already, but still, it takes forever to converge.
So now my question: How can I make, for this and similar problems, use of the fact that I almost know the solution already? In principle it would be sufficient even if I could just follow inly one eigenfrequency by its way through k-space...
And is the comsol internal sweep doing something different from what I tried (I would prefer not to use it since steering from Matlab is more comfortable...)?
Obviously either my understanding of iterative solvers or my try to use them is quite wrong - but why exactly?
Thanks for any help and/or comments...
Wolfgang
Hello Wolfgang Noichl
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.