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

How to simulate valve using pressure BC??

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 16, 2010, 11:46
Default How to simulate valve using pressure BC??
  #1
Member
 
Lukasz
Join Date: Mar 2009
Posts: 67
Rep Power: 17
Luk_Fiz is on a distinguished road
Hi,
I am trying to simulate the following situation during 1 second transient run:
The domain is a pipe with inlet and outlet:
a) between 0[s] and 0.5 [s] there is given mass flow in the inlet. In the same time the outlet is closed by the valve (no mass flow). In this time the domain is "pumped up", with growing gas pressure.
b) between 0.5[s] and 0.8[s] both inlet and outlet are closed.
c) between 0.8[s] and 1[s] the outlet valve is opened giving free outlet (zero pressure).
I want to use compressible air.

And now: inlet is simple: MassFlow with step function. But I have no idea what to give to the outlet. I was trying to set up pressure equal to inlet but anyway there is mass flow through the outlet (because inlet mass flow sets up velocity).

Any ideas?
Big thanks,
Luk
Luk_Fiz is offline   Reply With Quote

Old   August 16, 2010, 14:01
Default
  #2
New Member
 
Join Date: Jun 2010
Posts: 20
Rep Power: 15
serezhkin is on a distinguished road
Imho, you can split it into 2 runs:
1) 0-0.8s, wall BC on the outlet
2) 0.8-1s, pressure BC, using ouput file from run 1 as IC for run 2.
serezhkin is offline   Reply With Quote

Old   August 16, 2010, 14:29
Default
  #3
Member
 
Lukasz
Join Date: Mar 2009
Posts: 67
Rep Power: 17
Luk_Fiz is on a distinguished road
Well, I agree but You know...))
Luk_Fiz is offline   Reply With Quote

Old   August 16, 2010, 14:46
Default
  #4
New Member
 
Join Date: Jun 2010
Posts: 20
Rep Power: 15
serezhkin is on a distinguished road
I guess another way of doing it is to set pressure BC side as outlet and specify a very high pressure for 0-0.8s. When ANSYS detects a backflow from the outlet, it puts a virtual wall over it to prevent it, and gives you a warning message. This way, you will have a virtual wall over the outlet for 0-0.8s.

Pretty sure this is not what ANSYS programmers had in mind when they implemented this, though
serezhkin is offline   Reply With Quote

Old   August 16, 2010, 18:27
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Your high pressure outlet idea might work, but it also might be dreadfully numerically unstable. As you say, it was never intended to do this so who knows what might happen. Splitting the run into two and changing the outlet BC seems like the best approach to me. Using the new multi-definition run thing (V12) I think you can do this in the same def file so it is easy to implement.

I assume these flow regimes come from opening and closing valves. Are you interested in the flow near the valves? In this case you should model the valve opening and closing and that will give you your boundaries and there is no need to restart the run.
ghorrocks 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
"Pressure Inlet" Boundary Setup Wijaya FLUENT 15 May 18, 2016 10:08
How to simulate a static pressure sensor? axel cole Siemens 1 April 16, 2008 17:49
Does star cd takes reference pressure? monica Siemens 1 April 19, 2007 11:26
How can i simulate a valve motion ???????? popi CFX 6 September 19, 2006 10:54
Neumann pressure BC and velocity field Antech Main CFD Forum 0 April 25, 2006 02:15


All times are GMT -4. The time now is 18:49.