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.

Turbulence model of hydraulic valve

Mikael Noerregaard Nielsen
Hello everybody

I really hope you can help me with this:-)
I'm currently trying to simulate a flow of hydraulic oil through a valve however, I keep getting the following error:
Failed to find a solution.
In segregated group 1:
Divergence of the linear iterations.
Returned solution is not converged.

I'm relatively new at using Comsol but this forum has giving me a lot of information and I've solved many of my previous poblems using your answers although I couldn really find anything about my current problem. I've tried to fix the stated problem by increasing the Factor of error estimate which did'n do anything.
It's a rather simple geometry at 220x160x140 [mm] and Im having enough elements for the boundary layer mesh to be without errors or problems which leaves me at 271206 degrees of freedom.

I've included the convergence plot.

Best regards

Mikael



3 Replies Last Post Oct 16, 2012, 4:42 AM EDT
Posted: 5 years ago Oct 15, 2012, 2:14 PM EDT
Hi

CFD is tricky indeed, often the initial conditions are too far off, then try to refine them or make a first steady state at lower flow, then ramp up from there, or you need to increase drastically the number of max iteration (default 25) or sometimes, you are missing a complete BC such as a gauge pression settings.

Also if you have enough RAM you could try to run a direct solver, sometimes they work better, depends on the model there is no single answer.

CErtainly plotting velocity and pressure helps often to see what is happening. Not to say in case of turbulent flow its trickier ^n ;)

--
Good luck
Ivar
Hi CFD is tricky indeed, often the initial conditions are too far off, then try to refine them or make a first steady state at lower flow, then ramp up from there, or you need to increase drastically the number of max iteration (default 25) or sometimes, you are missing a complete BC such as a gauge pression settings. Also if you have enough RAM you could try to run a direct solver, sometimes they work better, depends on the model there is no single answer. CErtainly plotting velocity and pressure helps often to see what is happening. Not to say in case of turbulent flow its trickier ^n ;) -- Good luck Ivar

Posted: 5 years ago Oct 16, 2012, 2:16 AM EDT
Hi,

First of all in your graph Segregated group 1 does converge, it is Segregated group 2 not to converge in time. However, if you need help you need to upload yoru model, this piece of information is not enough.

Cheers
Hi, First of all in your graph Segregated group 1 does converge, it is Segregated group 2 not to converge in time. However, if you need help you need to upload yoru model, this piece of information is not enough. Cheers

Mikael Noerregaard Nielsen
Posted: 5 years ago Oct 16, 2012, 4:42 AM EDT
Hey Ivar and Amir

Thanks a lot to both of you for the fast replies!
The solution to my problem was actually very simple = direct solver.
Again, thanks a lot

Best regards

Mikael

PS. Amir, I found that odd as well. Segregated group 1 seemed to converge however, I got the error stated above. No explanation that one though:-/

Hey Ivar and Amir Thanks a lot to both of you for the fast replies! The solution to my problem was actually very simple = direct solver. Again, thanks a lot Best regards Mikael PS. Amir, I found that odd as well. Segregated group 1 seemed to converge however, I got the error stated above. No explanation that one though:-/

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.