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

transportProperties for compressibleInterFoam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 30, 2009, 07:36
Default transportProperties for compressibleInterFoam
  #1
Senior Member
 
romant's Avatar
 
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21
romant is on a distinguished road
Hej,

I have a question about the variable "psi" in the transport properties dictionary for compressibleInterFoam. I assume that it is the compressibility. The problem is, that compressibility has a different unit from the one given [0 -2 2 0 0], from the depthCharge2D case. For some reason psi is only given there with 5 instead of the 7 dimensional parts.

How do I have to understand psi?

thnx,

~roman
__________________
~roman
romant is offline   Reply With Quote

Old   October 27, 2009, 10:27
Default psi and density
  #2
Member
 
Hamed Aghajani
Join Date: Mar 2009
Location: London, UK
Posts: 77
Rep Power: 17
haghajani is on a distinguished road
Hi Romant,

Have you find out what is the reason of introducing unit of "psi" by five element instead of seven?

Do you know why the compressiblity is 1e-5 for both Air and Water? And the reason, this technique has been used to deal with density? I mean definig rho[phase] = rho[0] + psi[phase] * p

Thank you in deep,

Hamed
haghajani is offline   Reply With Quote

Old   October 27, 2009, 10:50
Default
  #3
Senior Member
 
romant's Avatar
 
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21
romant is on a distinguished road
I at found out that the definition of the last 0 seems to be not important for the solution. I tried the same run with a proper 7 dimension definition and it did not change anything.

The reason why psi is the same for both water and air is because then the difference is not as big and the system converges faster, giving shorter computation time. in the end this is just a tutorial.

the method of defining rho the way it was defined is a simplifaction and does not take into account that there a temperature change due to the compression of the fluid.

also, I only set rho[0] for my incompressible fluids and let the pressure and the psi decide for compressible fluids what the density should be. (incompressible fluids get rho[0]=0).

from this calculation one can easily determine what psi should be for the gas. for water it is around 10^-10
__________________
~roman
romant is offline   Reply With Quote

Old   November 6, 2009, 09:06
Default
  #4
Member
 
Piotr Prusinski
Join Date: Oct 2009
Location: Warsaw, Poland
Posts: 67
Rep Power: 17
piprus is on a distinguished road
Could you tell me, how should I understand rho and rho0? What are the meanings of them.

Can I say that rho0 is the initial density and rho is a final or calculated density? Or maybe I should treat rho0 as a reference density? I'm a bit confused now.

Last edited by piprus; November 6, 2009 at 14:26.
piprus is offline   Reply With Quote

Old   December 2, 2009, 17:25
Default
  #5
Senior Member
 
romant's Avatar
 
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21
romant is on a distinguished road
rho is the calculated density. and rho0 is a fixed initial density. for example for water there is not way one will compress that with normal conditions. so when the pressure changes, one does not want to have the density of water changing.

psi and p then calculate the increase in density. but since the compressibility for water is in the range of 10^-10 this will not change anything.

rho0 is not set for compressible phases
__________________
~roman
romant is offline   Reply With Quote

Old   June 14, 2011, 05:21
Default compressibleInterFoam tutorial
  #6
Member
 
Reza khodadadi
Join Date: Apr 2011
Location: https://t.me/pump_upp
Posts: 32
Rep Power: 15
reza_65 is on a distinguished road
Send a message via ICQ to reza_65 Send a message via AIM to reza_65 Send a message via Yahoo to reza_65
hi everybody
i don't know anything about the tutorial of compressibleInterFoam of OpenFoam 1.7.1
how could i know what 's it?what 's the simulation for, and what are the Fluids, usage...
thank you
Reza khodadadi.
reza_65 is offline   Reply With Quote

Reply

Tags
compressibility, compressibleinterfoam, dimensions, psi, transportproperties

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Writing out stress tensor- Error with transportProperties suraj OpenFOAM Post-Processing 1 June 11, 2012 15:34


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