|
[Sponsors] |
May 28, 2020, 18:17 |
|
#21 |
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,
- Could you please elaborate what went wrong and its relation to the post in the link? Many thanks.
__________________
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 |
|
May 28, 2020, 19:10 |
|
#22 |
Senior Member
René Thibault
Join Date: Dec 2019
Location: Canada
Posts: 114
Rep Power: 7 |
Hi @lebc,
I'm not in the position at the moment to decide if I'm allowed to share the work I've done (sorry about that), but l found what I needed in this paper: https://onlinelibrary.wiley.com/doi/....1002/fld.2709 The gradiant at the top for U and espilon that I use as a BC look something like this: for epsilon: grad[faceI] = -pow(ustar_[faceI],5)*kappa_/pow(nut[faceCellI],2) for U: grad[faceI] = dir_*pow(ustar_[faceI],2)/nut[faceCellI] I did a 1D simulation first with the Inlet/Outlet to be set as 'cyclic' and the BackAndFront as a 'symmetryPlane'. The goal is to having a profile of U,k,epsilon and nut by using the top and bottom BC and use this results to map the 2D domain for initial conditions. I didn't validate my results though, so, I can't guarantee the right results, but we could probably comparing our results maybe? Hope this help! Regards, Last edited by Tibo99; May 28, 2020 at 22:17. |
|
May 29, 2020, 18:43 |
|
#23 |
Member
Luis Eduardo
Join Date: Jan 2011
Posts: 85
Rep Power: 15 |
@HPE,
I'm using the version of OF from openfoam.org, so I had to adapt a little bit the files for the proposed case. Additionally, I did not compile everything that is proposed in the link you provided, so this could also be the issue. I'm not saying it is wrong, but that I couldn't make it work as I expected. @René, No problem, thank you for the tips! My case is simple, I haven't modified the source code, but if you want I can share it with you. I have just accepted the difference in results and used the standard approach from OF for my work. |
|
May 29, 2020, 22:45 |
|
#24 |
Senior Member
René Thibault
Join Date: Dec 2019
Location: Canada
Posts: 114
Rep Power: 7 |
@lebc,
My pleasure! I didn't change the source code, but just created new BC at the top for U and epsilon in the way I mentioned before in my last post but keep the k-e model from OF as is. In conjunction with these BC, I used the 'nutkAtmRoughWallFunction' at the bottom. And 'zeroGradient' at the top and bottom for 'k' since the profile is suppose to be uniform. One thing I know is, if you try to achieve matching U profile at the Outlet with the Inlet, you'll struggle if you don't use these kind of BC. Obviously, there is other options in the literature, but these must match all together. You can share it if you want. Its up to you. Good work and stay safe! Regards, |
|
Tags |
boundary conditions |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Boundary conditions low Mach number flow | lost.identity | Main CFD Forum | 0 | November 28, 2010 05:44 |
3-D Compressible Flow Boundary Conditions | Tyler | FLUENT | 4 | February 5, 2009 20:58 |
boundary conditions for boundary layer flow | A. Al-zoubi | CFX | 0 | November 3, 2007 08:11 |
Internal flow simulation boundary conditions | Kishore | FLUENT | 1 | July 10, 2007 12:42 |
Please help with flow around car modelling! | Tudor Miron | CFX | 17 | March 19, 2004 20:23 |