CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

warming up gas expansion problem

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 8, 2014, 09:25
Default warming up gas expansion problem
  #1
Senior Member
 
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 144
Rep Power: 14
ziemowitzima is on a distinguished road
Dear Foamers,
I am modeling cold gas injection (5K) into a tunnel filled with warm other gas (300K).
I noticed that cold gas is not expanding properly, there is to little of it in the tunnel.

did any of you encountered similar problem ?

regards
mm
ziemowitzima is offline   Reply With Quote

Old   October 8, 2014, 15:36
Default
  #2
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 728
Rep Power: 25
mturcios777 will become famous soon enough
What are the boundary conditions of your injection? When you say too little gas, do you mean compared with experiment?
mturcios777 is offline   Reply With Quote

Old   October 9, 2014, 14:07
Default
  #3
Senior Member
 
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 144
Rep Power: 14
ziemowitzima is on a distinguished road
1. inlet/ejection BC is:
a) for U - time dependent mass flow of the cold gas1.
b) for p - zeroGradient
c) for gas1 (cold) - constant = 1
d) for bulk gas2 (warm) - constant = 0
e) for temperature T = 5K

2. yes it is too little comparing to experiment and comparing to fluent results

I am using reactinFOAM with chemistry off.

Thanks for your interest !

mm
ziemowitzima is offline   Reply With Quote

Old   October 9, 2014, 14:23
Default
  #4
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 728
Rep Power: 25
mturcios777 will become famous soon enough
Quote:
Originally Posted by ziemowitzima View Post
1. inlet/ejection BC is:
a) for U - time dependent mass flow of the cold gas1.
b) for p - zeroGradient
c) for gas1 (cold) - constant = 1
d) for bulk gas2 (warm) - constant = 0
e) for temperature T = 5K

2. yes it is too little comparing to experiment and comparing to fluent results

I am using reactinFOAM with chemistry off.

Thanks for your interest !

mm
No problem. I'm not sure about your conditions for c/d, is that the mass fraction? I've found slightly better success with injection when the inlet pressure condition is inletOutlet. Also, what gases are you injecting, and what is the thermo model you are using?
mturcios777 is offline   Reply With Quote

Old   October 9, 2014, 16:02
Default
  #5
Senior Member
 
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 144
Rep Power: 14
ziemowitzima is on a distinguished road
yes,
c) and d) are just mass fraction.

how would you define inletOutlet condition for pressure ?
I do not know the value of the pressure at the eject/inlet.

I am injecting Helium, modelled as a perfect gas, but this assumption should be fine, because the same is used in Fluent.

for thermo model I use:

thermoType
{
type hePsiThermo;
mixture reactingMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
equationOfState perfectGas;
specie specie;
}

Last edited by ziemowitzima; October 9, 2014 at 16:02. Reason: bug
ziemowitzima is offline   Reply With Quote

Old   October 9, 2014, 17:29
Default
  #6
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 728
Rep Power: 25
mturcios777 will become famous soon enough
Well, inletOutlet switches the boundary between being constant value or zeroGradient depending on if the flow is into or out of the domain. Its more a stability helper for me. The extra entry is inletValue, which is the constant value the pressure will be if the flow is into the domain.

Try that with some pressure that is close to what you think it should be. Is this gas coming from a resevoir? Also, is the mesh grading similar to what the Fluent simulation used?
mturcios777 is offline   Reply With Quote

Old   October 10, 2014, 09:30
Default
  #7
Senior Member
 
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 144
Rep Power: 14
ziemowitzima is on a distinguished road
Hi,
The gas in forcedly ejected in to the tunnel with the mas flow approx 1kg/s.
So the flow is always into the domain (because it is inlet).

As far as I know, inletOutle BC should be used at the outlet from the domain ?
ziemowitzima is offline   Reply With Quote

Reply

Tags
cold gas, expansion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Converge problem for unsteady gas solid flow kongl1986 FLUENT 5 March 1, 2012 17:31
modeling gas expansion queequeg FLUENT 0 June 19, 2010 02:04
source term in a gas mixture problem Kevin Siemens 0 March 27, 2008 06:55
Sod shock tube problem with real gas effects ganesh Main CFD Forum 0 October 17, 2006 02:22
Sudden expansion problem yongha Siemens 0 August 16, 2002 08:10


All times are GMT -4. The time now is 05:20.