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

shockTube simulation different solvers

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 18, 2009, 20:30
Default shockTube simulation different solvers
  #1
Member
 
Eelco Gehring
Join Date: Mar 2009
Posts: 70
Rep Power: 7
feijooos is on a distinguished road
Hi All,

I am working on simulating a shockTube in OF. I noticed that there are several shockTube tutorials available. I ran some of these, but I am confused what solver to pick. Do sonicFoam and rhoCentralFoam etc. give the same results?

Besides that, I noticed that the shocktube velocity in sonicFoam becomes sub-sonic. Isn't sonicFoam only for sonic flow?

In general, I am wondering what solver to use for this kind of problem?
I want to simulate the driver section with 2000 kPa and the driven section under atmospheric pressure (101.3 kPa). Temperature on both sides will be 300 K.

Thanks for you help!
feijooos is offline   Reply With Quote

Old   November 19, 2009, 04:33
Default rhoCentralFoam
  #2
Member
 
Join Date: May 2009
Posts: 31
Rep Power: 7
KrisT is on a distinguished road
I tried the shock tube tutorials in OpenFOAM before rhoCentralFoam. They give the wrong results (shock speed and states are wrong). You should use rhoCentralFoam (or maybe the new AeroFOAM - New densitybased solver AeroFoam).

If you wish you could test the solution against an analytical one, check the code in this link http://num.math.uni-goettingen.de/kn...ro_ss2006.html
KrisT is offline   Reply With Quote

Old   November 19, 2009, 10:49
Default
  #3
Member
 
Eelco Gehring
Join Date: Mar 2009
Posts: 70
Rep Power: 7
feijooos is on a distinguished road
thanks for the help, comparing against an analytical solution is a great idea!

Thanks,

Eelco
feijooos is offline   Reply With Quote

Old   November 19, 2009, 11:14
Default
  #4
Member
 
Eelco Gehring
Join Date: Mar 2009
Posts: 70
Rep Power: 7
feijooos is on a distinguished road
btw, do you have any idea why sonicFoam gives the wrong solution? This gets me thinking why the tutorial is given in the first place....
feijooos is offline   Reply With Quote

Old   November 19, 2009, 15:09
Default
  #5
Member
 
Join Date: May 2009
Posts: 31
Rep Power: 7
KrisT is on a distinguished road
No, but maybe scheme is not conservative?
KrisT is offline   Reply With Quote

Old   November 19, 2009, 15:22
Default
  #6
Member
 
Eelco Gehring
Join Date: Mar 2009
Posts: 70
Rep Power: 7
feijooos is on a distinguished road
hmm I was more thinking in the line of this: sonicFoam is only for sonic flow and a shocktube will always have sub-sonic flow.
feijooos is offline   Reply With Quote

Old   November 20, 2009, 04:10
Default
  #7
Member
 
Jean-Peer Lorenz
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 33
Rep Power: 7
jploz is on a distinguished road
Hi,

have a look at the following Master thesis by B. Wuethrich: 'Simulation and validation of compressible flow in nozzle geometries and validation of OpenFOAM for this application'. This work deals with shock tube problems and the solvers in OF (stat.ethz.ch/rw/alumni/thesis/Wuethrich_Benjamin_Masterarbeit.pdf). Nice work.

Good luck.
Jean-Peer
jploz is offline   Reply With Quote

Old   November 20, 2009, 10:44
Default
  #8
Member
 
Eelco Gehring
Join Date: Mar 2009
Posts: 70
Rep Power: 7
feijooos is on a distinguished road
Very nice documentation on this project indeed. This will be very helpful.

Thanks,

Eelco
feijooos is offline   Reply With Quote

Old   November 20, 2009, 17:20
Default
  #9
Member
 
Eelco Gehring
Join Date: Mar 2009
Posts: 70
Rep Power: 7
feijooos is on a distinguished road
Jean-Peer, I read through the document and verified several OF solver. They seem to line up very well against the analytical solution, especially rhoCentralFoam and rhopSonicFoam. Others are not so good, such as sonicFoam, which makes sense.

This was very helpful. Thanks
feijooos 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
Replacing mesh while running a simulation akultane CFX 1 November 15, 2009 13:46
FSI TWO-WAY SIMULATION Smagmon CFX 1 March 6, 2009 13:24
Continuous vs interrupted simulation sega OpenFOAM Running, Solving & CFD 4 November 3, 2008 14:29
Fire simulation using FDS from NIST Jens Main CFD Forum 1 January 22, 2004 01:53
3-D Contaminant Dispersal Simulation Apple L S Chan Main CFD Forum 1 December 23, 1998 10:06


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