How to set fully developed flow aty inlet?
1 Attachment(s)
Hi there Foamers,
I was wondering how to set properly a fully developed velocity profile WITH the pressure gradient required to push the fluid (newtonian). As far as I have checked mostly what has been adopted regards only mapping the velocity profile at the geometry inlet however with zeroGradient for the pressure field. Is it just me or does these b.c. sound quiet off? Suppose I do know the pressure gradient in order to assure the development of the flow, which b.c. should I adopt at the outlet? I mean for a simple geometry, e.g. a backward facing step for instance. I was trying something like U: Code:
inlet Code:
inlet How is one suppose to set such a boundary condition in order to assure the velocity profile is in fact developed (i.e. with pressure gradient at the inlet)? I've already used zeroGradient for pressure, but it seems to me such condition doesn't agree with definition of developed flow. Best regards to all and many thanks in advance for any advise. F. Soares PS: I found this thread on the subject emphasizing what I mean. |
instead of using zeroGradient, employing fixedFluxPressure at inlet for pressure will consider your concerns. because fixedFluxPressure sets the pressure gradient based on velocity field
|
Sorry for the late reply, but thanks for your advise. I am trying to use the b.c. you mentioned but I am getting the following error message
Code:
--> FOAM FATAL ERROR: Code:
leftWall Are you familiar with the proper setting for fixedFluxPressure? What am I missing here? Once again thank you for your help. F. Soares |
Hello Soares,
I am new to openfoam and I would like to simulate fully developed flow through a rectangular channel. Since you have already tried, can you, please, help me in setting the velocity field for fully developed case. Thanks & Regards, vidyadhar |
Quote:
Perhaps what you need for such a geometry is simply the boundaryFoam solver. If I understood correctly, your problem is to find the velocity profile for a developed flow corresponding to a rectangular cross-sectioned pipe. Right? Check the tutorials in Code:
$FOAM_TUTORIALS/incompressible/boundaryFoam Best regards, Fernando Soares Alves. PS: Check also this .pdf which summarizes the most used boundary conditions in the former OpenFOAM version 2.3.0. I hope it will also help you. |
Hi Fernando,
thank you for the quick reply. Actually, I want to give inlet condition as fully developed flow. I want to study the flow behavior through a T junction (either with 1 inlet & 2 outlets or with 2 inlets & 1 outlet). I am using Caelus6.04 version, which is similar to openfoam. I have openfoam 4.1 also. I find in some forums, for defining fully developed flow at inlet: some are referring to groovyBCs; some are directly modifying their 0/U file. As you have tried to use fully developed flow conditions at inlet for your geometry, can you please let me know how to implement for my case. Thanks & Regards, vidyadhar |
Hi, Vidyadhar.
Actually I couldn't make it work. I've tried this fixedFluxPressure as mentioned above but kept getting the error message. Searching for this BC again today I've also found this blog entry. Ok, it's in japanese but Google translate is here for those sort of things. Besides you can also check the .pdf I mentioned to see the correct sintaxe for such BC. Greetings and let me know if you could get it to work for your problem. Fernando Soares Alves. |
Hello Fernando,
Thank you very much. I will let you know once I get any output. Regards, vidyadhar |
All times are GMT -4. The time now is 00:25. |