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

Simulation of a emptying gas cylinder

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By ticofiz
  • 1 Post By LuckyTran
  • 1 Post By LuckyTran

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 3, 2016, 19:59
Default Simulation of a emptying gas cylinder
  #1
New Member
 
Alexander Comsa
Join Date: Jan 2016
Posts: 15
Rep Power: 10
ticofiz is on a distinguished road
Hi everybody,

I want to simulate a gas cylinder that that is open and closed periodically but I have problems with defining the Boundary Conditions. I do not know how to define the interior of the cylinder as there is no inlet. How can I specify that the interior is a gas at certain pressure? Also is there any way I could put a periodic opening and closing of the outlet?

Many thanks
ticofiz is offline   Reply With Quote

Old   March 4, 2016, 00:13
Default
  #2
Senior Member
 
Have a nice time!
Join Date: Feb 2016
Location: mech.eng.ahmedmansour@gmail.com
Posts: 291
Rep Power: 11
Ahmed Saeed Mansour is on a distinguished road
Check the tutorials out....I am sorry I cannot help you with more information.
https://www.google.com.eg/?gfe_rd=cr...cylinder+ansys
Ahmed Saeed Mansour is offline   Reply With Quote

Old   March 4, 2016, 05:34
Default
  #3
New Member
 
Alexander Comsa
Join Date: Jan 2016
Posts: 15
Rep Power: 10
ticofiz is on a distinguished road
Quote:
Originally Posted by Ahmed Saeed Mansour View Post
Check the tutorials out....I am sorry I cannot help you with more information.
https://www.google.com.eg/?gfe_rd=cr...cylinder+ansys
I think that most of the people are using today google search. I have tried many tutorials before asking here but none of them gave me any idea on how to solve this problem. I hoped that some of the forum users had encountered the same problem and could give some useful tips.
ticofiz is offline   Reply With Quote

Old   March 6, 2016, 00:49
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
I'm not quite sure what your problem is. Your interior and inlets/outlets should have been done already after you meshed the geometry. Do you even have your geometry defined? How about a mesh?

The interior is independent of any boundaries (inlet and outlets). The fact that there is no inlet has no effect whatsoever on the interior.

There's several ways to model a periodically open and closed valve but it depends on what the user is trying to do. If you can define precisely how you want to model the action of the valve opening then maybe someone can then help you with the implementation. Valve opening and close is too vague. Does it close instantaneously? Does it close completely or can it leak? What does the valve actually do? How do you want your valve to behave?

Once you have clearly started your problem, it is fairly straightforward. Unfortunately, Fluent is not the place for you to still be brainstorming.
LuckyTran is offline   Reply With Quote

Old   March 6, 2016, 01:54
Default
  #5
New Member
 
Alexander Comsa
Join Date: Jan 2016
Posts: 15
Rep Power: 10
ticofiz is on a distinguished road
Thank you for your reply,

The problem is that, after importing the mesh in Fluent I do not know how to define the interior of the cylinder as being a gas with a certain pressure. All the simulations I have done so far had inlet and outlet so the boundary conditions were easy to define.
In my case I want to see in time how the gas density profile changes inside the cylinder when I open or close suddenly the outlet. I could define the outlet as "pressure outlet" but how can I feed the gas when there is no inlet?

The valve can be idealised as a instant open or close.
ticofiz is offline   Reply With Quote

Old   March 6, 2016, 10:41
Default
  #6
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
It is a closed cylinder so you do not need any inlets.

What you have is a transient problem. Therefore you need to specify the initial pressure of the contents via the initialization.

Use a pressure outlet for when your valve is open. When the valve is closed, change it from a pressure outlet to a wall (no-slip or slip wall). You can do this manually or automate it.
ticofiz likes this.
LuckyTran is offline   Reply With Quote

Old   March 6, 2016, 20:24
Default
  #7
New Member
 
Alexander Comsa
Join Date: Jan 2016
Posts: 15
Rep Power: 10
ticofiz is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
It is a closed cylinder so you do not need any inlets.

What you have is a transient problem. Therefore you need to specify the initial pressure of the contents via the initialization.

Use a pressure outlet for when your valve is open. When the valve is closed, change it from a pressure outlet to a wall (no-slip or slip wall). You can do this manually or automate it.
It worked perfectly. Thank you very much for your help.
ticofiz is offline   Reply With Quote

Old   March 6, 2016, 23:30
Default
  #8
New Member
 
Alexander Comsa
Join Date: Jan 2016
Posts: 15
Rep Power: 10
ticofiz is on a distinguished road
I have added two extra zones, as shown in the attached picture. If I do not bother too much could you please tell me how I can specify that the gas flows only from the middle zone? I have no option in the Initialization to choose any of those zones. I have defined the outer shell of the added zones as pressure outlet and the outer shell of the middle zone as wall. The interface between zones is defined as interior.
Attached Images
File Type: png preview.png (33.6 KB, 8 views)

Last edited by ticofiz; March 6, 2016 at 23:31. Reason: some spell mistakes
ticofiz is offline   Reply With Quote

Old   March 7, 2016, 01:46
Default
  #9
New Member
 
Alexander Comsa
Join Date: Jan 2016
Posts: 15
Rep Power: 10
ticofiz is on a distinguished road
--------------------------------------------

Last edited by ticofiz; March 7, 2016 at 02:32. Reason: I put a question without checking properly my simulation.
ticofiz is offline   Reply With Quote

Old   March 7, 2016, 07:54
Default
  #10
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
You can patch variables in individual zones if that's what you're asking about.
ticofiz likes this.
LuckyTran is offline   Reply With Quote

Old   March 7, 2016, 19:00
Default
  #11
New Member
 
Alexander Comsa
Join Date: Jan 2016
Posts: 15
Rep Power: 10
ticofiz is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
You can patch variables in individual zones if that's what you're asking about.
Yes, it is exactly what I was looking for.
Thank you for your help.
ticofiz is offline   Reply With Quote

Reply

Tags
boundary conditions, fluent


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
Simulation of radial gas turbine, Inlet velocity components dmaz CFX 17 May 19, 2019 09:45
gas turbine combustion chamber cold flow simulation chawane FLUENT 1 January 21, 2016 10:56
Ideal gas v.s. Real gas for wing simulation Anna Tian Main CFD Forum 1 December 16, 2013 11:39
modification for rotating cylinder simulation zonexo Main CFD Forum 3 July 21, 2006 14:24
Tracer gas simulation with CFX4.3 CFX 4.3 users CFX 3 August 15, 2003 05:38


All times are GMT -4. The time now is 22:29.