CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > 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 Search this Thread Display Modes
Old   June 12, 2013, 11:01
Default a postprocessing tool issue on massflow
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
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, 16:04
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
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 online now   Reply With Quote

Old   June 12, 2013, 16:28
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
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 10: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 Siemens 4 February 13, 2008 10:12
third party postprocessing tool burk FLUENT 0 April 5, 2006 10:36


All times are GMT -4. The time now is 08:27.