Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Pressure and velocity inlet boundary conditions

    • Aboma Wagari Gebisa
      Subscriber

      I have a valve with the fluid volume shown in the picture below. I know the Inlet pressure, inlet temperature and volume flow rate (from which I can compute the velocity). When I use the pressure at the inlet as pressure inlet boundary condition, the CFD simulation could not converge. However, when I use the computed velocity as an velocity inlet, it converges. But the pressure contour values from this simulation show far lower values than the pressure at the inlet. My question here is, how can I relate the velocity inlet  with the pressure inlet in my boundary condition? or is there a way I can relate the pressure contour with the inlet pressure on the simulation results  when I used solely the velocity inlet as boundary condition? Thank you in advance for your assistance

    • C N
      Ansys Employee

      Hello,

      Could you please share the screenshot of the contour plots and also  your boundary conditions. 

      Thanks

    • Aboma Wagari Gebisa
      Subscriber

      Hello,

      Thank you very much for your response. 

      Below are both  pressure and velocity contours.

       

       

      My boundary conditions used for the simulation are velocity inlet of 0.508m/s. My pressure at the inlet is 34.47MPa. However, I couldn't enter this value when I use velocity inlet boundary condition. 

      Thank you again for your assistance.

    • Nikhil N
      Ansys Employee

      Hello,

       

      "how can I relate the velocity inlet with the pressure inlet in my boundary condition?"

      Whenever you define the pressure inlet boundary condition, be aware that the value you assign is the stagnation pressure and not the static pressure at the inlet. Using the equation of the stagnation pressure (depending on the type of flow), the code computes the velocity components using the static pressure from the previous iteration. So ultimately, it will behave like a velocity inlet condition but with some manipulation.

      For incompressible flow:

       

      Thanks!

      Nikhil

      • Akbar Ravan Ghalati
        Subscriber

        Hi,

        Thanks for the explanation.

        Is it the same for Pressure Outlet BC? I mean Fleurnt calculates the velocity in the same way when we use Pressure Outlet BC?

    • Nikhil N
      Ansys Employee

      "However, I couldn't enter this value when I use velocity inlet boundary condition"

      When you assign velocity inlet condition, there is no need for the pressure value. However, when you assign pressure inlet condition, the solver will compute the velocity at the inlet. In either case, you can't define both.

    • Aboma Wagari Gebisa
      Subscriber

      @Nikhil

      I run the simulation based on your recommendation. 

      The simulation converges. The velocity contours show very big value compared to the the velocity I computed from the flow rate. In addition, when I check the absolute pressure contour, it shows higher value than the entered pressure at the inlet.  I was expecting the maximum pressure to be the pressure inlet.

      I am wondering why does that happen?

    • Niklas Melzer
      Subscriber
      Hello,
       
      I have a similar problem.
      I want to simulate a pipeline for my bachelor thesis and I know the initial pressure and the mass flow.
      How do I set the boundary conditions here?
       
      Thank you very much
Viewing 6 reply threads
  • The topic ‘Pressure and velocity inlet boundary conditions’ is closed to new replies.