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

Time history of wall Shear Stress.

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By alexeym

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 23, 2014, 08:37
Default Time history of wall Shear Stress.
  #1
Member
 
Manan
Join Date: Oct 2013
Location: Göteborg
Posts: 37
Rep Power: 12
MaLa is on a distinguished road
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!
MaLa is offline   Reply With Quote

Old   January 23, 2014, 09:45
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
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?
MaLa likes this.
alexeym is offline   Reply With Quote

Old   January 29, 2014, 11:25
Default
  #3
Member
 
Manan
Join Date: Oct 2013
Location: Göteborg
Posts: 37
Rep Power: 12
MaLa is on a distinguished road
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.
MaLa is offline   Reply With Quote

Old   January 29, 2014, 11:31
Default
  #4
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
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.
alexeym is offline   Reply With Quote

Reply


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
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


All times are GMT -4. The time now is 15:49.