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

Extract/Write KsPlus from nutkRoughWallFunction

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

Like Tree1Likes
  • 1 Post By MartinaFormichetti

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 10, 2023, 12:21
Smile Extract/Write KsPlus from nutkRoughWallFunction
  #1
New Member
 
Martina Formichetti
Join Date: Apr 2021
Posts: 6
Rep Power: 5
MartinaFormichetti is on a distinguished road
Hi all! I am working on a RANS simulations of a turbulent BL over a homogeneously rough wall. I wanted to ask if anybody knew of a way to directly extract/write the KsPlus computed by the wall function so that it's then possible to directly sample the value from the controlDict. I am having troubles understanding the difference between the various categories of scalars in OpenFOAM and I get millions of errors when I try doing it on my own. Any help is appreciated! Thanks in advance
MartinaFormichetti is offline   Reply With Quote

Old   August 10, 2023, 12:46
Default
  #2
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 802
Blog Entries: 1
Rep Power: 18
dlahaye is on a distinguished road
Not sure.

Adapt function object for writing yPlus (see e.g. https://develop.openfoam.com/Develop.../yPlus/yPlus.C) to write KsPlus instead?
dlahaye is offline   Reply With Quote

Old   August 10, 2023, 13:57
Default
  #3
New Member
 
Martina Formichetti
Join Date: Apr 2021
Posts: 6
Rep Power: 5
MartinaFormichetti is on a distinguished road
Quote:
Originally Posted by dlahaye View Post
Not sure.

Adapt function object for writing yPlus (see e.g. https://develop.openfoam.com/Develop.../yPlus/yPlus.C) to write KsPlus instead?
Hi! Thank you for your reply! I thought of doing that but I wanted to check if there was a way of extracting it at every iteration from the wall function directly before I do that
dlahaye likes this.
MartinaFormichetti is offline   Reply With Quote

Reply

Tags
boundary layer, ksplus, openfoam, rough walls, roughness

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



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