|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Join Date: Oct 2017
Posts: 12
Rep Power: 9 ![]() |
From all the standard solvers that I found on OpenFoam, it seems that the buoyancy term is always treated by modifying the pressure:
![]() where ![]() In OpenFoam format, this is usually written as Code:
solve ( UEqn == fvc::reconstruct ( ( - ghf*fvc::snGrad(rho) - fvc::snGrad(p_rgh) )*mesh.magSf() ) ); ![]() |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Knut Erik T. Giljarhus
Join Date: Mar 2009
Location: Norway
Posts: 35
Rep Power: 23 ![]() |
Yes, using the modified pressure often makes the problem easier to handle numerically, and it's easier to specify boundary conditions.
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Join Date: Oct 2017
Posts: 12
Rep Power: 9 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#4 |
Member
Knut Erik T. Giljarhus
Join Date: Mar 2009
Location: Norway
Posts: 35
Rep Power: 23 ![]() |
See this post on the issue tracker from Henry Weller, where he briefly explains it:
https://bugs.openfoam.org/view.php?id=1170 |
|
![]() |
![]() |
![]() |
Tags |
buoyancy, density, gravity |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | September 14, 2016 04:19 |
OpenFOAM wall function treatment | kimotbwb | OpenFOAM Programming & Development | 7 | March 6, 2015 13:52 |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 10:04 |
OpenFOAM 2.x simpleFoam and kOmegaSST convergence and wall treatment | gillimaniac | OpenFOAM Running, Solving & CFD | 6 | August 1, 2013 02:36 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |