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.

Setting pressure

Please login with a confirmed email address before reporting spam

I want to study flow in pipe

I want to set v = 0.05 m/s AND p = 5 atmat the inlet

How to set them both? I mean, under laminar flow -> inlet -> boundary conditions I can choose one or the other, right?

3 Replies Last Post 28.11.2016, 07:20 GMT-5

Please login with a confirmed email address before reporting spam

Posted: 9 years ago 29.07.2015, 11:39 GMT-4
upgrade:
I've set the velocity under laminar flow -> inlet
then i've added pressure point constraint (under lamina flow, as well), and choosen the two vertex of the inlet. this allows me to have 5atm in that two points. Is there a way to have 5 atm on the whole line?

I could add many many points under geometry where the inlet line is, but I'm quite sure there has to be a better way to solve this problem.

help me... SOS
upgrade: I've set the velocity under laminar flow -> inlet then i've added pressure point constraint (under lamina flow, as well), and choosen the two vertex of the inlet. this allows me to have 5atm in that two points. Is there a way to have 5 atm on the whole line? I could add many many points under geometry where the inlet line is, but I'm quite sure there has to be a better way to solve this problem. help me... SOS

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 9 years ago 29.07.2015, 15:24 GMT-4
Hi

First of all, are you aware that the flow equations solve for a gauge pressure nominally set to "0" on the outlet. And you add an Gauge offset value of by default 1[atm] to get p_absolute=p+p_ref, the one used to map the material properties of your fluid if these are pressure dependent ?

So you need to define the inlet/outlet "p's" as the pressure drop along your pipe, and not "absolute" pressure, or reset the default p_ref value to "0" ...

then normally the fluid velocity and pressure drop are related via the fluid flow equations, so you cannot set all => what our your outlet BC conditions?

I usually define an initial pressure drop along my pipe based on the Poiseuille formula so the solver converges far quicker, and an inlet velocity of a parabolic profile to respect the no-slip boundary conditions. And my defaults are velocity in, pressure out.

Wht you might want to do is to add an equation on the outlet pressure to adjust the inlet pressure to i.e. 5(-1?)[atm]

--
Good luck
Ivar
Hi First of all, are you aware that the flow equations solve for a gauge pressure nominally set to "0" on the outlet. And you add an Gauge offset value of by default 1[atm] to get p_absolute=p+p_ref, the one used to map the material properties of your fluid if these are pressure dependent ? So you need to define the inlet/outlet "p's" as the pressure drop along your pipe, and not "absolute" pressure, or reset the default p_ref value to "0" ... then normally the fluid velocity and pressure drop are related via the fluid flow equations, so you cannot set all => what our your outlet BC conditions? I usually define an initial pressure drop along my pipe based on the Poiseuille formula so the solver converges far quicker, and an inlet velocity of a parabolic profile to respect the no-slip boundary conditions. And my defaults are velocity in, pressure out. Wht you might want to do is to add an equation on the outlet pressure to adjust the inlet pressure to i.e. 5(-1?)[atm] -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 28.11.2016, 07:20 GMT-5
Dear Ivar,
is it possible to set a specific pressure drop along the tube or only inlet vel+ inlet pressure + outlet pressure? My problem is, that right after the inlet my pressure drops really fast! So the high inlet pressure remains only over let´s say 5% of the total tube length.

Regards, Kristina
Dear Ivar, is it possible to set a specific pressure drop along the tube or only inlet vel+ inlet pressure + outlet pressure? My problem is, that right after the inlet my pressure drops really fast! So the high inlet pressure remains only over let´s say 5% of the total tube length. Regards, Kristina

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.