|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 89
Rep Power: 5 ![]() |
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 |
|
|
|
|
|
|
|
|
#2 |
|
Member
Patricio Bohorquez
Join Date: Mar 2009
Location: Jaén, Spain
Posts: 80
Rep Power: 5 ![]() |
Did you have a look into g3dFoam? I think this can help you.
g3dFoam: Implementing third order compressible flow solver for hexahedral meshes in OpenFoam, by Martin Olausson. http://www.tfd.chalmers.se/~hani/kurser/OF_phD_2007/ |
|
|
|
|
|
|
|
|
#3 |
|
Member
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 89
Rep Power: 5 ![]() |
Thanks Patricio
I will take a look. Srinath |
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |