|
[Sponsors] |
December 5, 2021, 13:23 |
Sod shock tube using dsmcFoam - Help
|
#1 |
New Member
Melania
Join Date: Nov 2021
Posts: 4
Rep Power: 5 |
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! |
|
December 15, 2021, 23:38 |
|
#2 |
New Member
XJ YANG
Join Date: Dec 2021
Posts: 1
Rep Power: 0 |
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?
|
|
December 17, 2021, 12:13 |
|
#3 | |
New Member
Melania
Join Date: Nov 2021
Posts: 4
Rep Power: 5 |
Quote:
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. |
||
December 18, 2021, 10:47 |
|
#4 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
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)
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
Tags |
dsmc openfoam dsmcfoam, help needed, shock tube problem, sod shock tube |
|
|
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 08:06 |
Sod Shock Tube solution using Nodal DGFEM 2D CNS Solver | Quasar_89 | Main CFD Forum | 0 | July 30, 2016 09:22 |
Euler Equations, Sod shock tube & conservation | Antigravity | System Analysis | 1 | July 17, 2014 14:30 |
Sod shock tube problem with real gas effects | ganesh | Main CFD Forum | 0 | October 17, 2006 02:22 |
SOD shock tube problem | Luuk | Main CFD Forum | 3 | September 6, 2005 06:08 |