Comsol-Pressure drop fluid flow in rectangular channel problem

Click For Summary
A user is attempting to model pressure drop in a rectangular channel using COMSOL but encounters a solver error when setting the inlet velocity to 0.5 m/s, while lower velocities work fine. Suggestions include ramping up the velocity gradually and adjusting boundary conditions to improve solver stability. The user successfully resolves the issue by switching to a time-dependent model, which allows for a smoother transition in flow conditions. The discussion highlights the importance of avoiding sudden changes in flow to prevent solver instability. Overall, proper modeling techniques can significantly enhance the performance of simulations in COMSOL.
baranii2000
Messages
4
Reaction score
0
Dear all,

I am trying to solve a simple model with Comsol to find the pressure drop in a rectangular channel W=5mm, h=0.6mm, L=10mm. When i try to set the inlet velocity to 0.5m/s the solver shows the error message "Maximum number of Newton iterations reached". The solver works fine if i set the input velocity to lower velocity(eg., 0.005m/s). when i increase the velocity to 0.05 m/s the solver ends up with the error message. I even tried to increase the height of the channel, still get the same error sequence.

I am using a Stationary, Direct (Pardiso)solver.

Any comments or help is much appreciated.

Thanks in advance

Arun
 
Engineering news on Phys.org
I'm not familiar with COMSOL, but here are a couple things you can try. First, try ramping the velocity up. Solvers hate suddenly seeing a flow.

Also, you can try changing the boundary condition to total pressure at the inlet, and static at the outlet for a first cut. These tend to be more well posed than others and can have better stability.
 
Thanks Minger,

Actually your comment on the solver crash on seeing sudden high velocity at inlet was very useful. I remodelled as a time dependent file and now it works fine...

Many thanks

Arun
 
Right, just to clarify a little more on what happens. Unless you normalize your mean flow at t=0 to some value, at that time 0, you suddenly impose a velocity at the inlet. One point inwards your trying to either take a derivative or calculate an integral with a discontinous flow.

You will calculate an artificially high flux at that point, which will then give you an artificially high time derivative. This will just continue until your solution blows up.
 
Had my central air system checked when it sortta wasn't working. I guess I hadn't replaced the filter. Guy suggested I might want to get a UV filter accessory. He said it would "kill bugs and particulates". I know UV can kill the former, not sure how he thinks it's gonna murder the latter. Now I'm finding out there's more than one type of UV filter: one for the air flow and one for the coil. He was suggesting we might get one for the air flow, but now we'll have to change the bulb...

Similar threads

Replies
3
Views
2K
Replies
0
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 0 ·
Replies
0
Views
1K
  • · Replies 45 ·
2
Replies
45
Views
6K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 31 ·
2
Replies
31
Views
4K