CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   starting compressible flow from incompressible flow results (https://www.cfd-online.com/Forums/openfoam-solving/109942-starting-compressible-flow-incompressible-flow-results.html)

mihaipruna November 30, 2012 13:14

starting compressible flow from incompressible flow results
 
Since my compressible solution always blows up (internal flow, subsonic, rhoSimplecFoam), and I am able to get some results running an incompressible solver (simpleFoam) , is there a way to start your solution for the compressible solver based on the pressure and velocity obtained after a certain number of iterations with the incompressible solver?

Lieven November 30, 2012 16:56

If the mesh and boundary conditions are exactly the same, you can simply copy the U and p from he simpleFoam simulation to the 0-folder of the compressible case.

If the mesh is not the same, you can have a look at mapFields (http://www.openfoam.org/docs/user/mapFields.php ).

Regards,

L

mihaipruna December 3, 2012 10:02

hi Lieven
Thanks for the response. For the incompressible solver, the pressure is normalized by rho. For the incompressible solver, you set the pressure in its real units.
Any way to get around this when reusing that field?


All times are GMT -4. The time now is 08:23.