# Gas discharge from tank to tank through a pipe

 Register Blogs Members List Search Today's Posts Mark Forums Read

 April 4, 2008, 09:06 Gas discharge from tank to tank through a pipe #1 Arno Guest   Posts: n/a Hello, my preliminary goal is to model the gaseous discharge of a high-pressure vessel to a low-pressure one through a thin long pipe. The system is closed. I can't figure out how to "open the valve" at t = 0 between the high-pressure tank and the pipe. Is it an initial condition? It seems it can't be a boundary condition since I have adjacent cells around this interface (hp vessel at one side, pipe at another). Would be pleased to get a tip for this simple (I guess) case. Thank you folks.

 April 7, 2008, 13:17 Re: Gas discharge from tank to tank through a pipe #2 Sasha Guest   Posts: n/a Hi, You could use "patch" as an alternative initialization procedure: first initialize the whole domain to, say, high pressure, and then patch a low pressure on the low pressure part of the domain. Then run the calcs. Hope it helps.

September 27, 2010, 02:49
solution openning valve
#3
Member

andres
Join Date: Sep 2010
Posts: 44
Rep Power: 6
hi friend,
I have the solution of your problem... I know is two years later but, if you already need how to open a valve, I can give you a UDF code

hugs
Quote:
 Originally Posted by Arno ;149678 Hello, my preliminary goal is to model the gaseous discharge of a high-pressure vessel to a low-pressure one through a thin long pipe. The system is closed. I can't figure out how to "open the valve" at t = 0 between the high-pressure tank and the pipe. Is it an initial condition? It seems it can't be a boundary condition since I have adjacent cells around this interface (hp vessel at one side, pipe at another). Would be pleased to get a tip for this simple (I guess) case. Thank you folks.

December 25, 2010, 08:05
UDF code
#4
New Member

Raja
Join Date: Dec 2010
Posts: 1
Rep Power: 0
Quote:
 Originally Posted by cfdhydraulic hi friend, I have the solution of your problem... I know is two years later but, if you already need how to open a valve, I can give you a UDF code hugs
Hi CFDHydraulic
merry christmas and a happy new year
I need to UDF code
Best regards,
Raja Swata

 December 28, 2010, 10:52 Req #5 New Member   elahe Join Date: Dec 2010 Posts: 1 Rep Power: 0 Hi, I need that udf too mate, can u plz send me? thanks in advance.

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Matthieu Breysse FLOW-3D 5 December 10, 2009 22:18 stu CFX 3 May 24, 2007 18:23 GaoRui Main CFD Forum 0 May 24, 2007 04:13 Jan Main CFD Forum 1 October 30, 2006 08:54 Mario CFX 2 September 29, 2006 10:51

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