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

ShockTube tutorial modification

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 11, 2013, 08:21
Default ShockTube tutorial modification
  #1
cts
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).

thanks,
Cris
cts is offline   Reply With Quote

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

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

Case2:
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

Case3:
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)
x_right=(5,-1.05)(5,1.05)

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 05:58. Reason: Adding more info
subramanyamn is offline   Reply With Quote

Reply


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
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
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 03:52
Rotor/stator tutorial, and how to... gilberto CFX 5 January 21, 2002 09:41


All times are GMT -4. The time now is 13:08.