Re: definition of various pressures
Posted: Mon Oct 02, 2017 10:27 am
Hello.
I faced the similar problem with pressure treatment because I work on aerodynamic resistance of the chimney with noise killers and, therefore, the leveling (elevation) pressure difference is important because the fluid is a gas turbine flue gas with density of around 0.43 kg/m3 (ambient density is ~1.2 kg/m3). Here is the terminology we consider standard.
Reference pressure (Pref)
It's a pressure that added to static pressure to compute thermophysical properties (density in pure aerodynamic cases, maybe also molecular viscosity if it depends on the pressure for the fluid used).
Dynamic pressure (Pdyn)
As I suppose, dynamic pressure is Pdyn=0.5*Rho*w^2 in all notations (Rho is a density, w is a velocity magnitude).
Hydrostatic pressure (Phyd)
As I suppose, hydrostatic pressure is Phyd=Rho*g*h in all notations (h is an elevation relative to base point).
Pressure difference due to density difference (DPrho)
If you have a case like duct or chimney, there is also an additional pressure increase due to density difference that is usually greater outside the domain than inside. It's not a hydrostatic pressure! In simplest case with constant densities, DPrho=DeltaRho*g*h, where DeltaRho is a density difference, h is an elevation relative to base point (level).
Static pressure (Pst)
It's a pressure inside a calculation domain (vessel, pipeline etc) not including dynamic pressure but including pressure difference due to density difference inside and outside the domain DPrho (not just Phyd), relative to atmospheric pressure or absolute depending on particular case. Let's assume it's relative to atmospheric pressure.
Total pressure (Ptot)
It's a sum of static and dynamic pressures: Ptot=Pst+Pdyn
I searched the forum and looked at manuals and still it was unclear for me how Saturne defines pressures. So I just ran the calculation for 8 iterations without any inflow/outflow boundary and here is what I found.
Pressure in Saturne
It's a relative pressure that doesn't include leveling (elevation) pressure, reference pressure or dynamic pressure. If you'll take a look at the vertical Pressure profile in static case you'll see a constant pressure of zero from bottom to top. So we have: Pressure=Pst-DPrho. Unfortunately, in Saturne this variable doesn't include DPrho so you should take it into account using Calculator filter in ParaView. (For example, in CFX, pressure variable includes DPrho if buoyancy was activated, it asks for the reference density for this).
Total_pressure in Saturne
This is a sum of absolute static pressure and hydrostatic pressure: Total_pressure=Pref+Pst-DPrho+Phyd=Pref+Phyd+Pressure.
It doesn't include dynamic pressure like in most other codes (usually total pressure is a sum of static and dynamic ones).
Therefore, if you want the "standard" total pressure, you may use the following expression in Calculator filter called TotalPressure:
Pressure+0.5*Density*mag(Velocity)^2
Be careful not to average total pressure because static pressure must be averaged by area, but dynamic pressure by mass flux (Rho*w) so averaging total pressure will result in error (for example, you will easily obtain an increase of total pressure in stream direction in duct with DPrho==0 if boundary velocity profile is strongly non-uniform).
If the density difference inside and outside the domain (DPrho) must be taken into account, you may use the following expression for "new" static pressure in Calculator filter called PrsStatic:
Pressure+DPrho
Prior to this, you need to define the DPRho as follows:
(coordsY-Ybase)*9.81*(RhoOutside-RhoInside)
where coordY is a vertical coordinate, Ybase is a base level (height), RhoOutside and RhoInside are densities inside and outside the domain. This is only applicable for constant densities, for variable densities an integration over height appears so it's not so simple.
[Salome/ParaVis is a ParaView so any variable you see in it is variable outputted by Saturne solver, there is no need to distinguish Salome/ParaVis variables ans Saturne ones]
I faced the similar problem with pressure treatment because I work on aerodynamic resistance of the chimney with noise killers and, therefore, the leveling (elevation) pressure difference is important because the fluid is a gas turbine flue gas with density of around 0.43 kg/m3 (ambient density is ~1.2 kg/m3). Here is the terminology we consider standard.
Reference pressure (Pref)
It's a pressure that added to static pressure to compute thermophysical properties (density in pure aerodynamic cases, maybe also molecular viscosity if it depends on the pressure for the fluid used).
Dynamic pressure (Pdyn)
As I suppose, dynamic pressure is Pdyn=0.5*Rho*w^2 in all notations (Rho is a density, w is a velocity magnitude).
Hydrostatic pressure (Phyd)
As I suppose, hydrostatic pressure is Phyd=Rho*g*h in all notations (h is an elevation relative to base point).
Pressure difference due to density difference (DPrho)
If you have a case like duct or chimney, there is also an additional pressure increase due to density difference that is usually greater outside the domain than inside. It's not a hydrostatic pressure! In simplest case with constant densities, DPrho=DeltaRho*g*h, where DeltaRho is a density difference, h is an elevation relative to base point (level).
Static pressure (Pst)
It's a pressure inside a calculation domain (vessel, pipeline etc) not including dynamic pressure but including pressure difference due to density difference inside and outside the domain DPrho (not just Phyd), relative to atmospheric pressure or absolute depending on particular case. Let's assume it's relative to atmospheric pressure.
Total pressure (Ptot)
It's a sum of static and dynamic pressures: Ptot=Pst+Pdyn
I searched the forum and looked at manuals and still it was unclear for me how Saturne defines pressures. So I just ran the calculation for 8 iterations without any inflow/outflow boundary and here is what I found.
Pressure in Saturne
It's a relative pressure that doesn't include leveling (elevation) pressure, reference pressure or dynamic pressure. If you'll take a look at the vertical Pressure profile in static case you'll see a constant pressure of zero from bottom to top. So we have: Pressure=Pst-DPrho. Unfortunately, in Saturne this variable doesn't include DPrho so you should take it into account using Calculator filter in ParaView. (For example, in CFX, pressure variable includes DPrho if buoyancy was activated, it asks for the reference density for this).
Total_pressure in Saturne
This is a sum of absolute static pressure and hydrostatic pressure: Total_pressure=Pref+Pst-DPrho+Phyd=Pref+Phyd+Pressure.
It doesn't include dynamic pressure like in most other codes (usually total pressure is a sum of static and dynamic ones).
Therefore, if you want the "standard" total pressure, you may use the following expression in Calculator filter called TotalPressure:
Pressure+0.5*Density*mag(Velocity)^2
Be careful not to average total pressure because static pressure must be averaged by area, but dynamic pressure by mass flux (Rho*w) so averaging total pressure will result in error (for example, you will easily obtain an increase of total pressure in stream direction in duct with DPrho==0 if boundary velocity profile is strongly non-uniform).
If the density difference inside and outside the domain (DPrho) must be taken into account, you may use the following expression for "new" static pressure in Calculator filter called PrsStatic:
Pressure+DPrho
Prior to this, you need to define the DPRho as follows:
(coordsY-Ybase)*9.81*(RhoOutside-RhoInside)
where coordY is a vertical coordinate, Ybase is a base level (height), RhoOutside and RhoInside are densities inside and outside the domain. This is only applicable for constant densities, for variable densities an integration over height appears so it's not so simple.
[Salome/ParaVis is a ParaView so any variable you see in it is variable outputted by Saturne solver, there is no need to distinguish Salome/ParaVis variables ans Saturne ones]