CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

ShockTube tutorial modification

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

LinkBack Thread Tools Display Modes
Old   January 11, 2013, 09:21
Default ShockTube tutorial modification
New Member
Join Date: Jan 2013
Posts: 2
Rep Power: 0
cts is on a distinguished road
Can anyone give me a bit of an explanation with i needed to input my patch types as symmetryPlanes instead of wall or patch in order to observe shockwave reflections in a shocktube?

my scenario that I modeled:
1 x 0.1 x 0.1 tube
LHS to 0.5: p = 10atm, T = 300
0.5 to RHS: p = 1atm T = 300
runtime: 0.020

i think dimensions and initial conditions for p and setFieldsDict were all i changed (other then the symmetryPlane input).

cts is offline   Reply With Quote

Old   January 15, 2013, 16:03
Default sonicFoam strange results with shockTube slightly modified
New Member
Subramanyam Natarajan
Join Date: Apr 2010
Location: Bangalore, India
Posts: 10
Rep Power: 9
subramanyamn is on a distinguished road

I modified the shockTube tutorial keeping P_left = 10 atm, P_right = 1 atm, T=300. setFieldDict P is at 50% x:
Case 1:
x=1 nx =100
y=0.05 ny = 5
z=0.001 nz = 1
max U = 301 m/s

x=1 nx=100
y_left=0.05 y_right=0.08 ny = 5 (diverging pipe)
z=0.001 nz=1
max U = 100m/s

x=1 nx=100
y_left=0.05 y_right=0.03 ny=5 (converging pipe)
z=0.001 nz=1
max U = 24m/s

logically thinking the results are incorrect. Can someone please help with why this could be happening?

Update 2-Feb-2013:
The above solution was with sonicFoam. I have tried now with rhoCentralFoam too. Exactly same behaviour!

This time:
shockTube tutorial, the standard in rhoCentralFoam

shockTubeDiv :
x_left = (-5,-1)(-5,1)

I have uploaded the cases for reference. Someone please help!
Attached Files
File Type: gz shockTubeDiv.tar.gz (73.0 KB, 29 views)

Last edited by subramanyamn; February 1, 2013 at 06:58. Reason: Adding more info
subramanyamn is offline   Reply With Quote


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
[ANSYS Meshing] I need tutorial files colorful ANSYS Meshing & Geometry 5 September 19, 2014 01:21
Problem on Fluent Tutorial: Horizontal Film Boilig Feng FLUENT 2 April 13, 2013 05:34
[Virtualization] OpenFOAM oriented tutorial on using VMware Player - support thread wyldckat OpenFOAM Installation 2 July 11, 2012 16:01
2D Mesh Generation Tutorial for GMSH aeroslacker Open Source Meshers: Gmsh, Netgen, CGNS, ... 12 January 19, 2012 04:52
Rotor/stator tutorial, and how to... gilberto CFX 5 January 21, 2002 10:41

All times are GMT -4. The time now is 12:31.