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

help with specifying pressure inlet

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 22, 2019, 07:52
Default help with specifying pressure inlet
  #1
Member
 
Owais Shabbir
Join Date: May 2019
Posts: 48
Rep Power: 4
Owais Shabbir is on a distinguished road
Hi Community,


I am new to openFoam. I have done few tutorials and wanted to practice a very simple 2D case with buoyantBoussinesqSimpleFoam.



geometry.jpg


My case is a simple channel with a cylindrical obstacle in it. I am attaching the cases (just run the run.sh command) :


case1: orig_velocitydriven: inlet speed is specified at 0.147 ms-1 and it works perfectly.

case2: remake_pressuredriven: here I specified the pressure 0.0345 at the inlet. I calculated this from the above case by using plot over line filter.





check files for all the boundary conditions for both cases.


The problem: When I simulate the second case, flow goes in the opposite direction. I don't understand this.
Am I using the wrong boundary conditions or am I missing something.



Any help would be appreciated
Attached Files
File Type: zip remake_pressuredriven.zip (118.6 KB, 1 views)
File Type: zip orig_velocitydriven.zip (46.2 KB, 2 views)
File Type: c boundarycondition_case1.c (5.9 KB, 1 views)
File Type: c boundarycondition_case2.c (7.4 KB, 2 views)
Owais Shabbir is offline   Reply With Quote

Old   July 22, 2019, 08:51
Default
  #2
Member
 
Owais Shabbir
Join Date: May 2019
Posts: 48
Rep Power: 4
Owais Shabbir is on a distinguished road
sorry I forgot to add the blockMeshDict file.
Please insert this to the constant/polyMesh folder.


pardon me.


Owais Shabbir
Owais Shabbir is offline   Reply With Quote

Reply

Tags
flow reversed, opposite flow, pressure inlet, simple

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
Adjuting oulet pressure till inlet pressure reaches a certain value in timestep pvpnrao OpenFOAM Running, Solving & CFD 2 September 11, 2018 10:14
"Pressure Inlet" Boundary Setup Wijaya FLUENT 15 May 18, 2016 10:08
Pressure Outlet Guage pressure Mohsin FLUENT 36 April 29, 2016 17:16
Assign static pressure at inlet Tanjina FLUENT 0 November 3, 2013 11:34
Neumann pressure BC and velocity field Antech Main CFD Forum 0 April 25, 2006 02:15


All times are GMT -4. The time now is 14:00.