CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

gravity calculation in interDymFoam

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

LinkBack Thread Tools Search this Thread Display Modes
Old   September 13, 2013, 12:38
Default gravity calculation in interDymFoam
Senior Member
Daniel Witte
Join Date: Nov 2011
Posts: 148
Rep Power: 13
danny123 is on a distinguished road

I am using InterDymFoam for the Simulation of a stirred vessel. Looking at various threads in this forum, I am unsure about the implementation of gravity in this solver. The solver requires defining a static pressure p_rgh. Unless the interface is horizontal and does not move, the addtional pressure due to gravity is not contant, but depends on how the 2 fluids are distributed in the calculated area. So, the adder rho x g x h is not constant. If the interface is constant and horizontal, the correction would p_rgh = p + rho2 g h with h being the height difference to the interface for h < 0 and p_rgh = p + rho1 g h for h > 0. This is my understanding, correct me if I am wrong.

Since my mixer has a horizontal shaft, the interface has no defined position, but will depend on the forces that move it. Well, this is why I am using this solver. I wonder what InterDymFoam does to account for this because, I think, the definition of static pressure does not make much sense for a two phase system (as decribed in many books as a form of the Bernoulli equation.

To get it right, one would need to use the real pressure and add to all computed cells the gravity drag within the balance of forces. What would I need to correct the solver (if it is wrong) or is there an alternative solver that accounts for gravity correctly?

The correction would only add little complication to the solver since, unless for compressible fluids, the density of a cell does not depend on pressure, but on composition only.


danny123 is offline   Reply With Quote


drag, forces, gravity, interdymfoam, pressure

Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
simpleFoam with gravity, based on interFoam JonW OpenFOAM 1 May 9, 2019 11:08
Convergence problem when use gravity aroma STAR-CCM+ 1 April 10, 2013 11:18
error using interDyMFoam with kOmegaSST to simulate sloshing anmartin OpenFOAM Running, Solving & CFD 0 July 20, 2010 14:21
MRF and Heat transfer calculation Susan YU FLUENT 0 June 2, 2010 09:46
Warning 097- AB Siemens 6 November 15, 2004 05:41

All times are GMT -4. The time now is 07:48.