|
[Sponsors] |
July 13, 2008, 13:22 |
Hello
I would like to write
|
#1 |
Member
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 91
Rep Power: 17 |
Hello
I would like to write a Riemann solver for Euler's equations, as i have all the usual functions for calculating the intercell fluxes. But i am unsure about how to implement it in openFoam. I need to do the following 1)Loop over all internal faces 2)Find the 2 cells sharing a particular face 3)Extract values such as u,rho,p etc from these 2 cells and assign a flux to that face(after solving a Riemann problem) But how would i do this in OpenFoam? Just a couple of code snippets and some info on where to look in the source code should suffice. None of the existing solvers, seem to do anything like this Thanks Srinath |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Riemann problem | shuo | Main CFD Forum | 5 | July 9, 2009 13:28 |
Solving point implicit schemes in openFoam | srinath | OpenFOAM | 2 | October 13, 2008 00:50 |
2D Riemann problem | ganesh | Main CFD Forum | 0 | October 26, 2005 06:45 |
2D Riemann problem | ganesh | Main CFD Forum | 9 | October 3, 2005 08:09 |
Riemann Problem | Valdemir | Main CFD Forum | 1 | February 21, 2003 12:06 |