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

Incorrect yPlus values

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 15, 2025, 15:29
Question Incorrect yPlus values
  #1
New Member
 
Rafal Hemzaczek
Join Date: Oct 2025
Posts: 1
Rep Power: 0
Rafal_Hemzaczek is on a distinguished road
Hello all,
I am running a 2D compressible k-omega SST simulation of the internal flow inside a C-D nozzle using shockFluid OpenFOAM V13. I have a good understanding of the flow as it can be estimated analytically, there is real test data and I had run an inviscid simulation of it previously.


I used this information to calculate the cell size required for y+ = 1.
Having then ran the simulation I used the command:
`foamPostProcess -solver shockFluid -func yPlus`


The results are suprising as they are saying I was off by 2-3 orders of magnitude and that my mesh is very over resolved (y+ max: 0.0032).
However I have my suspicions:


a) The cmd line logs first say: `transport sutherland;`in the thermodynamics package description, but then follows with:
`Selecting default RAS thermophysical transport model unityLewisEddyDiffusivity`
I think this is what is causing the results to be incorrect as the transport model should be Sutherland. [see screenshot 1]


b) I did a manual check of y+ at the throat using the values of wall shear stress that were generated using:
`foamPostProcess -solver shockFluid -func wallShearStress`
This results in the same contradicting cmd message (different thermophysical transport models) however the values it generates are belivable (14 vs my original estimate of 19).
Using this and all other values from the simulation output the manually calculated y+ for the first cell is 0.58 [screenshot 2] which is not too far off my estimates (meshed for target y+ at throat of 0.8).


I am teaching myself CFD from textbooks and quite new so I am not sure if I have understood something incorrectly or the issue is with the way I have called up the yPlus post processing utility?


I would just like to validate my mesh is correctly sized for resolving the flow near the walls everywhere (not just the nozzle throat), before I carry on experimenting


Thank you in advance!
Raf
Attached Images
File Type: png cmd_y_plus_output.png (52.9 KB, 2 views)
File Type: png y_plus_manual_calculation.png (76.1 KB, 2 views)
Rafal_Hemzaczek is offline   Reply With Quote

Reply

Tags
k-omega sst, shockfluid, yplus

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
yPlus values too low? vdeschuy OpenFOAM Post-Processing 0 November 19, 2017 08:32
Instabilities with too low yplus values? BendikS OpenFOAM Running, Solving & CFD 0 February 27, 2017 06:37
using chemkin JMDag2004 OpenFOAM Pre-Processing 2 March 8, 2016 23:38
Calculating mass flow and Yplus values petrile_83 OpenFOAM Post-Processing 1 December 17, 2011 11:37
YPlus values underGroundMan CFX 2 July 24, 2008 11:51


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