CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   help with specifying pressure inlet (https://www.cfd-online.com/Forums/openfoam-solving/219285-help-specifying-pressure-inlet.html)

Owais Shabbir July 22, 2019 07:52

help with specifying pressure inlet
 
5 Attachment(s)
Hi Community,


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



Attachment 71245


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

Owais Shabbir July 22, 2019 08:51

sorry I forgot to add the blockMeshDict file.
Please insert this to the constant/polyMesh folder.


pardon me.


Owais Shabbir


All times are GMT -4. The time now is 16:09.