CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

buoyantBoussinesqPimpleFoam: gravity term is not calculated?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 12, 2018, 04:40
Default buoyantBoussinesqPimpleFoam: gravity term is not calculated?
  #1
Member
 
Fynn
Join Date: Feb 2016
Posts: 48
Rep Power: 10
PanPeter is on a distinguished road
Hello,

I am investigating the buoyantBoussinesqPimpleFoam solver and believe the gravity term is not calculated:

The pressure and gravity terms in the Navier-Stokes equations are redefined as:
-\nabla \frac{p}{\rho_0} + \frac{\rho}{\rho_0}\mathbf{g} 
= -\nabla p_{rgh} - \mathbf{gr} \nabla \frac{\rho}{\rho_0}
,where
p_{rgh} = \frac{p}{\rho_0} - \frac{\rho}{\rho_0}\mathbf{gr}

Now for the pimple loop:
1: Solving for the velocity field, where NSE with above pressure and gravity is solved.
2: The heat equation is solved, where \frac{\rho}{\rho_0} is updated.
3: Updating the pressure field in the nested pressure-correction loop, where p_{rgh} is updated.

Now for my problem:
I initialize the pressure field to be zero everywhere and disable the the pressure correction loop (nCorrectors=0 in fvSolution.PIMPLE). So the p_{rgh} field is zero and will always be zero. That kills the pressure gradient term in the NSE. The dynamics in the systems should then be induced though the gravity term \mathbf{gr} \nabla \frac{\rho}{\rho_0} alone but no motion develops! Does anybody have an idea why?

I attached a lock-exchange case example, in which the pressure loop is deactivated and the Prandtl number is set to 10^9 to disable heat diffusion.
Attached Files
File Type: gz lockExchange.tar.gz (58.6 KB, 1 views)
PanPeter is offline   Reply With Quote

Old   February 15, 2018, 16:55
Default
  #2
MSF
New Member
 
Join Date: Apr 2014
Location: Germany
Posts: 24
Rep Power: 12
MSF is on a distinguished road
Hi,

Nothing unexpected happens. Check buoyantBoussinesqPisoFoam: A detailed explanation

Best Moritz
MSF is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
wallHeatFlux utility for an incompressible case Mr.Jingles OpenFOAM Post-Processing 67 April 6, 2023 04:25
Source Term due to evaporation in energy transport equation styleworker OpenFOAM Programming & Development 3 September 7, 2022 04:09
dsmcFoam setup hherbol OpenFOAM Pre-Processing 1 November 19, 2021 02:52
coupled source term in 3 transport equations mhassani OpenFOAM Running, Solving & CFD 1 September 10, 2018 10:35
bouyancy term in epsilon equation Michael Main CFD Forum 1 June 25, 1999 11:20


All times are GMT -4. The time now is 12:51.