|
[Sponsors] |
January 14, 2021, 15:59 |
Velocity wall function
|
#1 |
Senior Member
René Thibault
Join Date: Dec 2019
Location: Canada
Posts: 114
Rep Power: 6 |
Hi everyone!
Hope you going well. I was trying to implement a BC as a wall function for U like one shown in the picture. I'm was trying to find something similar but I found nothing so far. Is someone here able to guide me with something, tutorial, BC template for U. Or, is maybe better to implement a shear/gradient at the wall? Thanks and best Regards, |
|
January 16, 2021, 09:13 |
|
#2 |
Senior Member
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16 |
https://www.openfoam.com/documentati...lFunction.html
This is quite close to what you look for I think. I've never seen a wall function for U which implements the velocity at the wall directly. You usually compute the wall shear stress which is consistent with your assumed velocity profile. In this case a logarithmic velocity distribution over the cell adjacent to the wall Best Michael |
|
January 16, 2021, 17:00 |
|
#3 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
Also, have a look at https://www.openfoam.com/documentati...lFunction.html , particularly the citations where
Eqs. 6-7 in PJ Richards and RP Hoxey. Appropriate boundary conditions for computational wind engineering models using the k-ε turbulence model. In Computational Wind Engineering 1, pages 145–153. Elsevier, 1993. were mentioned for the implementation. Hope it helps.
__________________
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 18, 2021, 09:56 |
|
#4 |
Senior Member
René Thibault
Join Date: Dec 2019
Location: Canada
Posts: 114
Rep Power: 6 |
I use 'nutkAtmRoughWallFunction'' from openfoam v1906 and the results on U isn't what it should compare to the analytics solution close to the wall. Also, I noticed that the one suggested in openfoam v2006 doesn't seams exactly the same.
So, I assume that I still need to set U at the wall U = (0 0 0)? Do you have an idea or rational explanation why the author in this case present this that way (Uw) instead of presenting it with 'nutw' or it's probably based on the authors preferences? Thank you for replying! |
|
January 18, 2021, 10:51 |
|
#5 |
Senior Member
René Thibault
Join Date: Dec 2019
Location: Canada
Posts: 114
Rep Power: 6 |
It's work! I got the right results on the velocity.
Thank you again! Last edited by Tibo99; January 26, 2021 at 15:30. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF for suction velocity on a wall | ahmed425 | Fluent UDF and Scheme Programming | 0 | November 2, 2017 10:50 |
[blockMesh] error message with modeling a cube with a hold at the center | hsingtzu | OpenFOAM Meshing & Mesh Conversion | 2 | March 14, 2012 10:56 |
ParaView for OF-1.6-ext | Chrisi1984 | OpenFOAM Installation | 0 | December 31, 2010 07:42 |
Influece of wall velocity in the main flow | marvin | CFX | 0 | March 22, 2008 03:05 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |