|
[Sponsors] |
May 20, 2009, 16:08 |
Density as function of pressure
|
#1 |
New Member
Santiago Orrego
Join Date: Mar 2009
Posts: 9
Rep Power: 17 |
Hello Guys.
Im making a steady simulation of a oil film. I need to establish the Density as function of pressure. rho=rho_initial*( (c1 + c2 * Pressure ) / ( c1 + Pressure ) ) Can anybody can please help me to establish that to the solver? Thanks a lot. Santiago. |
|
May 20, 2009, 19:04 |
|
#3 |
New Member
Santiago Orrego
Join Date: Mar 2009
Posts: 9
Rep Power: 17 |
Hello. Thanks for reading.
I try to create an expression called rho (and specify that expression in the Material propieties) rho= ((3e9+1.34*p)/(3e9+p)) * 860 [kg m^-3] But the solver said that the dimension are wrong. I tried several combinations of the dimensions and not succeded. Any ideas?? Thanks. Santiago |
|
May 20, 2009, 19:35 |
|
#4 |
Member
Jules Bell
Join Date: May 2009
Posts: 32
Rep Power: 17 |
3e9 has no dimension, but 1.34*p has [Pa], that's why it doesn't work.
-> try: ((3e9 [Pa] + 1.34*p)/3e9 [Pa] + p)) * 860 [kg m^-3] Regards, Jules |
|
May 21, 2009, 11:34 |
|
#5 |
New Member
Santiago Orrego
Join Date: Mar 2009
Posts: 9
Rep Power: 17 |
Thanks Jules.
It worked. I tryied that once, but the my mistake was that I was putting [pa] and not [Pa]. So. it finally worked using: ((5.9e8 [Pa] + 1.34*p) / (5.9e8 [Pa] + p) ) * 860 [kg m^-3] Bye! and thanks. Santiago |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
density of water as some function of temperature | danish | CFX | 1 | June 24, 2008 13:10 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |
error using combination of step function | xujjun | CFX | 1 | January 15, 2008 17:46 |
Pressure vs. Density based | jan | FLUENT | 2 | May 3, 2007 04:45 |
what the result is negatif pressure at inlet | chong chee nan | FLUENT | 0 | December 29, 2001 06:13 |