|
[Sponsors] | |||||
Getting hydrostatic pressure in a vertical box using simpleFOAM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
New Member
maxime
Join Date: Jul 2015
Posts: 8
Rep Power: 12 ![]() |
Hi,
I would like to have a vertical cuboïd box (see figure in attachment) with no fluid motion and kinematic hydrostatic pressure (using simpleFoam) like if I cut a box in a static sea. Do you know which boundary conditions for p and u are the best on each face (to get such kinematic hydrostatic pressure and zero velocity after simulation with simpleFoam) ? And how could I add gravity using OpenFOAM (i didn't manage to get clear answer on the forum) Here are my blockMeshDict, initial p and U files with respective boundary conditions (for the different faces, I used patches to assign boundary conditions). (I specified 100 and 120 for the pressure at the top and bottom because the height of my channel is 2m so using dp=-gz...) Of course, because my model is wrong (g is missing) I got (with those parameters) discontinuities for p and v at the top and the bottom of my vertical channel... but above all I got oscillating forces (forces don't converge with simpleFoam). |
|
|
|
|
|
|
|
|
#2 |
|
New Member
maxime
Join Date: Jul 2015
Posts: 8
Rep Power: 12 ![]() |
Hi,
I understand my previous post was a little bit long. So, I'm going to try to make my question shorter : I have a vertical pipe with fluid inside; how can I add gravity to simpleFoam and which boundary conditions (more especially for the top and the bottom, since I can use cyclic bc or wall bc for front, back, left and right)can I use for the different walls after having used simpleFoam (so as to have an hydrostatic pressure distribution and 0 velocity) ? Thanks, |
|
|
|
|
|
|
|
|
#3 |
|
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 23 ![]() |
Take a look at buoyantPimpleFoam and buoyantBoussinesqSimpleFoam
|
|
|
|
|
|
|
|
|
#4 | |
|
Member
Mahmoud
Join Date: Nov 2020
Location: United Kingdom
Posts: 43
Rep Power: 7 ![]() |
Quote:
Any progress with this question? |
||
|
|
|
||
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pressure driven flow in vertical pipe | Hale | OpenFOAM Pre-Processing | 6 | September 13, 2013 09:16 |
| Pressure BC for combustion chamber | Giuki | FLUENT | 1 | July 19, 2011 12:35 |
| hydrostatic pressure influence | pdz711 | FLUENT | 0 | June 17, 2008 23:33 |
| hydrostatic and static pressure | pi | CFX | 3 | May 26, 2004 11:35 |
| Hydrostatic pressure in 2-phase flow modeling (long) | DS & HB | Main CFD Forum | 0 | January 8, 2000 16:00 |