CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

buoyantPimpleFoam's equations.

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   June 30, 2015, 11:53
Default buoyantPimpleFoam's equations.
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Torino, Italy
Posts: 701
Rep Power: 8
sharonyue is on a distinguished road
Hello guys,

Right now Im working on buoyant driven force flow. I have a miner confusion about the equations implemented in buoyantPimpleFoam.

We know that:

rho1 = rho0 + psi*(p1-p0)
= rho0 + psi*(p_rgh1 - p_rgh0 + rho1 g h - rho0 g h) // neglected?

But in the code, it is:

rho1 = rho0 + psi*(p_rgh1 - p_rgh0)

fvScalarMatrix p_rghDDtEqn
        fvc::ddt(rho) + psi*correction(fvm::ddt(p_rgh))
      + fvc::div(phiHbyA)
        fvOptions(psi, p_rgh,
Anybody knows the reason of neglecting the last two terms?



Its neglected. more info:
Im the translator of OpenFOAM User Guide Chinese Edition! But always newbie on CFD.
Never too old to learn CFD. Worship these CFD experts.

Last edited by sharonyue; July 2, 2015 at 10:42.
sharonyue is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Guide: Writing Equations in LaTeX on the CFD Online Forums pete Site Help, Feedback & Discussions 20 June 16, 2015 13:52
how to implement k-epsilon equations in ADI method kiamey Main CFD Forum 2 July 17, 2014 17:13
modelling Differential equations in a udf RikardMNorén Fluent UDF and Scheme Programming 2 October 1, 2013 03:36
Riemann invariants of adjoint equations of shallow water equations zqb0929 Main CFD Forum 0 March 15, 2012 01:54
CFD governing equations m.gos Main CFD Forum 0 April 30, 2011 14:21

All times are GMT -4. The time now is 10:26.