Download the simulation file which correspond to the example in this blog post:In Simcenter STAR-CCM+ there is a pre-defined report named Pressure drop report. In the picture below you can see how this report is set up, using one high pressure boundary (inlet in this case) and one low pressure boundary (outlet in this case). If you want to evaluate pressure drop you can use this report, or create your own Expression report by subtracting the low pressure from the high (absolute total) pressure (but then, don’t forget taking the hydrostatic pressure loss into account). Since it can be difficult to know exactly which pressures to use, we will in this week’s blog post take a closer look at field functions for pressure. We will look at how the field functions are defined, and the reports connected to pressure drop. There will also be a discussion regarding Reference density, because it is an important parameter in both the pressure drop report and in many different types of simulations.
Pressure loss report simulation file
1 file(s) 94.48 KB
Definition of different pressures
In the pre-defined pressure drop report we evaluate the mass-flow averaged absolute total pressure. Mass-flow averaged means that you are multiplying the pressure at each face with the mass-flow flowing through the face, and then divide the sum of pressures with the total mass flow. This results in a pressure value reported where you have more mass-flow being weighted heavier in the averaging. The absolute total pressure is defined by the absolute pressure plus a term which is possible to simplify if incompressible fluids are used. If you are using ideal gas this term depends on the variables ratio of specific heat and Mach number, but if you assume the fluid to be incompressible you use the dynamic pressure (meaning density times velocity squared divided by two). Absolute pressure is defined as in the picture below. Note that the reference pressure defined in Continua -> Physics 1 (default name) -> Reference values should be set to a value around which your simulation operates so that you don’t have to work with pressures that are too far from the reference value. If you define the reference value far from the pressures that you operate within you can end up with a rounding error which may affect your solution. The first terms in the absolute pressure refers to the calculated pressure plus the reference pressure set in the reference values (1atm = 101325Pa as default). The last term is the hydrostatic pressure, which uses the gravitational constant and also measures the deviation from the reference altitude at the location where the report is evaluated. The report also uses the reference density, meaning that the value will directly impact your results extracted from the report. Since the reference density is important to set correctly, a discussion section regarding this variable follows below.Reference density
The reference density is not only used in pressure reports including hydrostatic pressure, but also the buoyancy term in multiphase simulations. Therefore, in simulations including multiphase flow and compressible fluids it can be more complicated to choose a value for the reference density than in simulations with single phase flow and incompressible fluid. In incompressible single phase simulations you should use the fluid density as reference density, since calculated density that differs from the reference density will introduce numerical errors which can result in instability of the solution. For multiphase flow, where you have several fluids, there are three options on which value to use for the reference density:- Fluid with lowest density
- Set reference density to zero
- Fluid with highest density