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

Solving a Riemann problem in OpenFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By pbohorquez

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 13, 2008, 13:22
Default Hello I would like to write
  #1
Member
 
srinath
Join Date: Mar 2009
Location: Champaign, USA
Posts: 91
Rep Power: 17
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

 


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 Off
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 12:06


All times are GMT -4. The time now is 01:09.