CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Turbulent inlet with groovyBC (http://www.cfd-online.com/Forums/openfoam-solving/98076-turbulent-inlet-groovybc.html)

zcjwyl March 2, 2012 09:48

Turbulent inlet with groovyBC
 
Hi Foam pioneers,

I've implemented a parabolic velocity profile using groovyBC at the inflow B.C. I still want to add a random fluctuation, like the turbulent inlet B.C. in standard OF does.
Is there a way that can couple the two BCs? THX in advance.
Any suggestion on implement a turbulent B.C will be of great appreciation.

gschaider March 14, 2012 08:12

Quote:

Originally Posted by zcjwyl (Post 347296)
Hi Foam pioneers,

I've implemented a parabolic velocity profile using groovyBC at the inflow B.C. I still want to add a random fluctuation, like the turbulent inlet B.C. in standard OF does.
Is there a way that can couple the two BCs? THX in advance.
Any suggestion on implement a turbulent B.C will be of great appreciation.

There are 4 functions in the swak4Foam-version of groovyBC: rand, randNormal, randFixed and randFixedNormal. See the README-file for details (hint: you won't want the Fixed-variety)

hfs December 3, 2012 09:25

Any success with combining the groovyBC+turbulentInlet BCs?

imsurokim April 19, 2013 12:27

Anybody work on this?
I am having trouble getting groovyBC and turbulentInlet at the same time.

immortality April 19, 2013 13:28

I have a unsteady turbulent compressible internal flow (one inlet and one outlet).I have not faced any trouble related to their combination.

lixx April 20, 2013 00:37

You can have a look at this report from Charlmers Open source CFD course:

Code:

http://www.tfd.chalmers.se/~hani/kurser/OS_CFD/NinaGallJorgensen/ReportReviewed.pdf
This is about a way to generate turbulent inlet conditions based on vortex method (see the reference therein). You can also find the corresponding code on that website. But do note that the code has some problems when ruuning in parallel and it does not fully implement the original vortex method.


All times are GMT -4. The time now is 01:06.