CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

inlet gas in shockTube (rhoCentralFoam solver)

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 28, 2013, 03:35
Default inlet gas in shockTube (rhoCentralFoam solver)
  #1
New Member
 
Gnosis Zhou
Join Date: Apr 2013
Posts: 3
Rep Power: 5
gnozh is on a distinguished road
Hi foamers,

I am investigating a case by using the shockTube tutorial (rhoCentralFoam solver).

The shockTube is divided into two parts by a diaphragm.

In my case, the left part is filled with hydrogen and the right part with air.

Nevertheless, the shockTube can only define one mixture in the thermophysicalProperties.

Then how can I define two different kind of gas in my case?

Thanks.
gnozh is offline   Reply With Quote

Old   March 20, 2014, 14:31
Default
  #2
New Member
 
Join Date: Mar 2013
Location: turkey
Posts: 8
Rep Power: 5
bob91 is on a distinguished road
hi
ı have same problem if you solve . can you help me ?
bob91 is offline   Reply With Quote

Old   March 24, 2014, 17:47
Default
  #3
Member
 
Jace
Join Date: Oct 2012
Posts: 77
Rep Power: 6
zhengzh5 is on a distinguished road
Quote:
Originally Posted by gnozh View Post
Hi foamers,

I am investigating a case by using the shockTube tutorial (rhoCentralFoam solver).

The shockTube is divided into two parts by a diaphragm.

In my case, the left part is filled with hydrogen and the right part with air.

Nevertheless, the shockTube can only define one mixture in the thermophysicalProperties.

Then how can I define two different kind of gas in my case?

Thanks.
Try using reactingMixture instead of pureMixture in constant/thermophysicalProperties. That way you can use setField to specify your initial specie distribution.

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

you can check out one of the lagrangian tutorial for the setup of thermophysicalProperties file.
zhengzh5 is offline   Reply With Quote

Old   July 17, 2014, 15:09
Default same problem
  #4
New Member
 
Ye
Join Date: Jul 2014
Posts: 1
Rep Power: 0
bluemuny is on a distinguished road
Hello all,

I am a new user of OpenFoam and doing my case using a shock tube sample in the rhoCentralFoam folder.
As with other folks above, I am using a shock tube with two different gases: He and air.
The sample, however, used only air in both sides, so the output has a lot of discrepancy.
I found that, in a setFieldsDict, we can put initial condition of pressure and temperature in both sides of a shock tube. Is there any way to put specific heat ratio and sound speed of both gases separately?
I have looked at the sample using reacting mixture instead of pure mixture but it is too difficult for me to understand.
If anyone knows a solution, could you explain to me?
Thank you very much in advance.

Best regards,
Ye
bluemuny is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
laminar compressible solver for rhoCentralFoam (OF-2.0.x) turbulentwakes OpenFOAM Running, Solving & CFD 2 March 21, 2012 04:02
Solver for gas flow LB_K OpenFOAM Running, Solving & CFD 0 December 14, 2011 21:12
Imlplementing Real Gas Effect in compressbl solver saurav pathak Main CFD Forum 0 February 18, 2008 06:27
If the gas flows out of the inlet boundary,... Miles CD-adapco 9 November 7, 2002 15:07
Gas pressure question Dan Moskal Main CFD Forum 0 October 24, 2002 22:02


All times are GMT -4. The time now is 02:36.