# SimpleFoam results as initial condition to rhoSimpleFoam

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

 November 21, 2013, 19:07 SimpleFoam results as initial condition to rhoSimpleFoam #1 New Member   Marcelo Join Date: May 2013 Posts: 10 Rep Power: 6 Sponsored Links Hi All, Is it possible to use a incompressible results as a initial condition to a compressible case? (I know that there is difference in the pressure dimension and there are different fields for each case). I am currently using rhoSimpleFoam to solve the problem, but I am having a lot of convergence problems. So, I would like to know if it is possible to run the problem with simpleFoam and use the fields as initial condition to rhoSimpleFoam. Thank you for the help. Regards, Marcelo

 November 21, 2013, 21:05 #2 New Member   Join Date: Nov 2013 Posts: 6 Rep Power: 5 I had a lot of convergence troubles with rhoSimpleFoam and rhoSimplecFoam. What are you simulating? Is it an airfoil or an internal flow? Anyway if you don't set right boundary conditions solver will crash for sure.

November 22, 2013, 13:45
#3
New Member

Marcelo
Join Date: May 2013
Posts: 10
Rep Power: 6
Quote:
 Originally Posted by doctorV I had a lot of convergence troubles with rhoSimpleFoam and rhoSimplecFoam. What are you simulating? Is it an airfoil or an internal flow? Anyway if you don't set right boundary conditions solver will crash for sure.
I am working on a labyrinth seal. My boundary conditions are pressure defined in the inlet and outlet. As I know it is very unstable boundary condition, I put zero gradiente for pressure in the inlet and changed the velocity until the pressure goes to 10 MPa.Outlet is pressure (8Mpa) defined and zero gradient for velocity. the velocity residual is ok, but the pressure is oscilating and i have tried everything that i could without success.
Do you know anything that I can try?

Thank you very much for the help.

November 22, 2013, 14:17
#4
New Member

Join Date: Nov 2013
Posts: 6
Rep Power: 5
Could you post some pictures of your mesh? The solution to your trouble is in a Lilek-Peric-Demirdzic paper of 1993: it's about SIMPLE algorithm corrected for compressible flows. It shows boundary conditions of ducted flows for subsonic, transonic and supersonic cases. If you don't use right boundary conditions, solver run will explode for sure: remember the nature of problems (elliptic, hyperbolic, parabolic). I was able to run those literature cases successfully, and it required few minutes/seconds, but after 15 day I still have troubles with external flows (airfoils and wings).

Quote:
 Originally Posted by marcelorl I am working on a labyrinth seal. My boundary conditions are pressure defined in the inlet and outlet. As I know it is very unstable boundary condition, I put zero gradiente for pressure in the inlet and changed the velocity until the pressure goes to 10 MPa.Outlet is pressure (8Mpa) defined and zero gradient for velocity. the velocity residual is ok, but the pressure is oscilating and i have tried everything that i could without success. Do you know anything that I can try? Thank you very much for the help.

 November 25, 2013, 10:24 #5 Senior Member   Bernhard Linseisen Join Date: May 2010 Location: Magdeburg/Geneva Posts: 182 Blog Entries: 1 Rep Power: 9 Dear Marcelo, fundamentally, it should be possible to use the results from simpleFoam also with rhoSimpleFoam. BUT: Be aware that the solvers have different dimensions for the pressure field! In general, in OF the incompressible solvers use p/rho, while the compressible solvers use p . Therefore you will have to think how to recalculate the pressure field for proper use within the compressible solver! (Unfortunately I do not know about any tools or standard algorithms which can help you with that...)

 March 7, 2014, 11:08 #6 Senior Member   Samuele Z Join Date: Oct 2009 Location: Mozzate - Co - Italy Posts: 496 Rep Power: 11 I am trying to use rhoSimpleFoam in order to simulate the flow over an airfoil. I have many problem with convergence. Have you ever done something like this? Could you share a case, please? Thanks a lot, Samuele

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Artex85 OpenFOAM Running, Solving & CFD 11 February 16, 2017 14:40 gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 14:58 Industrial_CFD OpenFOAM Running, Solving & CFD 21 February 24, 2013 16:39 tH3f0rC3 OpenFOAM 7 February 23, 2013 06:37 ankgupta8um OpenFOAM Running, Solving & CFD 7 January 15, 2011 14:38