CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Mapped boundary condition mass flow rate behavior

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   August 4, 2020, 10:05
Question Mapped boundary condition mass flow rate behavior
  #1
Member
 
Join Date: Mar 2019
Posts: 81
Rep Power: 7
mm66 is on a distinguished road
Dear Foamers,


I am working on a case where I have to use a smaller geometry by achieving fully developed condition at the inlet (due to its complexity simulating a bigger geometry takes way too long)...


To do so, I imposed the following boundary condition on U:

Code:
    outlet
    {
        type                 zeroGradient;
        value               uniform (0 0 0);
    }
    inlet
    {
        type                 mapped;
        interpolationScheme cell;
        value               uniform (0 0 -0.4021);
        setAverage   false;
    }
My intention is to achieve 1.65 kg/s of mass flow rate. My calculation shows it is equivalent to 0.4021 m/s. So I conducted the simulations and the mass flow rate is changing in the range 3 to 4 kg/s (!)


Here is my main question: So I made a change and imposed "setAverage" as follows:

Code:
    outlet
    {
        type                 zeroGradient;
        value               uniform (0 0 0);
    }
    inlet
    {
        type                  mapped;
        interpolationScheme cell;
        value                uniform (0 0 -0.4021);
        setAverage    true;
        average           (0 0 -0.4021);
    }
Now what I see in the console is that the mass flow rate goes from roughly 1.65 to roughly -1.65 kg/s successively. So for even iterations it is positive while for odd iterations it is negative. Any ideas guys? Please help.


Cheers,
MJ
mm66 is offline   Reply With Quote

 

Tags
chtmultiregionsimplefoam, mapped, mass flow rate, openfoam 1812


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
Wind turbine simulation Saturn CFX 58 July 3, 2020 01:13
CFD analaysis of Pelton turbine amodpanthee CFX 31 April 19, 2018 18:02
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20
Low torque values on Screw Turbine Shaun Waters CFX 34 July 23, 2015 08:16
Radiation interface hinca CFX 15 January 26, 2014 17:11


All times are GMT -4. The time now is 11:00.