CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Water materials - pressure (https://www.cfd-online.com/Forums/cfx/217694-water-materials-pressure.html)

oliveira1820 May 24, 2019 02:53

Quote:

Originally Posted by Gert-Jan (Post 734682)
You didn't read my post. I wrote:


"in a closed rigid compartment, density should not vary at all."


You can only use the bousinesq approach to include free convection if this is relevant.

But why?

The density is 998 kg/m^3 at the beggining, but with the energy source it varies with time doesn´t it?

Gert-Jan May 24, 2019 03:01

Is the system stirred (forced convection) or do you only have free convection?

oliveira1820 May 24, 2019 03:01

Quote:

Originally Posted by Gert-Jan (Post 734686)
Is the system stirred (forced convection) or do you only have free convection?

I will have forced convection also because of the energy sources of about 200-1000W deploying heat.

Gert-Jan May 24, 2019 03:16

Quote:

Originally Posted by oliveira1820 (Post 734684)
But why?

The density is 998 kg/m^3 at the beggining, but with the energy source it varies with time doesn´t it?


If you don't understand this, then you should not do CFD.

If your liquid mass remains the same, but your density decreases, then your liquid volume increases (I consider liquid as incompessibe). In real life your container will burst or increase in size as Glenn mentioned. In CFD your volume is fixed and rigid. So it cannot compensate or 'breath'. This leads to serious numerical troubles, because mass is not conserved. And that is killing your calculation immediately.

oliveira1820 May 27, 2019 03:08

Quote:

Originally Posted by Gert-Jan (Post 734690)
If you don't understand this, then you should not do CFD.

If your liquid mass remains the same, but your density decreases, then your liquid volume increases (I consider liquid as incompessibe). In real life your container will burst or increase in size as Glenn mentioned. In CFD your volume is fixed and rigid. So it cannot compensate or 'breath'. This leads to serious numerical troubles, because mass is not conserved. And that is killing your calculation immediately.

I noticed that the density only varies locally, the mean value is the same during all the simulation, so mass is conserved.

My doubt is, I´m heating the water with 1000W (not considering phase change or gas presence) and the pressure doesn´t increase when I use constant density and specific heat, but it increases allot with IAWPS water material.

I know that with the molecules vibrations increasing the force on the walls hould too (pressure), WhY DOesn´t increase?

Gert-Jan May 27, 2019 03:32

Quote:

Originally Posted by oliveira1820 (Post 734836)
I noticed that the density only varies locally, the mean value is the same during all the simulation, so mass is conserved.

You might observe that mass is conserved on global scale. But on local scale it can be completely different. Already one element can screw up your whole calculation.

Quote:

Originally Posted by oliveira1820 (Post 734836)
My doubt is, I´m heating the water with 1000W (not considering phase change or gas presence) and the pressure doesn´t increase when I use cosntant denisty and specific heat, but it increases allot with IAWPS water material.

I know that with the molecules vibrations increasing the force on the walls hould too (pressure), WhY DOSENT ICNREASES?

I don't know al the details of all your models. I would stay away of the IAWPS models and stick to temperature depedent water properties (cp, labda), but constant density. Then, outside CFX, determine the pressure using the average temperature inside your container, and the expansivity.

Bottom line, CFX is a flow solver where a lot of models can be added. But vibrating molecules...... Sure kinetic effects are somewhere incorporated in one of the submodels. But I am not sure what your idea and expectations are. I would contact your supervisor what to do.

oliveira1820 May 27, 2019 04:23

Quote:

Originally Posted by Gert-Jan (Post 734837)
You might observe that mass is conserved on global scale. But on local scale it can be completely different. Already one element can screw up your whole calculation.



I don't know al the details of all your models. I would stay away of the IAWPS models and stick to temperature depedent water properties (cp, labda), but constant density. Then, outside CFX, determine the pressure using the average temperature inside your container, and the expansivity.

Bottom line, CFX is a flow solver where a lot of models can be added. But vibrating molecules...... Sure kinetic effects are somewhere incorporated in one of the submodels. But I am not sure what your idea and expectations are. I would contact your supervisor what to do.


Do you know any formula which will allowed me to calcuate the pressure of liquids in a closed recipient with temperature?

Gert-Jan May 27, 2019 04:35

No. But just follow:
Average temperature -> lower density -> water volume increase -> pressure increase using the compressibility (https://en.wikipedia.org/wiki/Properties_of_water)

All based on the assumption that your container contains no gas, and is completely rigid, which is unrealistic. But that is your choice.


All times are GMT -4. The time now is 13:29.