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

Plotting the wallShearStress - flat plate problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 3, 2023, 10:12
Default Plotting the wallShearStress - flat plate problem
  #1
New Member
 
Akram P A
Join Date: Apr 2020
Location: Kochi - India
Posts: 15
Rep Power: 6
simucentral is on a distinguished road
Hi,

I was trying to simulate the turbulent flat plate problem. kOmegaSST is the model in use. After a run of 5000 iterations, I tried to post process the wallShearStress. However, I was getting only a maximum value and a minimum value when I ran the tutorial as such with the "Include "wallShearStress"".

I tried to sample wallShearStress on the plate patch. I tried the following methods.
1. sampling from paraview - I noticed the values are getting interpolated and the detail I have due to grading in the plate patch is missing due to interpolation.

2. sampling in controlDict - line, sampling type- uniform, face, midpoint (I tried all), everywhere I am getting interpolated result and the detail is missing.

Upon checking the solution folder, I see the wallShearStress file with the bottomWall patch 400 faces and its results. I trust the wallShearStress values are at the centre of these faces. Total number of entries is also 400. So, if I may ask, is there nay way to correctly extract these values and their corresponding x-axis (length along plate) so that I can get a correct plot of wallShearStress along the plate length?
Or, is my understanding wrong?

Dear Sirs, kindly throw some light on this regard.
Thank you so much in advance.
simucentral is offline   Reply With Quote

Old   January 5, 2023, 06:28
Default Plotting wallShear stress without interpolation
  #2
New Member
 
Akram P A
Join Date: Apr 2020
Location: Kochi - India
Posts: 15
Rep Power: 6
simucentral is on a distinguished road
Thank You all.
It was easier than I thought.
We just have to sample as surface on the required patch with interpolate false flag.
The following snippet was attached to the controlDict and post processed to obtain that without interpolation on the patch at whatever grading we have on the mesh.

functions
{
wallShearOnPatchNoInterpolation
{
type surfaces; // important setting - sampling type surface
libs (sampling);
setFormat gnuplot;
surfaceFormat raw;
interpolationScheme cellPoint;
fields ("wallShearStress");

surfaces
(

walls_interpolated
{
type patch;
patches ( "bottomWall" ); //make sure you provide the name of the patch
interpolate false; //important setting to obtain the wall shear stress without interpolation - exact value on the face.
}

);

}
}


Thank You all once again. Please correct me if I am wrong.

Last edited by simucentral; January 5, 2023 at 10:09.
simucentral is offline   Reply With Quote

Reply

Tags
wallshearstress sampling


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
Flat Plate Boundary Layer Height kennedy1992 Fidelity CFD 7 February 24, 2016 05:45
Inclined Turbulent Flat Plate with Viscous Layer Chanterz OpenFOAM Running, Solving & CFD 0 December 8, 2015 18:43
problem in Cf in flow over flat plate mb.pejvak Main CFD Forum 13 December 2, 2013 01:13
Flat plate and Boundary conditions Ravenn FLUENT 1 March 10, 2013 19:39
Problem in getting mesh independent soluiton for flow over flat plate BHE FLUENT 21 January 31, 2013 00:03


All times are GMT -4. The time now is 13:56.