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

time average of pressure and skin friction coefficient in the entire domain

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By tomf

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 10, 2017, 02:29
Default time average of pressure and skin friction coefficient in the entire domain
  #1
Member
 
subhankar
Join Date: May 2016
Posts: 36
Rep Power: 10
SUBHANKAR is on a distinguished road
Hello folks,

I am solving for flow past a cylinder. After running the simulations i now want to get time average pressure and skin friction coefficient for entire domain and averaging has to be done for a certain interval of time. Can anybody tell how to go for it.

thanks and regards
SUBHANKAR is offline   Reply With Quote

Old   April 11, 2017, 05:38
Default
  #2
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 646
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi,

Based on what the source code documentation says, these functionobjects should give you the average pressure and wallshearstress for the entire domain. You than just need to do the division by the dynamic pressure in ParaView, to get coefficients.

Code:
    wallShearStress
    {
        type            wallShearStress;
        functionObjectLibs ("libutilityFunctionObjects.so");
        writeControl   writeTime;
        log             off; //optional
    }
    fieldAverage
    {
        type            fieldAverage;
        functionObjectLibs ( "libfieldFunctionObjects.so" );
        writeControl   writeTime;
        resetOnOutput   true; //optional
        timeStart       3000; //optional
        fields
        (
            p
            {
                mean        on;
                prime2Mean  off;
                base        time;
                window          10.0; //optional
                windowName      w1;
            }
            
            wallShearStress
            {
                mean        on;
                prime2Mean  off;
                base        time;
                window          10.0; //optional
                windowName      ws1;
            }
        );
    }
Regards,
Tom
Luttappy likes this.
tomf is offline   Reply With Quote

Old   April 11, 2017, 09:46
Default
  #3
Member
 
subhankar
Join Date: May 2016
Posts: 36
Rep Power: 10
SUBHANKAR is on a distinguished road
Thanks a ton Tom
SUBHANKAR 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
how to calculate time averaged skin friction coefficient adilio FLUENT 2 January 28, 2017 06:00
Skin Friction Coefficient Chart Problem rosorio FLUENT 2 January 27, 2017 17:20
skin friction and pressure Drag kr63 Tecplot 0 June 5, 2015 03:57
Extracting skin friction and pressure on the wall yapalparvi OpenFOAM Running, Solving & CFD 3 November 11, 2010 11:01
Macro for skin friction and pressure coefficient DoHander Fluent UDF and Scheme Programming 0 January 9, 2010 11:18


All times are GMT -4. The time now is 04:28.