CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   simpleFoam - Change physical properties of liquid (https://www.cfd-online.com/Forums/openfoam-solving/130854-simplefoam-change-physical-properties-liquid.html)

vut March 5, 2014 05:06

simpleFoam - Change physical properties of liquid
 
Hi,

I am new user of OpenFoam. I would like to ask for help in modifying the physical properties of liquid which are:

- mass density
- viscosity

Thanks in advance.

T

alexeym March 5, 2014 05:44

Hi,

kinematic viscosity of the fluid is kept in constant/transportProperties file. Density is not actually used in simpleFoam as fluid is incompressible.

vut March 5, 2014 08:34

Thank you, Alexey, for your answer.

I am not sure but in the system of equations for RANS, we have rho (mass density of fluid) and nut (kinematic turulent viscosity), right?

May we change them somewhere in OpenFOAM?

T

Quote:

Originally Posted by alexeym (Post 478229)
Hi,

kinematic viscosity of the fluid is kept in constant/transportProperties file. Density is not actually used in simpleFoam as fluid is incompressible.


alexeym March 5, 2014 09:28

Quote:

Originally Posted by vut (Post 478282)
Thank you, Alexey, for your answer.

I am not sure but in the system of equations for RANS, we have rho (mass density of fluid) and nut (kinematic turulent viscosity), right?

May we change them somewhere in OpenFOAM?

T

For incompressible fluid we can divide equations by density, so there will be no density and just kinematic viscosity.

OpenFOAM uses nuEff = nu + nut, where nu is kinematic viscosity of a fluid and you change it in constant/transportProperties, nut is calculated by turbulence model and again AFAIK there is no density in equations (well, you can pass density field to the model, but there's no density field in simpleFoam) as it is non-zero constant so we again can divide equations by it.

vut March 6, 2014 04:32

OK, I understand what you mean.

Thanks for your answer.

T

Quote:

Originally Posted by alexeym (Post 478305)
For incompressible fluid we can divide equations by density, so there will be no density and just kinematic viscosity.

OpenFOAM uses nuEff = nu + nut, where nu is kinematic viscosity of a fluid and you change it in constant/transportProperties, nut is calculated by turbulence model and again AFAIK there is no density in equations (well, you can pass density field to the model, but there's no density field in simpleFoam) as it is non-zero constant so we again can divide equations by it.



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