CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   p_rgh in interFoam 2.1.1 (https://www.cfd-online.com/Forums/openfoam/107189-p_rgh-interfoam-2-1-1-a.html)

tayo September 19, 2012 20:02

p_rgh in interFoam 2.1.1
 
Greetings,

I'm using OF 2.1.1. From previous trends, I've learnt that p_rgh was newly introduced from OF 1.7 and pressure was modified and computed as p_rgh = p - rho*gh in a number of OF solvers including interFoam. I'm using interFoam for my case and I need pressure gradient to cause air bubble rise in a liquid. How do I include this rho*gh to my simulation. I tried using some BC, but no success for now. Without this gradient, my bubble just free falls.Do I need to modify the solver? Is there another easier way using BC? Anticipating your reply. Thank you.

tayo September 20, 2012 18:07

All right, problem fixed. And p_rgh in OF 2.1.1 is not a problem (atleaast not for the case I run) and it does not impede buoyancy either.

akidess September 21, 2012 05:39

It is likely that at some point in the future, someone will find this thread and get angry at you for not explaining how you fixed your problem ;)

tayo September 21, 2012 12:51

Quote:

Originally Posted by akidess (Post 382940)
It is likely that at some point in the future, someone will find this thread and get angry at you for not explaining how you fixed your problem ;)

Sorry to take your time, it was my fault. I unknowingly inserted liquid inside my bubble and air as the surrounding. Of course, it should sink irrespective of the buoyancy.


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