|
[Sponsors] |
January 24, 2016, 06:49 |
plot wall shear stress vs Re
|
#1 |
New Member
Harnoor Singh
Join Date: Jan 2016
Posts: 14
Rep Power: 10 |
I am simulating naca0012 airfoil in openfoam. I am done with the solution. I want to plot a graph of wall shear stress vs Reynolds number. I have obtained the wall shear stress along the airfoil boundary by the utility wallShearStress. Now I want to get the x coordinate of the cells along the boundary (To calculate Re) so that I can plot wall shear stress vs Re on gnuplot. I have heard that this can be done by adding some code to the solver. I am new to OpenFoam and do not know what code to add and where to add it. Please help me. Is there a simpler way to get the x coordinates? I know the cell IDs at the boundary.
Also, I have another query. I have set the prefvalue=0 and prefcell=0 in the fvSolution file. But when I go to paraview View>Selection Display Inspector and select the cell corresponding to ID 0, I find that it has a p value of -342. Why is this discrepancy there? Please help me. I am struck on this problem since a long time. |
|
Tags |
airfoil 3d, prefcell/prefvalue, reynolds number, wall shear stress |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wall shear stress definition | anthi | CFX | 2 | June 8, 2015 09:44 |
DEFINE_GRID_MOTION with calculation of wall shear stress | Entwistle | Fluent UDF and Scheme Programming | 1 | July 10, 2014 04:12 |
Drift-flux model and wall shear stress | laoji | FLUENT | 0 | July 8, 2014 23:42 |
LES: mean wall shear stress | Francois | FLUENT | 0 | July 7, 2005 12:15 |
Specifying shear stress on wall in 5.5.1 | michael rasmussen | CFX | 1 | May 19, 2003 10:49 |