|
[Sponsors] |
October 21, 2019, 11:20 |
gradient term in buoyantBoussinesqPimpleFoam
|
#1 |
Senior Member
Reviewer #2
Join Date: Jul 2015
Location: Knoxville, TN
Posts: 141
Rep Power: 10 |
In the buoyantBoussinesqPimpleFoam, the gradient of pressure and the density term is calculated as the following. In my understanding, the surface normal gradient is first calculated and then used to reconstruct the gradient.
Code:
solve ( UEqn == fvc::reconstruct ( ( - ghf*fvc::snGrad(rhok) - fvc::snGrad(p_rgh) )*mesh.magSf() ) ); Code:
-fvc::grad(p_rgh) Thanks, Rdf |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Source Term due to evaporation in energy transport equation | styleworker | OpenFOAM Programming & Development | 3 | September 7, 2022 03:09 |
Source term for EVAPORATION in Energy Equ. - technical difficulty ? | Kummi | OpenFOAM | 1 | September 9, 2019 09:32 |
Periodic flow using Cyclic - comparison with Fluent | nusivares | OpenFOAM Running, Solving & CFD | 30 | December 12, 2017 05:35 |
problem with gradient as source term in coupled equations | Cyp | OpenFOAM Programming & Development | 0 | August 16, 2010 13:12 |
pressure gradient term in low speed flow | Atit Koonsrisuk | Main CFD Forum | 2 | January 10, 2002 10:52 |