CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Bad prism layer cells close to sharp corner

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By LuckyTran

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 23, 2022, 12:53
Default Bad prism layer cells close to sharp corner
  #1
Member
 
Pietro
Join Date: Jun 2021
Location: London
Posts: 40
Rep Power: 4
pi120 is on a distinguished road
Hi,

I am struggling to obtain a nice prism layer in proximity of the corner of my geometry. See the images attached to get an idea. Any suggestion on how to get better results?

On a side note, is it actually necessary to have a prism layer at all in the recirculating region? The whole area is a shear layer...

Thanks
Pietro
Attached Images
File Type: jpg img1.jpg (209.4 KB, 61 views)
File Type: jpg img2.jpg (161.0 KB, 57 views)
pi120 is offline   Reply With Quote

Old   May 23, 2022, 13:11
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
You're trying to pack too many layers into too small a distance relative to the surface mesh. It's going to retract the prism layer thickness to maintain mesh quality, it can't because that thickness is less than the minimum thickness (another setting). Therefore it retracts it to 0.

Reduce the number of layers or allow the mesh to be smaller (i.e. increase cell count).

More important than y+, you're always going to want prism layers next to walls. Try even an inviscid case without prism layers and you'll see right away how important they are and it has very little to do with y+.
LuckyTran is offline   Reply With Quote

Old   May 23, 2022, 13:30
Default
  #3
Member
 
Pietro
Join Date: Jun 2021
Location: London
Posts: 40
Rep Power: 4
pi120 is on a distinguished road
Thank you.
Could you explain why you need a prism layer for an inviscid simulation? I always thought of the prism layer as the area where you try to capture the physics of the boundary layer. As an inviscid flow has no boundary layer, I don't see why you'd need it.

Just as a general thought, I noticed that using a prism layer in the recirculating area leads to areas where the velocity is perpendicular to the prism layer cells (see attached image), which should affect negatively accuracy and residuals due to their low aspect ratio. But I guess that's something you have to accept when you want to model wakes.
Attached Images
File Type: jpg img3.jpg (78.3 KB, 33 views)
pi120 is offline   Reply With Quote

Old   May 23, 2022, 23:12
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
More important than capturing boundary layers is capturing basic kinematic conditions. The velocity vector next to walls needs to be parallel to the wall and not into the wall or you will have all sorts of problems interpolating/extrapolating the solution onto the wall boundary. Your pic clearly demonstrates this happening and why it is so desperately needed. Try repeating it without prism layers and see what happens to flow near solid boundaries.
pi120 likes this.
LuckyTran is offline   Reply With Quote

Old   May 24, 2022, 13:05
Default
  #5
Member
 
Pietro
Join Date: Jun 2021
Location: London
Posts: 40
Rep Power: 4
pi120 is on a distinguished road
Ok, so you need the prism layer to enforce the no-penetration condition. Makes sense, thank you
pi120 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
[snappyHexMesh] Snappy creates strange cells far away from boundary vainilreb OpenFOAM Meshing & Mesh Conversion 3 December 16, 2020 05:11
[snappyHexMesh] layer not added Rasmusiwersen OpenFOAM Meshing & Mesh Conversion 1 January 2, 2020 09:43
SimpleFoam & Theater jipai OpenFOAM Running, Solving & CFD 3 June 18, 2019 10:11
[snappyHexMesh] sHM too many cells Knapsack OpenFOAM Meshing & Mesh Conversion 2 July 8, 2017 07:41
errors Fahad Main CFD Forum 0 March 23, 2004 13:20


All times are GMT -4. The time now is 08:33.