|
[Sponsors] |
January 4, 2020, 16:47 |
Turbulent inlet for Openfoam 7
|
#1 |
New Member
Shawn
Join Date: Dec 2019
Posts: 5
Rep Power: 6 |
Hi all,
In my case, I want a turbulent inlet boundary condition for my simulation. I tried the turbulentinletPatch in Openfoam 7, and I tried the FilterNoise method. But they can not give me a right solution for my pressure field. I found the DFSEM (Divergence-free synthetic eddy method) could be used as the boundary condition at the inlet for LES. But it is just available in OpenFOAM v1906 (the one downloaded from www.openfoam.com). It seems like this BC is not provided in OpenFOAM 7 downloaded from www.openfoam.org. So how can I get the DFSEM boundary condition for OF 7? Thanks |
|
January 4, 2020, 19:47 |
|
#2 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
Hi,
- Would you mind to tell us what 'FilterNoise' method is (just curiosity? - Have you ever compiled a BC? Basically, copy-paste the OF.com BC into OF7, and recompilation of the BCs only should be enough. - If there is no particular reason for using OF7, might consider to switch to OF.com version since they may update the content of this BC in the future, and then you would need to do the same transfer procedure again ( I think this option is the easiest).
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
January 13, 2020, 23:13 |
|
#3 |
Senior Member
Ruiyan Chen
Join Date: Jul 2016
Location: Hangzhou, China
Posts: 162
Rep Power: 10 |
Hi kennymhx,
I've had similar questions as yours. Note that .org versions of FOAM is a littble bit different from .com ones. If I remember correctly, their definition and use of random number generators are different, so it would be hard to directly compile the DFSEM boundary condition from .com FOAM in .org FOAM. I end up using the inflowGenerator from Rostock, search in the forum or google and you will find it. I've compiled it in OF-4.x with minor effort, and it works well. A little bit more of the performance of turbulent boundary condtions, I think the DFSEM one gives better pressure behaviours at the inlet, because it is divergance free. The inflowGenerator from Rostock is not strictly divergence free (I'm not 100% sure on this). By the way, depending on what you are looking at, the turbulentInlet in FOAM should be good too. If you are considering an unconfined flow, the turbulence should be created by itself (by mixing for example) instead of being transported from the inlet, in this case turbulentInlet works fine. But if you are considering for example a confined flow (flow in a tube or something similar), a correct inflow turbulence is desired. |
|
May 17, 2021, 17:29 |
|
#4 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
I kindly disagree. Never use the turbulentInlet boundary condition for inlet turbulence. It is just a bad naming, I am afraid. The turbulentInlet condition has in reality nothing to do with resolved turbulent fluctuations.
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
interFoam wave propagation and explosion of Courant number and residuals | ChiaraViola | OpenFOAM Running, Solving & CFD | 1 | June 26, 2019 06:36 |
UDF for fully developed turbulent flow at inlet | soroushsaberi | FLUENT | 0 | May 28, 2014 18:00 |
Spatially Developing Turbulent Boundary Layer Inlet | deji | OpenFOAM | 1 | June 8, 2010 15:52 |
Specify turbulent inlet | chris1980 | OpenFOAM Running, Solving & CFD | 4 | August 29, 2006 04:11 |
inlet turbulent B.C. | ROOZBEH | FLUENT | 3 | September 25, 2003 08:07 |