CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Velocity wall function

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 1 Post By mAlletto
  • 1 Post By HPE

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 14, 2021, 14:59
Default Velocity wall function
  #1
Senior Member
 
René Thibault
Join Date: Dec 2019
Location: Canada
Posts: 114
Rep Power: 6
Tibo99 is on a distinguished road
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,
Attached Images
File Type: png Uwall.png (37.1 KB, 20 views)
Tibo99 is offline   Reply With Quote

Old   January 16, 2021, 08:13
Default
  #2
Senior Member
 
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 615
Rep Power: 15
mAlletto will become famous soon enough
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
Tibo99 likes this.
mAlletto is offline   Reply With Quote

Old   January 16, 2021, 16:00
Default
  #3
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12
HPE is on a distinguished road
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.
Tibo99 likes this.
HPE is offline   Reply With Quote

Old   January 18, 2021, 08:56
Default
  #4
Senior Member
 
René Thibault
Join Date: Dec 2019
Location: Canada
Posts: 114
Rep Power: 6
Tibo99 is on a distinguished road
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!
Tibo99 is offline   Reply With Quote

Old   January 18, 2021, 09:51
Default
  #5
Senior Member
 
René Thibault
Join Date: Dec 2019
Location: Canada
Posts: 114
Rep Power: 6
Tibo99 is on a distinguished road
It's work! I got the right results on the velocity.

Thank you again!

Last edited by Tibo99; January 26, 2021 at 14:30.
Tibo99 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 09:50
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 06:42
Influece of wall velocity in the main flow marvin CFX 0 March 22, 2008 02:05
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 06:51


All times are GMT -4. The time now is 11:14.