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

a postprocessing tool issue on massflow

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By ngj

Reply
 
LinkBack Thread Tools Display Modes
Old   June 12, 2013, 10:01
Default a postprocessing tool issue on massflow
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
I've written these two functions:
Code:
massflow_left
    {
        type            faceSource;
        functionObjectLibs ("libfieldFunctionObjects.so");
        enabled         true;
        outputControl   timeStep;
        log             true;
        valueOutput     false;
        source          patch;
        sourceName      left;
        operation       sum;

        fields
        (
            phi
        );
        factor 1;
    }
Code:
massflow_right
    {
        $massflow_left;
        patchName right; 
    }
but the function massflow-right still performs on left patch(writes the left values).why?!
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   June 12, 2013, 15:04
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Rotterdam, The Netherlands
Posts: 1,594
Rep Power: 24
ngj will become famous soon enoughngj will become famous soon enough
Not knowing these commands, but could it be that patchName should actually be replaced by sourceName?

Otherwise, the other "function" does not make sense, since it does not have a patchName.

Kind regards

Niels
immortality likes this.
ngj is offline   Reply With Quote

Old   June 12, 2013, 15:28
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
thanks a lot.it should be the reason.what a mistake!
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Postprocessing issue with dynamic mesh? ghost82 FLUENT 1 November 2, 2012 11:06
MassFlow Function? Absolute MassFlow? Failure in Caclulation eRzBeNgEl CFX 0 May 5, 2011 09:46
Common issue - Mesh generation tool for Fluent 6.3 64-bit AMusteykis FLUENT 4 March 22, 2010 13:03
Pressure Drop and Massflow rate issue M CD-adapco 4 February 13, 2008 10:12
third party postprocessing tool burk FLUENT 0 April 5, 2006 09:36


All times are GMT -4. The time now is 22:52.