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.
Ivar, could you please say something about the solver error?
Posted 3 lug 2012, 09:32 GMT-4 Fluid & Heat, Heat Transfer & Phase Change Version 3.5a 6 Replies
Please login with a confirmed email address before reporting spam
Hi,
I would like to model friction stir welding process. I used general heat transfer module and incompressible navier stokes module together. I do not have any problem with the heat transfer module, when I solve seperately, the heat transfer model gives reasonable results. But when I add the navier stokes model I get an error. NaN or failed to find.....(I can give later on detailed error message)
I checked all the boundary conditions, all of them are consistent with the real world. I added some pressure boundary conditions to ease the numerical calculations.
I think the problematic thing is the way I define the viscosity. The viscosity is a function of flow stress and strain rate. And again the flow stress is a function of temperature and strain rate. So the viscosity changes with the strain rate and temperature.
I ticked higly nonlinear problem alternative, I ticked complex number alternative, I tried several different solvers. But I could not manage to avoid this error.
I looked up for the error code in the manuals. I realized that this error occurs because of the viscosity equation. This equation has first derivatives of velocity components. In the manuals it says either change the expression or the initial values of the velocity components. I did change the initial values, but I got the same result. I also have to use the viscosity expression. What can you recommend? What can I do to eliminate this error.
Ivar, could you please say something?
I want to continue to have fun comsoling...but it is hard to do it now.:)
Atilla.
I would like to model friction stir welding process. I used general heat transfer module and incompressible navier stokes module together. I do not have any problem with the heat transfer module, when I solve seperately, the heat transfer model gives reasonable results. But when I add the navier stokes model I get an error. NaN or failed to find.....(I can give later on detailed error message)
I checked all the boundary conditions, all of them are consistent with the real world. I added some pressure boundary conditions to ease the numerical calculations.
I think the problematic thing is the way I define the viscosity. The viscosity is a function of flow stress and strain rate. And again the flow stress is a function of temperature and strain rate. So the viscosity changes with the strain rate and temperature.
I ticked higly nonlinear problem alternative, I ticked complex number alternative, I tried several different solvers. But I could not manage to avoid this error.
I looked up for the error code in the manuals. I realized that this error occurs because of the viscosity equation. This equation has first derivatives of velocity components. In the manuals it says either change the expression or the initial values of the velocity components. I did change the initial values, but I got the same result. I also have to use the viscosity expression. What can you recommend? What can I do to eliminate this error.
Ivar, could you please say something?
I want to continue to have fun comsoling...but it is hard to do it now.:)
Atilla.
6 Replies Last Post 16 ago 2012, 08:36 GMT-4