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.
stationnary solver vs parametric a weird observation and a question
Posted 26.10.2010, 05:04 GMT-4 2 Replies
Please login with a confirmed email address before reporting spam
Hey,
I have a stationary model that exhibits what I consider a strange behaviour:
I need to calculate its solution for a parameter whose value is 1 for my application and the solver fail to find the solution.[convergence error]
I read the doc and they sugges, when such a thing occur, t to use parametric solver instead of stationary one. to reach the wanted solution.
SO I put a parametric solver where my parameter varied from 0 to 1 and it worke beautifully I found the solution I need. [ and I know it is correct for I have some benchmark against another code].
I should mention that for the value 0 of my parameter, the solution vector is zero and it is calculated assuch by comsol as the initial step of the parametric study
Now on a hunch I tried to run the stationnary solver used previously and in the parametric study[ NO CHANGE WERE MADE OF COURSE] to calculate my "zero solution"...
and then surprise" the stationnary solver does not converge !!! while it converged when 0 was my parametric initial value....
I cannot find ANYTHING in the doc that explain this behaviour..
anybody get an idea???
thanks
JF
I have a stationary model that exhibits what I consider a strange behaviour:
I need to calculate its solution for a parameter whose value is 1 for my application and the solver fail to find the solution.[convergence error]
I read the doc and they sugges, when such a thing occur, t to use parametric solver instead of stationary one. to reach the wanted solution.
SO I put a parametric solver where my parameter varied from 0 to 1 and it worke beautifully I found the solution I need. [ and I know it is correct for I have some benchmark against another code].
I should mention that for the value 0 of my parameter, the solution vector is zero and it is calculated assuch by comsol as the initial step of the parametric study
Now on a hunch I tried to run the stationnary solver used previously and in the parametric study[ NO CHANGE WERE MADE OF COURSE] to calculate my "zero solution"...
and then surprise" the stationnary solver does not converge !!! while it converged when 0 was my parametric initial value....
I cannot find ANYTHING in the doc that explain this behaviour..
anybody get an idea???
thanks
JF
2 Replies Last Post 26.10.2010, 07:12 GMT-4