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

mass flow average Temperature - of5 - chtmultiregionFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 12, 2018, 05:40
Default mass flow average Temperature - of5 - chtmultiregionFoam
  #1
New Member
 
Join Date: Feb 2018
Posts: 1
Rep Power: 0
sprinter is on a distinguished road
Hello Foamers,

I am inspecting the chtMultiRegionFoam -> multiRegionHeater Openfoam-5 tutorial case. I am interested in the following quantities
1) mass flow average temperature at the 'topAir' region's maxX patch.
2) to calculate heat flux i want to calculate the mass flow averaged enthalpy flux at the 'topAir' region's maxX patch.

In ther newer version i.e. OF5, I checked with the "postProcess -list" command which shows patchAverage and patchIntegrate and other relavant functionObjects but no such patchMassflowAverage functionObjects.

Any help regarding this with the commands will be helpful.

Thank you.
sprinter is offline   Reply With Quote

Old   February 13, 2018, 04:58
Default
  #2
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 469
Rep Power: 16
tomf is on a distinguished road
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi,

I would think something along the lines of this should work:

Code:
surfaceFieldValue1
{
    type            surfaceFieldValue;
    libs            ("libfieldFunctionObjects.so");

    log             true;
    writeControl    writeTime;
    writeFields     true;

    surfaceFormat   none;
    regionType      patch;
    name            maxX;

    operation       weightedAreaAverage;
    weightField     phi;
    fields          (h);
}
You may need to adapt some entires for your particular case.

Regards,
Tom
tomf 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
Target Mass Flow Rate Nitin FLUENT 9 June 17, 2017 10:30
Pressure Outlet Targeted Mass Flow Rate LuckyTran FLUENT 1 November 23, 2016 10:40
Mass flow inlet with given temperature taalf SU2 3 October 15, 2015 14:25
Low Mixing time Problem Mavier CFX 5 April 29, 2013 00:00
Difference between Mass Flow Average in CFX and Mass-Weighted Average in Fluent dasha ANSYS 0 December 21, 2012 04:41


All times are GMT -4. The time now is 05:39.