Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Comsol-Pressure drop fluid flow in rectangular channel problem

  1. Nov 4, 2009 #1
    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

  2. jcsd
  3. Nov 4, 2009 #2


    User Avatar
    Science Advisor

    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.
  4. Nov 6, 2009 #3
    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

  5. Nov 6, 2009 #4


    User Avatar
    Science Advisor

    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.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook