|
[Sponsors] |
July 29, 2024, 12:22 |
Y+ vs Wall Position in OpenFOAM
|
#1 |
Member
Join Date: May 2024
Location: France
Posts: 35
Rep Power: 2 |
Hi everyone,
I have managed to get my min, average, and max y+ values thanks to the function given here https://www.openfoam.com/documentati...eld-yPlus.html However, I would really like to get data for a plot of y+ vs wall position, much like we do in ANSYS. Do you know a way to go about this? Thanks in advance. |
|
July 31, 2024, 10:54 |
|
#2 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 741
Rep Power: 14 |
For the wall patch(es) that you are calculating yPlus on, just write out the face coordinates with:
Code:
postProcess -func writeCellCentres -time 0 EDIT Actually, a smarter way for the last part is to leave the writeFormat as binary and use the foamDictionary command to strip out the values (in ASCII) for the patches. For example, if your wall patch was called upperWall then you would simply run: Code:
foamDictionary -entry boundaryField.upperWall.value 0/Cx |
|
Tags |
yplus |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Table bounds warnings at: END OF TIME STEP | CFXer | CFX | 4 | July 17, 2020 00:44 |
Natural convection in a closed domain STILL NEEDING help! | Yr0gErG | FLUENT | 4 | December 2, 2019 01:04 |
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 5, 2016 04:18 |
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 | cfd.direct | OpenFOAM Announcements from Other Sources | 2 | August 31, 2015 14:36 |
[Commercial meshers] Exporting to OpenFOAM mesh with "inner" wall region | raagh77 | OpenFOAM Meshing & Mesh Conversion | 0 | April 24, 2012 07:23 |