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

Sod shock tube using dsmcFoam - Help

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 5, 2021, 12:23
Default Sod shock tube using dsmcFoam - Help
  #1
New Member
 
Melania
Join Date: Nov 2021
Posts: 4
Rep Power: 4
mely is on a distinguished road
Hi everyone!
I'm trying to simulate the Sod shock tube using the particle-based method called dmscFoam.

I'm new with OpenFOAM and C++ language, so I'm having some trouble using it.
I've set the initial conditions of pressure,density and temperature but the results are not the expected ones.

Did anyone try to do this simulation?

if someone can help me, I would appreciate it.
Thank you so much!
mely is offline   Reply With Quote

Old   December 15, 2021, 22:38
Default
  #2
New Member
 
XJ YANG
Join Date: Dec 2021
Posts: 1
Rep Power: 0
xjyang is on a distinguished road
In sod shock tube problem, the density, velocity, and temperature is macroscopic variables, and the reference solution is calculated by Riemann solver; while DSMC is a particle method, which is mainly used in rarefied flow. If the DSMC method is used for the problems in continuum flow, a lot of particles is needed. So, why use DSMC solver for the sod shock tube problem?
xjyang is offline   Reply With Quote

Old   December 17, 2021, 11:13
Default
  #3
New Member
 
Melania
Join Date: Nov 2021
Posts: 4
Rep Power: 4
mely is on a distinguished road
Quote:
Originally Posted by xjyang View Post
In sod shock tube problem, the density, velocity, and temperature is macroscopic variables, and the reference solution is calculated by Riemann solver; while DSMC is a particle method, which is mainly used in rarefied flow. If the DSMC method is used for the problems in continuum flow, a lot of particles is needed. So, why use DSMC solver for the sod shock tube problem?

Hi xjyang, thank you for answering!

This is actually a work for my master thesis: I'm trying to simulate basically a continuum flow with this discrete method. I know about the amount of particles that have to be used for the simulation. Do you have any tip?
You would be really helpful, since I'm having some trouble with the solver and I'm new with OpenFOAM.
mely is offline   Reply With Quote

Old   December 18, 2021, 09:47
Default
  #4
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12
HPE is on a distinguished road
A validation tutorial of Sod's shock tube using rhoPimpleFoam:

http://www.wolfdynamics.com/tutorials.html?id=150

Hope this helps a bit (though not direct answer to your questions)
HPE is offline   Reply With Quote

Reply

Tags
dsmc openfoam dsmcfoam, help needed, shock tube problem, sod shock tube

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
Solution of SOD Shock Tube Problem by using HARTEN Modified Flux TVD Scheme xue sheng Main CFD Forum 5 August 27, 2022 07:06
Sod Shock Tube solution using Nodal DGFEM 2D CNS Solver Quasar_89 Main CFD Forum 0 July 30, 2016 08:22
Euler Equations, Sod shock tube & conservation Antigravity System Analysis 1 July 17, 2014 13:30
Sod shock tube problem with real gas effects ganesh Main CFD Forum 0 October 17, 2006 01:22
SOD shock tube problem Luuk Main CFD Forum 3 September 6, 2005 05:08


All times are GMT -4. The time now is 07:56.