|
[Sponsors] |
Momentum equation in buoyantBoussinesqSimpleFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 9, 2024, 11:03 |
Momentum equation in buoyantBoussinesqSimpleFoam
|
#1 |
New Member
Join Date: Sep 2024
Posts: 3
Rep Power: 2 |
Dear all,
I am very new to OpenFOAM so my apologies in advance if this question is too basic. For the solver of buoyantBoussinesqSimpleFoam there is this term in the momentum equation: Code:
ghf*fvc::snGrad(rhok) Where is the thermal expansion coefficient, the temperature and the inner product of the gravitational acceleration with the location of the face centres. However, why do we take the gradient? From the Boussinesq assumption, there does not seem to be one at first glance: https://en.wikipedia.org/wiki/Boussi...ion_(buoyancy) |
|
September 10, 2024, 13:43 |
|
#2 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 746
Rep Power: 14 |
This term arises because OpenFOAM buoyant solvers don't solve for the static pressure, they solve for a quantity called p_rgh (for stability reasons), which is akin to an anhydrostatic pressure:
Stick this into the momentum equation, and you will see where the term comes from (and where the gravity term disappears to). |
|
September 12, 2024, 09:27 |
|
#3 |
New Member
Join Date: Sep 2024
Posts: 3
Rep Power: 2 |
Thank Tobermory! This really helped. Finally I also found an derivation here: https://www.openfoam.com/documentati...orm-p-rgh.html
|
|
Tags |
boussinesq, buoyantboussinesqsimple |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setting the height of the stream in the free channel | kevinmccartin | CFX | 12 | October 13, 2022 22:43 |
How to manually add Boussinesq Approximation to the momentum equation of a solver? | chymalaia | OpenFOAM Programming & Development | 2 | February 5, 2021 10:07 |
add a pressure drop term in the momentum equation | a.lone | FLUENT | 0 | July 3, 2019 07:48 |
Domain Reference Pressure and mass flow inlet boundary | AdidaKK | CFX | 75 | August 20, 2018 06:37 |
Coefficients discretized momentum equation | michujo | Main CFD Forum | 4 | June 20, 2012 02:33 |