|
[Sponsors] |
About gravity in Finite Volume Methods Coding |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 21, 2017, 22:28 |
About gravity in Finite Volume Methods Coding
|
#1 |
New Member
Green
Join Date: Apr 2016
Posts: 27
Rep Power: 10 |
Hello, I am writing a FVM code and it works well without gravity. But after adding gravity terms to the momentum equations the result is wrong. I just want to simulate the pressure difference caused by gravity(hydrostatic pressure). This pressure difference will exist even the fluid is still. I know in Fluent, if I want to take it into consider, I have to set the gravity and set reference density to 0. Then what should I do with my own code? Thank you.
Last edited by hjxy2012; May 22, 2017 at 00:02. |
|
May 22, 2017, 03:41 |
|
#2 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
Give more details about your discretization, it is likely a numerical instability ..
|
|
May 22, 2017, 05:14 |
|
#3 |
New Member
Green
Join Date: Apr 2016
Posts: 27
Rep Power: 10 |
Than you for your reply.
I get some ideas from this issue: Hydrostatic Pressure and Gravity The hydrostatic pressure is not taken into consideration when we are building momentum equations. And I have to add the hydrostatic pressure from this: p = pd + rho*g*z |
|
Tags |
finite volume method, gravity, pressure |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to use "translation" in solidBodyMotionFunction in OpenFOAM | rupesh_w | OpenFOAM Running, Solving & CFD | 5 | August 16, 2016 05:27 |
multiphase turbulance case floating error | harsha_kulkarni | OpenFOAM Running, Solving & CFD | 3 | February 18, 2016 06:06 |
Problem with SIMPLEC-like finite volume channel flow boundary conditions | ghobold | Main CFD Forum | 3 | June 15, 2015 12:14 |
influence of convex or concave control volume in finite volume discretization | openfoammaofnepo | Main CFD Forum | 1 | March 24, 2014 03:13 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |