CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Solver for compressible Navier-Stokes equation

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

LinkBack Thread Tools Display Modes
Old   May 30, 2012, 03:11
Default Solver for compressible Navier-Stokes equation
Join Date: Mar 2012
Location: Munich, Germany
Posts: 67
Rep Power: 5
treima is on a distinguished road

I have a problem, which I would like to solve with a solver based on the Navier-Stokes equations.

The solver shoud be based on the compressible, steady state Navier-Stokes with conservation of mass, momentum and energy.
Im calculating with air, so inviscid, mach number about 0.7 up to almost 1. Turbulence dosent matter.

Is there a solver in OpenFOAM, which have these properties? Almost all solvers based on rhoSimple are calculating with RANS-models. Have anyone some experience with the full Navier-Stokes equations in OpenFOAM?

Best regards
treima is offline   Reply With Quote

Old   May 30, 2012, 03:45
Senior Member
romant's Avatar
Roman Thiele
Join Date: Aug 2009
Location: Stockholm, Sweden
Posts: 364
Rep Power: 12
romant is on a distinguished road
what do you really want to calculate if turbulence does not matter. The full navier stokes equations can be solved by direct numerical simulation, but in this case you might want to have access to something like a cluster in the top 500 super computer list all to yourself for a year.

OpenFOAM can solve the navier stokes equation and if you set turbulence to laminar it will not model turbulence. however, at the mach numbers that you indicate this won't give you any useful result, except if you solve it DNS like.

for more advanced simulation of the full navier stokes equations try to look into LES (large eddy simulation), which will solve navier stokes on almost all of the grid except when the cell size is larger than the turbulent structures.
romant is offline   Reply With Quote

Old   May 30, 2012, 04:17
Join Date: Mar 2012
Location: Munich, Germany
Posts: 67
Rep Power: 5
treima is on a distinguished road
Thanks for your answer!

Perhaps i should say something to my background:
For my master thesis, I`m having a look at some equations and the aim is to calculate the adjoint system and implement this in OpenFOAM. One of these equations is the Navier-Stokes equation. I attached the primal equation, which Im considering (sry for writing in German, but I hope, the equations are clear).

For this purpose Im searching for a solver, which i can modify. So is there one in OpenFoam?

How long this solver takes for some easy problems is another question. The first idea was a turbine with an in- and outlet for the air.
Attached Files
File Type: pdf nse.pdf (70.9 KB, 76 views)
treima is offline   Reply With Quote

Old   May 30, 2012, 05:25
Join Date: Mar 2009
Location: Netherlands
Posts: 62
Rep Power: 8
sylvester is on a distinguished road
Solvers you could possibly use are sonicFoam ("Transient solver for trans-sonic/supersonic, laminar or turbulent flow of a compressible gas") and rhoCentralFoam ("Density-based compressible flow solver based on central-upwind schemes of Kurganov and Tadmor").

I would reconsider solving the primal equations without turbulence, though. Chances of non-physical results and instabilities are high. For your adjoint equations you can always use the frozen turbulence assumptions.

sylvester is offline   Reply With Quote


compressible, navier, rans, steady, stokes

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
The correction on pressure equation of SIMPLE algorithm in MRFSimpleFOAM solver renyun0511 OpenFOAM Running, Solving & CFD 0 November 10, 2010 02:47
Navier Stokes Solver Khan Main CFD Forum 2 December 12, 2006 10:41
Cahn Hilliard couple with Navier Stokes Khan Main CFD Forum 0 September 2, 2006 02:19
Full navier stokes Equation descretized form rawin Main CFD Forum 1 September 21, 2005 12:42
help: I am trying to solve Navier Stokes compressible and viscid flow Jose Choy Main CFD Forum 2 May 18, 2000 05:45

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