CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Y plus in buffer layer in StarCCM+

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 1 Post By sbaffini
  • 1 Post By sbaffini
  • 1 Post By LuckyTran
  • 1 Post By Paulh

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 10, 2022, 23:04
Default Y plus in buffer layer in StarCCM+
  #1
New Member
 
Hamed
Join Date: Mar 2017
Location: Iran
Posts: 29
Rep Power: 9
hamed1983 is on a distinguished road
Hi all,

I have simulated a ship in a virtual wind tunnel, and I want to show Y+ in the buffer layer. As can be seen in the attached I have drawn Y plus for the surface of my model, even though I was wondering how do I have to indicate it for the buffer layer specifically? any help would be appreciated.

Regards
Attached Images
File Type: png pic.png (115.2 KB, 25 views)
hamed1983 is offline   Reply With Quote

Old   May 11, 2022, 04:26
Default
  #2
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,156
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
That's not how yplus contours work in any code, nor y+ in general. The contour you see is just a nondimensional version of your tau_wall (actually, its absolute value).

This nondimensional value is based on the y+ definition using the wall distance in the cell adjacent to the point of the surface where you see the contour.

So, for a given grid and solution, there is a single y+ value to show, the one related to your near wall cell and its tau_wall. That value might or not end up in the buffer layer, but this mostly depends from your grid.

Now, if you want to have a nice plot of the u+ vs y+ for a given profile extracted along a normal to the wall in a given point, you need to extract the tau_wall at that point and do the change of variable yourself.

You can also divide the yplus you have by the local cell wall distance and you obtain a quantity that can just be multiplied by any distance and return your new y+ value in all the locations
hamed1983 likes this.
sbaffini is offline   Reply With Quote

Old   May 11, 2022, 05:30
Default
  #3
New Member
 
Hamed
Join Date: Mar 2017
Location: Iran
Posts: 29
Rep Power: 9
hamed1983 is on a distinguished road
Dear Sbaffini,

Thanks for your prompt reply. However, I was wondering if there is any built-in feature in Starccm to do that?

Actually, I don't know how to implement this part of your message
"Now, if you want to have a nice plot of the u+ vs y+ for a given profile extracted along a normal to the wall in a given point, you need to extract the tau_wall at that point and do the change of variable yourself."

regards
hamed1983 is offline   Reply With Quote

Old   May 11, 2022, 06:09
Default
  #4
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,156
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Well, the profile part is typically simple and common to several software, yet I have zero knowledge of starccm.

I don't think there is any code automating this. In order to do this manually you need to take care of two issues:

1) When you pick up a general point on a surface, the relevant velocity to extract along the normal n is the one parallel to the wall: u - (u*n)n

2) The tau_wall has to be extracted at the intersection between the line you extract and the wall
hamed1983 likes this.
sbaffini is offline   Reply With Quote

Old   May 11, 2022, 08:04
Default
  #5
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,679
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Star gives you tau at the wall and y+ and u* at the wall adjacent cells. Star does give you the distance to the nearest wall for a cell in the interior volume but it does not give you y+,u+, nor u* there. There isn't a general framework for how to compute y+ and u+ for an arbitrarily complex 3D flow, this part you have to do yourself.
hamed1983 likes this.
LuckyTran is offline   Reply With Quote

Old   May 12, 2022, 13:58
Default
  #6
Member
 
Paul Hancock
Join Date: Mar 2009
Location: Bellingham, WA
Posts: 31
Rep Power: 17
Paulh is on a distinguished road
If you have access the to Siemens Support Center site, you might want to take a look at this article:

https://support.sw.siemens.com/en-US...00037693_EN_US

If the link doesn't work, you can search for an article titled:

How to plot y+ and u+ boundary layer profiles normal to a wall
hamed1983 likes this.
Paulh is offline   Reply With Quote

Reply

Tags
buffer zone, star ccm, y plus ranges, y plus selection


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
[snappyHexMesh] Help with Snappy: no layers growing GianF OpenFOAM Meshing & Mesh Conversion 2 September 23, 2020 08:26
[snappyHexMesh] layer not added Rasmusiwersen OpenFOAM Meshing & Mesh Conversion 1 January 2, 2020 09:43
[snappyHexMesh] snappyHexMesh Boundary Layer at Corner panpanzhong OpenFOAM Meshing & Mesh Conversion 5 July 3, 2018 05:53
Prismatic boundary layer KateEisenhower enGrid 5 September 15, 2015 07:48
errors Fahad Main CFD Forum 0 March 23, 2004 13:20


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