CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Boundary conditions for simulating an infinite duct? (https://www.cfd-online.com/Forums/openfoam-pre-processing/191583-boundary-conditions-simulating-infinite-duct.html)

Algebraist August 13, 2017 12:46

Boundary conditions for simulating an infinite duct?
 
Hello,

I am trying to simulate two infinitively long square ducts connected by a small gap. I would like to map the velocity and pressure from the outlet to the inlet, and raise the values of the pressure field by a flat value to drive the flow that way.

Here is an image of my geometry:
https://s22.postimg.org/de85y7pch/image.png

I'm uncertain what boundary condition would allow me to do so, as the list of standard boundary conditions is somewhat sparse on detail, and a Google search hasn't been very helpful either. Does anyone have a recommendation?

Thank in advance.

nimasam August 27, 2017 02:34

if i understood your problem well, the fan boundary condition with cyclic in velocity and jump in pressure is an appropriate BC.

Algebraist August 30, 2017 20:43

Quote:

Originally Posted by nimasam (Post 662024)
if i understood your problem well, the fan boundary condition with cyclic in velocity and jump in pressure is an appropriate BC.

I've been trying to reverse engineer the TJunctionFan tutorial, to figure out how to do this, but it's been slow going as it's written for pimpleFoam and I need mine in icoFoam.

For instance - are the baffles used in TJunctionFan necessary for creating a Fan BC? How does one set up a Fan BC in icoFoam?

nimasam August 31, 2017 03:45

i guess you need to read more :) try with user-guide :)
the icoFoam and pimpleFoam are solvers
Fan is a BC
so Fan boundary condition can be applied on every solver.
Also pimpleFoam does similar job as icoFoam, so i don't understand why you limit yourself to icoFoam.


All times are GMT -4. The time now is 21:54.