CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Solving a Riemann problem in OpenFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By pbohorquez

Reply
 
LinkBack Thread Tools Display Modes
Old   July 13, 2008, 13:22
Default Hello I would like to write
  #1
Member
 
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 90
Rep Power: 8
srinath is on a distinguished road
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
srinath is offline   Reply With Quote

Old   July 14, 2008, 03:53
Default Did you have a look into g3dFo
  #2
Member
 
Patricio Bohorquez
Join Date: Mar 2009
Location: Jaén, Spain
Posts: 94
Rep Power: 8
pbohorquez is on a distinguished road
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/
songwukong likes this.
pbohorquez is offline   Reply With Quote

Old   July 15, 2008, 09:34
Default Thanks Patricio I will take
  #3
Member
 
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 90
Rep Power: 8
srinath is on a distinguished road
Thanks Patricio

I will take a look.

Srinath
srinath is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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 13:06


All times are GMT -4. The time now is 20:13.