|
[Sponsors] |
January 23, 2014, 08:37 |
Time history of wall Shear Stress.
|
#1 |
Member
Manan
Join Date: Oct 2013
Location: Göteborg
Posts: 37
Rep Power: 12 |
Hi
I need a little help. I wanted to observe how the wall Shear Stress changes over time for my case. To achieve that, I execute wallShearStress utility, which creates the wallShearStress field in all the (written) time-step folders (startTime startTime + writeInterval startTime +2*writeInterval ... and so on till endTime). Does anybody know how I can extract the 'wall' patch value of wallShearStress from each of these folders and plot them as a function of iterations/time steps? Any comments are welcome! |
|
January 23, 2014, 09:45 |
|
#2 |
Senior Member
|
Hi,
I guess there can be another solution but usually I do the following: 1. Sample values of a field (in your case wallShearStress) with sample utility; it will create folders postProcessing/surfaces/* with sampled data in them 2. Use python to iterate over created folders to read values in array [time, value] 3. Use matplotlib to plot values Surely you can substitute python and matplotlib with preferred software. But I is your wall shear stress constant over the wall patch? |
|
January 29, 2014, 11:25 |
|
#3 |
Member
Manan
Join Date: Oct 2013
Location: Göteborg
Posts: 37
Rep Power: 12 |
Thanks Alexey
I did not think of using Python to extract the values from the folders, so that is a start. I have just two cells in the x direction along the wall patch. The wallShearStress does not vary so much between them. |
|
January 29, 2014, 11:31 |
|
#4 |
Senior Member
|
Hi,
Actually I've recalled more convenient way of doing what you want. There's an utility probeLocations. You create probesDict in system folder of your case (you can find example in $FOAM_APP/utilities/postProcessing/sampling/probeLocations), run the utility and it will create files in postProcessing/probes with time evolution of the field at a given location. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Natural convection in a closed domain STILL NEEDING help! | Yr0gErG | FLUENT | 4 | December 2, 2019 00:04 |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 11:08 |
Contour of wall shear stress (average in the flow time) | pedroxramos | FLUENT | 6 | March 12, 2014 12:02 |
Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 13:58 |
Flux depending on wall shear stress in Fluent 5.2 | Andreas Borg | FLUENT | 0 | June 7, 2000 06:27 |