Density as function of pressure
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. |
So far, what have you tried to set the density as that function of the pressure? :confused:
|
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?? :confused: Thanks. Santiago |
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 |
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:cool: |
All times are GMT -4. The time now is 08:18. |