|
[Sponsors] |
totalPressureIncompressible Default Rho value = 1.2 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 28, 2018, 07:34 |
totalPressureIncompressible Default Rho value = 1.2
|
#1 |
Member
Scott
Join Date: Sep 2009
Posts: 44
Rep Power: 16 |
Hi there,
I'm running the following command after a simulation to get the total pressure field around my geometry. Code:
postProcess -func "totalPressureIncompressible(p,U)" I've tested with different velocities and the corresponding total pressure in the freestream always comes back to 1.2, once you recalculate density based on the new total pressure value. I've also tested with random values of nu, and it does not affect the freestream total pressure, again, we always get 1.2, but the total pressure value doesn't change, so it is not actually dependent on nu. It appears that it is using the following equation fro freestream total pressure 0.5 *density*velocity^2 = 0.5*1.2*U^2. My problem is, I don't want it to use 1.2 as a default, I just can't work out how to change it! Can anyone confirm that this is the intent? I've tried setting rho an rhoInf to 1.184 in many places so far with no apparent change to the result. For completeness, I am running this command in OpenFOAM v1706 Windows10. Once this command is executed, the freestream pressure can be seen in /0/total(p) based on initial conditions. It also is apparent in paraview. Thanks for your time! Note: I am using simpleFoam, and I know that the density is not used in the solve calculations, and that to get the correct pressure values I need to multiply by density due to the way OpenFOAM calculates. As part of the type of work we do, we typically use Total Pressure as an output hence I'm trying to work out how to get the correct output. I guess I could scale the field as I know how far out it is, but there has to be somewhere that this 1.2 value is being pulled from, and I'd like to modify it if anyone can help. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
chtMultiRegionFoam- too slow | sandymech1 | OpenFOAM Running, Solving & CFD | 4 | November 20, 2017 18:51 |
writing execFlowFunctionObjects | immortality | OpenFOAM Post-Processing | 30 | September 15, 2013 06:16 |
what does this verbose error mean? | immortality | OpenFOAM Running, Solving & CFD | 1 | February 6, 2013 16:47 |
pisoFoam with k-epsilon turb blows up - Some questions | Heroic | OpenFOAM Running, Solving & CFD | 26 | December 17, 2012 03:34 |
CFX-Pre problem, pls help!!! | cth_yao | CFX | 0 | February 17, 2012 00:52 |