CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

How to add hydrostatic Pressure to simpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 19, 2022, 15:20
Default How to add hydrostatic Pressure to simpleFoam
  #1
Member
 
Mahmoud
Join Date: Nov 2020
Location: United Kingdom
Posts: 43
Rep Power: 6
Mahmoud Abbaszadeh is on a distinguished road
Dear Foamers,

I want to simulate an open channel flow with simpleFoam.

U:

inlet: FixedValue

outlet:zeroGradient

P:

inlet: zeroGradient

outlet: ???

I added the gravity constant in fvOptions. I am wondering how to set the pressure at the outlet to show the effects of the hydrostatic pressure? I set it to zero and it showed all zero as I expected. In another approach, I calculated the hydrostatic pressure in MATLAB and used those values at the outlet, but it did not converge. Any comments and hints would be appreciated.

Please note that I do not want to use buoyantBoussinesqSimpleFoam as it solved the temperature equation which takes longer to solve. Also, I just want to use steady-state not transient case and interFoam.

Cheers
Mahmoud Abbaszadeh is offline   Reply With Quote

Reply


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
Hydrostatic pressure modelling in simpleFOAM EJohn OpenFOAM Running, Solving & CFD 5 June 10, 2022 15:55
Pressure fields in FOAM, p field, total pressure, etc. Tobi OpenFOAM Post-Processing 9 March 25, 2022 02:33
Static Pressure vs Hydrostatic Pressure MissCFD CFX 3 August 13, 2014 00:29
Definition of pressure Ola Nordblom FLUENT 1 August 16, 2001 16:58
Hydrostatic pressure in 2-phase flow modeling (long) DS & HB Main CFD Forum 0 January 8, 2000 16:00


All times are GMT -4. The time now is 22:29.