|
[Sponsors] |
April 11, 2011, 01:00 |
Compressible code problems
|
#1 |
Super Moderator
|
Hello all
I am trying to modify rhoCentralFoam to introduce godunov finite volume scheme. I have attached my initial attempt in this thread. Basically, I have modified the main code rhoCentralFoam.C now called gFoam.C and createFields.H I have added new variables rhoFlux, rhoUFlux and rhoEFlux which contain the numerical flux across all the faces. Also added two new files numericalFlux.H and KFVS.H which contain the flux functions. Its not working as I am getting nan on the oblique shock case. It would be nice if somebody can look at the code and tell me if there are any mistakes. I assumed that rPsi = R*T where R=gas constant and T is the temperature. Thanks praveen |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compressible Boundary Layer Code | Kursat KARA | Main CFD Forum | 1 | February 28, 2013 08:49 |
Problems with compiling CFD code! | ravi | Main CFD Forum | 1 | July 12, 2004 12:28 |
Problems with convergence and initial guessed fields in compressible steady flows | Pedro Gil | Main CFD Forum | 3 | April 25, 2000 12:34 |
Compressible Viscous Code vaidation test cases? | Mohammad Kermani | Main CFD Forum | 2 | November 11, 1999 15:22 |
State of the art in CFD technology | Juan Carlos GARCIA SALAS | Main CFD Forum | 39 | November 1, 1999 15:34 |