Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
26 dic 2012, 05:06 GMT-5
One more question:
Is it possible to extract the matrix equation from COMSOL? I have convergence problem and can't get any clue from those error messages. If it's possible, I would like try to solve the matrix equation without COMSOL. Then at least this helps figure out what's the cause of the convergence problem.
Thanks!
--
Pu, ZHANG ??
Departamento de Física Teórica de la Materia Condensada,
Universidad Autónoma de Madrid,
Madrid, Spain.
One more question:
Is it possible to extract the matrix equation from COMSOL? I have convergence problem and can't get any clue from those error messages. If it's possible, I would like try to solve the matrix equation without COMSOL. Then at least this helps figure out what's the cause of the convergence problem.
Thanks!
--
Pu, ZHANG ??
Departamento de Física Teórica de la Materia Condensada,
Universidad Autónoma de Madrid,
Madrid, Spain.
Josh Thomas
Certified Consultant
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
26 dic 2012, 09:29 GMT-5
Pu-
1) Direct solvers can return convergence errors. Really, it's just an error check. In my experience, the solver still outputs a solution anyway. If you want the error to go away, click on Direct in the Model Builder window and in the settings window reduce the Factor in error estimate from the default which is 400. You can also set the Check error estimate to No and you won't get the error. Search in the documentation for "Convergence Criteria" and you will see the inequality definition for the error check.
2) Initial values for time-dependent problems is the solution at t=0. If you are solving a non-linear problem, initial values is the initial guess at the solution. This is true whether you are using a direct or an iterative linear system solver.
3) I've not done this myself but some previous posts on this talk about using Matlab livelink to access the matrix equations before solving.
Best regards,
Josh Thomas
AltaSim Technologies
Pu-
1) Direct solvers can return convergence errors. Really, it's just an error check. In my experience, the solver still outputs a solution anyway. If you want the error to go away, click on Direct in the Model Builder window and in the settings window reduce the Factor in error estimate from the default which is 400. You can also set the Check error estimate to No and you won't get the error. Search in the documentation for "Convergence Criteria" and you will see the inequality definition for the error check.
2) Initial values for time-dependent problems is the solution at t=0. If you are solving a non-linear problem, initial values is the initial guess at the solution. This is true whether you are using a direct or an iterative linear system solver.
3) I've not done this myself but some previous posts on this talk about using Matlab livelink to access the matrix equations before solving.
Best regards,
Josh Thomas
AltaSim Technologies
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
26 dic 2012, 09:40 GMT-5
Hi, Josh Thomas
Thanks a lot for your reply!
I checked the documentation about convergence criteria. For direct solver it is indeed just an error check.
I actually only concern a linear problem, then how's initial guess used for direct solvers. Are direct solvers supposed to require initial guesses?
About the extraction I will search around.
Thanks again!
--
Pu, ZHANG ??
Departamento de Física Teórica de la Materia Condensada,
Universidad Autónoma de Madrid,
Madrid, Spain.
Hi, Josh Thomas
Thanks a lot for your reply!
I checked the documentation about convergence criteria. For direct solver it is indeed just an error check.
I actually only concern a linear problem, then how's initial guess used for direct solvers. Are direct solvers supposed to require initial guesses?
About the extraction I will search around.
Thanks again!
--
Pu, ZHANG ??
Departamento de Física Teórica de la Materia Condensada,
Universidad Autónoma de Madrid,
Madrid, Spain.
Josh Thomas
Certified Consultant
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
26 dic 2012, 11:31 GMT-5
Pu-
My understanding is that initial values is NOT used if you have a linear, stationary problem.
Best regards,
Josh Thomas
AltaSim Technologies
Pu-
My understanding is that initial values is NOT used if you have a linear, stationary problem.
Best regards,
Josh Thomas
AltaSim Technologies
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
26 dic 2012, 11:35 GMT-5
Thanks for sharing your opinion!
I also think there's no way to use initial values during direct linear solving.
Best
--
Pu, ZHANG ??
Departamento de Física Teórica de la Materia Condensada,
Universidad Autónoma de Madrid,
Madrid, Spain.
Thanks for sharing your opinion!
I also think there's no way to use initial values during direct linear solving.
Best
--
Pu, ZHANG ??
Departamento de Física Teórica de la Materia Condensada,
Universidad Autónoma de Madrid,
Madrid, Spain.