|
[Sponsors] |
September 15, 2017, 16:43 |
Density effect with gravity not working
|
#1 |
New Member
Arthur Piquet
Join Date: Mar 2013
Posts: 18
Rep Power: 13 |
Hi everybody!
I have a question about the activation of density effect in Fluent. I've made a simple test case to show the issue that I have. (https://ufile.io/x7zzb) My test case is just a square domain of water in 2D with a circle (wall) in the middle. I just want to see the density effect without any flow happening. The gravity should change the static pressure using the well known 10m=1bar. My domain is 100m in 'y', so the pressure should change of 10bars... When I compute the case, the static pressure changes a bit (a gradient is visible) but the values are completely wrong (~1e-9 Pa). (and the pressure is higher at the top...) I don't understand how fluent works with gravity... It should be a source term on y-mom of the form: S=rho*g You can even integrate it by hand: dp/dy=rho*g => p=rho*g*y There is also 'operating condition' where I could change the 'operating density' but when I do that the solver diverges... Does someone have made similar simulations ? Thanks! |
|
September 17, 2017, 14:59 |
|
#2 | |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66 |
Quote:
If you make a plot of the "static pressure" in Fluent, what you see is not the actual mechanical pressure. The plot that you can has the hydrostatic pressure part removed (the rho*g*h part). The reason for this is because all pressures in Fluent are gauge pressures and when gravitational acceleration is enabled, a modified pressure is solved that includes the hydrostatic contribution. So, in order to visualize the 10bar change in pressure, you are at a slight loss. What you can do is defined your own custom field function pnew = pstatic + rho*g*h and then make a plot of this new variable and not the built-in Fluent static pressure. |
||
September 17, 2017, 16:50 |
|
#3 |
New Member
Arthur Piquet
Join Date: Mar 2013
Posts: 18
Rep Power: 13 |
So the pressure during the calculation is correct and this is just a problem of visualization?
If you add a source term in y-mom eq., the pressure should change accordingly... I still don't understand why Fluent does not show the correct pressure ? And this is not a problem of static or total pressure. In the static pressure, I should be able to see the gradient... The problem I try to solve uses the buoyancy force. I want to compute my buoyancy force directly from the pressure field (by integrating it at the wall). I know that I can directly compute it from the theory (F=rho*G*V) but I wanted to make the calculation directly from the static pressure field. Does someone know how to use the "operating density" ? If I set it to 1000 (water) my calculation diverges... Sorry for these strange questions but it is strange that Fluent is not capable of giving me that solution, no? |
|
Tags |
density, fluent, gravity |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Weiss & Smith Preconditioned Density Based Solver, Algebraic Multigrid, etc. | sbaffini | Main CFD Forum | 23 | December 28, 2017 02:23 |
Implement simple barotropic relation - derive density field from pressure field | GJM1991 | OpenFOAM Programming & Development | 6 | May 8, 2016 16:43 |
specified density Fluent | Tres | FLUENT | 0 | November 22, 2011 08:23 |
gravity option and specified operating density | Tres | Main CFD Forum | 0 | November 21, 2011 15:17 |
REAL GAS UDF | brian | FLUENT | 6 | September 11, 2006 09:23 |