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

How to visualize a range of yplus cells?

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

Like Tree10Likes
  • 10 Post By pbalz

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 19, 2017, 12:27
Question How to visualize a range of yplus cells?
  #1
New Member
 
Luca
Join Date: Nov 2016
Posts: 21
Rep Power: 10
streamline90 is on a distinguished road
Dear Foamers,

I am running a steady state simulation using the turbulence model k-omega SST and the solver simpleFoam.
The simulation is running well but the results of interest seems underestimated with respect to the experimental data. Since the results of interest are forces and moments exerted on a component ( a pantograph ) on the roof of a train I think I need to better describe the boundary layer development. Therefore I've noticed in certain areas that my yPlus was way too large. As the train is quite long (more than 200 meters) it would be inefficient and resource consuming to just refine all the train roof.
My strategy then would be to refine only the problematic zones of the roof BEFORE the pantograph, adding finer layers.

Having said that, is there a way in openFoam to isolate cell/faces (in this case cells) with a value of yplus (or other quantities) within a certain range (or above/below a certain value ) and then visualize them paraView? (maybe in VTK format..?)

Thanks to anyone who intends to help me solve this problem allowing me to proceed with my dissertation!

Cheers,

Luca
streamline90 is offline   Reply With Quote

Old   October 23, 2017, 10:38
Default
  #2
Member
 
Pascal Balz
Join Date: Feb 2015
Location: Germany
Posts: 44
Rep Power: 11
pbalz is on a distinguished road
Hi Luca,

I don't know which OpenFoam version you are using but I guess it's OF4.1 or OF5. For this case you could use the postProcessing utility directly from openfoam:
Code:
simpleFoam -postProcess -latestTime -func yPlus
This writes the yPlus values for the boundary patches. Load all solution files in paraview:
Code:
paraFoam
and then use the threshold filter for the yPlus values.
__________________
Regards,
Pascal
pbalz is offline   Reply With Quote

Old   October 23, 2017, 10:40
Default
  #3
New Member
 
Luca
Join Date: Nov 2016
Posts: 21
Rep Power: 10
streamline90 is on a distinguished road
Thanks a lot Pascal, that seems a good idea and in other websites too it seems the only one!
Have a great day,

Luca
streamline90 is offline   Reply With Quote

Old   November 9, 2020, 06:33
Default
  #4
Member
 
Bineet Mehra
Join Date: Aug 2013
Posts: 61
Rep Power: 13
bineet_aero is on a distinguished road
Quote:
Originally Posted by pbalz View Post
Hi Luca,

I don't know which OpenFoam version you are using but I guess it's OF4.1 or OF5. For this case you could use the postProcessing utility directly from openfoam:
Code:
simpleFoam -postProcess -latestTime -func yPlus
This writes the yPlus values for the boundary patches. Load all solution files in paraview:
Code:
paraFoam
and then use the threshold filter for the yPlus values.
Thanks a lot. Will it be possible to use this utility to find Y+ for solid walls in contact with fluid in conjugate heat transfer problems (for the mappedWalls) ?for example chtMultiRegionSimpleFoam cases etc ?

thanks
bineet_aero is offline   Reply With Quote

Reply

Tags
paraview, 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
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 92 May 21, 2024 08:56
[snappyHexMesh] Problem: after snappyHexMesh, the cells size are not the same kanes OpenFOAM Meshing & Mesh Conversion 0 January 25, 2016 09:06
snappyhexmesh remove blockmesh geometry philipp1 OpenFOAM Running, Solving & CFD 2 December 12, 2014 11:58
snappyHexMesh in parallel - FOAM Fatal IO Error mturcios777 OpenFOAM Running, Solving & CFD 4 August 10, 2012 20:18
[ICEM] error analysis despaired student ANSYS Meshing & Geometry 7 June 27, 2012 12:57


All times are GMT -4. The time now is 10:35.