CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Compressible flow

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

LinkBack Thread Tools Display Modes
Old   November 9, 2011, 09:58
Default Compressible flow
New Member
Join Date: Sep 2011
Posts: 12
Rep Power: 8
eric weddle is on a distinguished road
Hello there.

Well, I'm new with OpenFOAM and for the past month I've been using it to perform some simulations.

To do so, I took icoFoam and added a second phase to the simulation obtaining a velocity field for each phase. Later on I also added temperature transport for both phases.

Until now I've been simulating only incompressible fluids, but now I need to do the same with compressible ones.

Until now the fluids I was using had constant densities, given by a scalar value, but now I want to change this so I can assign them a variable value given by an equation, such as:

"Pressure/(R*Temperature)", being R the gas universal constant.

As you can see the density would then depend on the pressure, characterizing a compressible flow.

What modifications should I perform in my modified icoFoam so it would be able to correctly simulate this situation???

Or would it be better to use another built-in solver?

Thanks a lot
eric weddle is offline   Reply With Quote

Old   November 10, 2011, 05:41
Senior Member
Join Date: Mar 2011
Posts: 174
Rep Power: 8
anon_a is on a distinguished road
Why don't you try rhoCentralFoam or another compressible solver?
I am not an expert in this field but it sounds like you will need many modifications
anon_a is offline   Reply With Quote

Old   November 10, 2011, 09:12
Senior Member
Vesselin Krastev
Join Date: Jan 2010
Location: University of Tor Vergata, Rome
Posts: 368
Rep Power: 12
vkrastev is on a distinguished road
Use rhoPimpleFoam or rhoPisoFoam and run them in laminar mode (if you need a laminar solution)

vkrastev is offline   Reply With Quote


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
Compressible flow, no data at the outlet mireis FLUENT 6 September 3, 2015 02:10
Natural Convection using Compressible Flow (chtMultiRegionFOAM) msarkar OpenFOAM 2 September 7, 2010 00:13
help with compressible flow BC's (need subsonic flow) meangreen Main CFD Forum 5 July 24, 2010 13:16
Compressible Fluid Flow in COMSOL Multiphysics BBG Main CFD Forum 1 November 19, 2008 15:05
Solving unsteady compressible low speed flow atit Main CFD Forum 8 July 31, 2000 13:19

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