|
[Sponsors] |
Help regarding 1D compressible flow (Sod Shock tube) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 25, 2016, 16:22 |
Help regarding 1D compressible flow (Sod Shock tube)
|
#1 |
Senior Member
Selig
Join Date: Jul 2016
Posts: 213
Rep Power: 10 |
Hi all,
I am coding up a 1D compressible flow solver via Lax-Friedrichs method (for now), however have run into a when calculating certain quantities, such as velocity. In other words, I believe my implementation is correct, however something is not being properly updated per time step. I have attached my code for proper documentation. Thoughts: My way of updating at each time step is to have U_current = U_new. EDIT: Just for clarification, I am not sure what I am doing wrong as my plots for pressure, velocity, and density are not right Last edited by selig5576; July 26, 2016 at 11:44. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Issues on the simulation of high-speed compressible flow within turbomachinery | dowlee | OpenFOAM Running, Solving & CFD | 11 | August 6, 2021 06:40 |
Compressible Flow Pressure Outlet Back Flow | okstatecheme | OpenFOAM Running, Solving & CFD | 1 | March 21, 2018 08:11 |
rhoCentralFoam not reflecting shock in Shock Tube? | Astaria | OpenFOAM Running, Solving & CFD | 5 | March 4, 2012 03:07 |
compressible flow | maria teresa | FLUENT | 1 | September 7, 2007 16:58 |
Inviscid Drag at subsonic, subcritical Mach # | Axel Rohde | Main CFD Forum | 1 | November 19, 2001 12:19 |