|
[Sponsors] |
wallshearStress only gives min and max values of shear on the wall |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 17, 2024, 01:26 |
wallshearStress only gives min and max values of shear on the wall
|
#1 |
New Member
Mahdi
Join Date: May 2016
Posts: 22
Rep Power: 9 |
Hi everyone,
I have a channel and I would like to see how the shear stress is distributed in the width of the bed of channel. When I use the wallShearStress function, OpenFoam only gives the minimum and maximum values of shear stress on the bed of channel. How can I change this to get local shear stress on all the cells on the bed. Thank you. |
|
March 17, 2024, 04:16 |
|
#2 |
Senior Member
M
Join Date: Dec 2017
Posts: 642
Rep Power: 12 |
As per documentation it should be written by default in OF11: https://github.com/OpenFOAM/OpenFOAM...lShearStress.H
However you can still try with this entry included. Code:
writeFields true; For ESI-OpenFOAM this seems to be called Code:
writeToFile true; https://www.openfoam.com/documentati...earStress.html Have you checked there is really no file "wallShearStress" in your result time folder? Additionally you can calculate the field by using the foamPostProcess utility described here at the bottom: https://doc.cfd.direct/openfoam/user...processing-cli |
|
March 17, 2024, 16:32 |
|
#3 |
New Member
Mahdi
Join Date: May 2016
Posts: 22
Rep Power: 9 |
Thank you very much for your reply.
I am using the same function and syntax. The output I am getting looks like this: # Wall shear stress # Time patch min max 16.100183686157614 FP_WALL (-2.6707024603e-04 -4.0433331042e-07 1.1097838880e-09) (-2.6535766862e-06 4.5353077257e-08 5.4673445276e-06) the three values in parantheses seem to be the three components of shear stress on the specified wall patch, but it only gives me the maximum and minimum values on the wall. I need to know the local shear stress on each cells of the wall patch so that I know how it changes along a line in transverse direction. |
|
March 17, 2024, 16:40 |
|
#4 |
New Member
Mahdi
Join Date: May 2016
Posts: 22
Rep Power: 9 |
But it looks people have been able to get results on nodes like here
determining wall shear stress at selected point Maybe I should look at the syntaxes again. |
|
March 17, 2024, 21:44 |
|
#5 |
New Member
Mahdi
Join Date: May 2016
Posts: 22
Rep Power: 9 |
Ok I found it. it is actually calculated for all cells and included along with other variables in output folder.
Thanks again for your help. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
y+ and u+ values with low-Re RANS turbulence models: utility + testcase | florian_krause | OpenFOAM | 114 | August 23, 2023 05:37 |
Converging Diverging Nozzle with dbnsTurbFoam | Saleh Abuhanieh | OpenFOAM Running, Solving & CFD | 4 | December 13, 2019 10:26 |
Near wall treatment in k-omega SST | Arnoldinho | OpenFOAM Running, Solving & CFD | 38 | March 8, 2017 13:48 |
Problem of simulating of small droplet with radius of 2mm | liguifan | OpenFOAM Running, Solving & CFD | 5 | June 3, 2014 02:53 |
On the damBreak4phaseFine cases | paean | OpenFOAM Running, Solving & CFD | 0 | November 14, 2008 21:14 |