CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Flow in a flexible pipe with a valve

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By ghorrocks
  • 1 Post By ghorrocks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2022, 19:03
Default Flow in a flexible pipe with a valve
  #1
Member
 
David
Join Date: Aug 2013
Posts: 72
Rep Power: 12
mrkmrk is on a distinguished road
Hi Everyone,

I am trying to model an incompressible fluid's flow through a pipe with a sliding valve in the middle. I asked about my question on the Fluent forum but haven't heard any response yet. Since this seems to be a general CFD question, please permit me to ask it here as well.

In the pipe shown in the figure below, the pressure inlet and outlet profiles are applied to the inlet and outlet of the pipe. The pipe's walls are deformable. Flow is modeled using FSI simulation.

From t=0 - 10 s, the valve is fully closed. The problem is that in this time interval, the flow velocity in the left part of the pipe increases to 0.7 m/s, while since there is no outlet for the left portion of the pipe, the velocity in this part should be near zero.

It should be mentioned that to avoid splitting the computational domain, a small gap is left between the valve and the lower wall. Flow cannot pass through this gap because it is modeled using Fluent's Gap model, and it is defined that when the sliding valve gets closer than a predefined value to the lower wall, it shouldn't let flow pass.

Und1.jpg

I would appreciate any help you can provide.
mrkmrk is offline   Reply With Quote

Old   February 8, 2022, 21:11
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,803
Rep Power: 32
Opaque will become famous soon enough
Not certain what you are trying to achieve in the early transient of your model.

If the valve is closed, and you have an incompressible fluid you can only assume the initial velocity is 0 (patch it), the static pressure is the total pressure at your inlet, and the valve must be fully closed.

Once the valve is partially open, regardless of the amount, the fluid MUST move through (pure physics) and the flow on the left side will start to move.

If the pipe is elastic, and you increase the pressure the walls should bulge out and the fluid velocity should increase from 0 to whatever the physics is. Once the valve opens, depending on how fast the valve is open the wall may retract or continue bulging out.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Old   February 8, 2022, 22:12
Default
  #3
Member
 
David
Join Date: Aug 2013
Posts: 72
Rep Power: 12
mrkmrk is on a distinguished road
Dear Opaque,

Thank you for your help.

Quote:
If the valve is closed, and you have an incompressible fluid you can only assume the initial velocity is 0 (patch it), the static pressure is the total pressure at your inlet, and the valve must be fully closed.
This is exactly what I expect to get but the velocity on the left side of the valve increases with time. I think this is a convergence issue as my continuity residuals are increasing by time (at the end of the 20th time step the continuity residual converges to 10! ). I think considering a slightly compressible fluid should improve the residuals. Do you suggest any other method to solve this problem?
mrkmrk is offline   Reply With Quote

Old   February 9, 2022, 05:41
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
It is always best to model the actual physics of what is really happening rather than trying to make up some physics which might work.

So how does the actual device operate in the phase when the valve is shut? The pump or pressure source will have some form of system characteristic, so if you dead head it (which is what you are doing) then you are going to go to some extreme points on the system characteristic. But it will tell you what really happens in this initial phase.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   February 10, 2022, 12:28
Default
  #5
Member
 
David
Join Date: Aug 2013
Posts: 72
Rep Power: 12
mrkmrk is on a distinguished road
Dear Glenn,

Thank you very much for your help.

Yes. I understand that this is not a physically reasonable condition. However, I need to prestress the valve considering these pressure profiles because, in real physics, the pressure values on the left side of the valve never get below 10000 Pa, and that of the right side will always be more than 100 Pa. On the other hand, we cannot apply the final pressure values (10000 Pa) to the wall as a step function because this will distort the structure elements.

Do you know any trick to impose these pressure values while preserving the fluid velocity near zero (initial condition)?

Thank you.
mrkmrk is offline   Reply With Quote

Old   February 10, 2022, 13:23
Default
  #6
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27
Gert-Jan will become famous soon enough
Is "FSI with deforming mesh" possible to combine with "immersed solids" in CFX?
In that way it would be possible to use a pressure inlet and outlet while using the immersed solid as a valve to open and close.

I have used the immersed solid method succesfully, in a pipe with a ball valve. Since the pipe wall was fixed, I did not have to use FSI with deforming mesh.

Last edited by Gert-Jan; February 10, 2022 at 18:32.
Gert-Jan is offline   Reply With Quote

Old   February 10, 2022, 13:27
Default
  #7
Member
 
David
Join Date: Aug 2013
Posts: 72
Rep Power: 12
mrkmrk is on a distinguished road
Dear Gert-Jan,

Thanks for your help.

I am using Fluent to perform the FSI analysis.

The valve senses the deflection's direction. If the pressure on the upstream gets higher than the pressure on the right side of it, then the valve deforms toward the downstream and this triggers a mechanism that closes the valve.
mrkmrk is offline   Reply With Quote

Old   February 10, 2022, 18:44
Default
  #8
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27
Gert-Jan will become famous soon enough
You mentioned earlier that the the pipe can deform and the value can slide up and down, as sketched in your picture. Now you mention that the valve can deform as well. So, it can do multiple things? I'm lost.

To me it is unclear what exact question you want to answer when doing this CFD-study. The title of your query is: "Flow in a flexible pipe with a valve". But that isn't the whole story? Is it the deformation of the pipe? The valve? Both? Pressure drop? Flowrate? Fluent testing? FSI testing?
Gert-Jan is offline   Reply With Quote

Old   February 16, 2022, 08:59
Default
  #9
Member
 
David
Join Date: Aug 2013
Posts: 72
Rep Power: 12
mrkmrk is on a distinguished road
Dear Gert-Jan,

Thank you very much for your attention.
I am sorry for not being able to disclose the exact mechanism of this valve. I think we can simplify the problem to a cylinder and piston. We want to increase the pressure inside the chamber without changing the velocity of fluid particles. Considering deformable walls for the cylinder, this should be possible. Please let me know if I am not on the right track.

As Glenn mentioned, this is not a physically valid problem. If we consider the cylinder and piston problem without opening an outlet, the pressure will rise when the piston compresses the air inside the cylinder. So the system will reach an extreme point. Since we have only one inlet for a very limited time interval, the only way to model this problem is to include the transient effects, which I am neglecting here.

Thank you again!

Last edited by mrkmrk; February 16, 2022 at 11:18.
mrkmrk is offline   Reply With Quote

Old   February 16, 2022, 17:15
Default
  #10
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
If your system is not physically possible then you cannot model it as CFX models physical systems. You have some scope to bend reality in a simulation but not much.

In an incompressible flow, for a given velocity field it will define the one and only pressure field which goes with it. But note the pressure field is really just a pressure variation from a reference pressure - you can change the reference pressure and offset the whole pressure field up and down. But you cannot change the pressure variation from that reference pressure.

So your question of how to "increase the pressure without changing the velocity" can be answered by changing the reference pressure to increase or decrease the pressure level, but the pressure variations from that reference pressure are set by the defined velocity field and never change.
mrkmrk likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   February 18, 2022, 16:59
Default
  #11
Member
 
David
Join Date: Aug 2013
Posts: 72
Rep Power: 12
mrkmrk is on a distinguished road
Dear Glenn,

Thank you very much. Changing the reference pressure should work!

I hope I can define an expression for it so that in the beginning I can increase it linearly with respect to time.
mrkmrk is offline   Reply With Quote

Old   February 18, 2022, 17:36
Default
  #12
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
No, you cannot change the reference pressure. Once set it must be fixed for the entire run - otherwise it is not much of a reference pressure, is it?

But for an incompressible flow changing the reference pressure during the run (if it could be done) would do nothing anyway. As I said, for an incompressible flow it is only pressure VARIATION which is relevant, the absolute pressure level has no effect.
mrkmrk likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   February 19, 2022, 20:47
Default
  #13
Member
 
David
Join Date: Aug 2013
Posts: 72
Rep Power: 12
mrkmrk is on a distinguished road
Dear Glenn,

I agree that the reference pressure should remain constant throughout the simulation.
Fortunately, the fluid is incompressible, and I can confirm that I could successfully define a time-dependent profile for the reference pressure, and it worked very well!

Your help is much appreciated!
mrkmrk is offline   Reply With Quote

Old   February 20, 2022, 03:24
Default
  #14
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I did not know you could do that. You learn something every day.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   February 21, 2022, 10:00
Default
  #15
Senior Member
 
Join Date: Jun 2009
Posts: 1,803
Rep Power: 32
Opaque will become famous soon enough
Quote:
Originally Posted by mrkmrk View Post
Dear Glenn,

I agree that the reference pressure should remain constant throughout the simulation.
Fortunately, the fluid is incompressible, and I can confirm that I could successfully define a time-dependent profile for the reference pressure, and it worked very well!

Your help is much appreciated!
Hope you meant a "time-dependent value for reference pressure". There is no way to make a profile (where profile means a no-time dependent distribution)
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Old   February 21, 2022, 18:28
Default
  #16
Member
 
David
Join Date: Aug 2013
Posts: 72
Rep Power: 12
mrkmrk is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
I did not know you could do that. You learn something every day.
We have the privilege of getting help from omnipotent scholars here which makes learning new things in CFD straightforward. Thank you!
mrkmrk is offline   Reply With Quote

Old   February 21, 2022, 18:44
Default
  #17
Member
 
David
Join Date: Aug 2013
Posts: 72
Rep Power: 12
mrkmrk is on a distinguished road
Quote:
Originally Posted by Opaque View Post
Hope you meant a "time-dependent value for reference pressure". There is no way to make a profile (where profile means a no-time dependent distribution)
Dear Opaque,

Thanks for letting me know. Yes. I meant a function that defines the relationship between pressure and time.
mrkmrk is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in mass flow rates in inlet region of pipe during pipe flow simulation fluent_user121 CFX 1 September 22, 2019 14:04
Transient simulation of flow through a valve aadit.shroff Main CFD Forum 12 April 12, 2018 04:20
Reverse Flow at Rotating Pipe Outlet vismech STAR-CCM+ 1 August 11, 2009 10:38
About Turbulence Intensity (Pipe flow assimilated) gRomK13 Main CFD Forum 1 July 10, 2009 03:11
outlet boudary condition for a flow in the pipe Atit CFX 2 November 9, 2004 17:43


All times are GMT -4. The time now is 03:41.