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

Avoid wallShearStress in postProcessing folder

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 25, 2017, 07:13
Default Avoid wallShearStress in postProcessing folder
  #1
Senior Member
 
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 314
Rep Power: 15
agustinvo is on a distinguished road
Hello,

I am using in OF2.3.1 and OF3.0.1 the wallShearStress functionObject, so I get its value in some walls, and is written in the time folders as a field. However, I have noticed that in the same time, a folder wallShearStress appears inside postProcessing, where the min/max values that appears during the simulation log are stored. I don't matter if that value appears in the log, but I don't want this folder and its files to be created. Is there any concrete option to do so?

Thanks in advance,
Agustin
agustinvo is offline   Reply With Quote

Old   April 25, 2017, 12:01
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer: I've only checked in the source code for OpenFOAM 3.0.x and unfortunately there is no option to not write the summary data to the file in "postProcessing".

The only way that I can see for this to work would require you to modify the file "$FOAM_SRC/postProcessing/functionObjects/utilities/wallShearStress/wallShearStress.C" and comment out the following block:
Code:
        if (Pstream::master())
        {
            file() << mesh.time().value()
                << token::TAB << pp.name()
                << token::TAB << minSsp
                << token::TAB << maxSsp
                << endl;
}
And also commenting out the content of the method "writeFileHeader()".

Then build the library again at "$FOAM_SRC/postProcessing/functionObjects/utilities", by running:
Code:
wmake libso
__________________
wyldckat is offline   Reply With Quote

Reply

Tags
functionobject, postprocessing, wallshearstress


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
Prevent OpenFOAM from creating a new postProcessing folder after restart KateEisenhower OpenFOAM Running, Solving & CFD 2 October 11, 2024 17:27
Problems with postprocessing folder Oscardcb OpenFOAM Post-Processing 5 August 17, 2017 02:52
[OpenFOAM.com] v1606+ Run Folder JSMOKA OpenFOAM Installation 5 December 18, 2016 20:47
why does 'sample' do this? wallShearStress question CHARLES OpenFOAM Post-Processing 0 August 7, 2013 20:30
wallShearStress VS wallGradU bigrock OpenFOAM Post-Processing 0 July 2, 2013 06:54


All times are GMT -4. The time now is 07:33.