CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

How can I modify the wall functions?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 25, 2024, 06:41
Default How can I modify the wall functions?
  #1
New Member
 
Join Date: Sep 2022
Posts: 19
Rep Power: 4
dunapkt is on a distinguished road
Hi all,


I'm new to SU2 and now I'm trying to modify the standard wall function.


I know that I can modify the constants such as kappa (von karman constant), B, etc., in the .cfg file.



But what I want to do is add terms that include a function of y_plus.


For example,



u+ = 1/kappa * log(y_plus) + B +f(y_plus)


For this reason, I tried to find the source code defining the wall functions but I couldn't found it.



Where can I see the exact formula of the wall functions that SU2 uses? Also, is this modification possible in SU2?


Thanks.


Best regards,
dunapkt is offline   Reply With Quote

Old   July 25, 2024, 18:25
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
What is the physics behind it? Is it for rough walls?



You can see the implementation for the incompressible solver in:
CIncNSSolver::Set_Tau_Wall_WF


The implementation is based on the paper of Nichols and Nelson:
https://arc.aiaa.org/doi/abs/10.2514/1.3539


You can see there that the wall function is implemented implicitly, so we have y+(u+) given by Spalding's formula.


Hope this helps. For more coding help, you can also consider joining our slack channel.If you go to our main website, just click the "Dev Team Slack" option.

https://su2code.github.io/
bigfootedrockmidget is offline   Reply With Quote

Reply


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
Wall functions vs. Solving viscous layer TommyM OpenFOAM Pre-Processing 0 April 28, 2020 18:14
Enhanced Wall Treatment paduchev FLUENT 24 January 8, 2018 12:55
How are Wall Functions Practically Implemented! pche8701 Main CFD Forum 2 June 2, 2016 11:58
Radiation interface hinca CFX 15 January 26, 2014 18:11
wall functions implementation besh OpenFOAM Programming & Development 0 January 1, 2013 10:14


All times are GMT -4. The time now is 12:46.