|
[Sponsors] |
July 13, 2008, 14: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 |
|
July 14, 2008, 04:53 |
Did you have a look into g3dFo
|
#2 |
Member
Patricio Bohorquez
Join Date: Mar 2009
Location: Jaén, Spain
Posts: 95
Rep Power: 17 |
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/ |
|
July 15, 2008, 10:34 |
Thanks Patricio
I will take
|
#3 |
Member
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 91
Rep Power: 17 |
Thanks Patricio
I will take a look. Srinath |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Riemann problem | shuo | Main CFD Forum | 5 | July 9, 2009 14:28 |
Solving point implicit schemes in openFoam | srinath | OpenFOAM | 2 | October 13, 2008 01:50 |
2D Riemann problem | ganesh | Main CFD Forum | 0 | October 26, 2005 07:45 |
2D Riemann problem | ganesh | Main CFD Forum | 9 | October 3, 2005 09:09 |
Riemann Problem | Valdemir | Main CFD Forum | 1 | February 21, 2003 13:06 |