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

Constant mass flow rate in channel flow LES

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By RobertHB

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 10, 2018, 03:29
Default Constant mass flow rate in channel flow LES
  #1
Member
 
Vishwesh Ravi Shrimali
Join Date: Aug 2017
Posts: 43
Rep Power: 9
vishwesh is on a distinguished road
Hi!
I am trying to simulate channel flow simulation in OpenFOAM for constant mass flow rate. I found a test case for channel flow which uses a
Code:
momentumSource
in
Code:
fvOptions
file:

Code:
momentumSource
{
    type            pressureGradientExplicitSource;
    active          on;            //on/off switch
    selectionMode   all;       //cellSet // points //cellZone

    pressureGradientExplicitSourceCoeffs
    {
        fieldNames  (U);
        Ubar        ( 0.1335 0 0 );
    }
}
How can we use constant mass flow rate in Channel flow case? The test case can be found here.

Thanks in advance
Vishwesh
vishwesh is offline   Reply With Quote

Old   May 10, 2018, 04:12
Default
  #2
Senior Member
 
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 12
RobertHB is on a distinguished road
Quote:
Originally Posted by vishwesh View Post
Hi!
I am trying to simulate channel flow simulation in OpenFOAM for constant mass flow rate. I found a test case for channel flow which uses a
Code:
momentumSource
in
Code:
fvOptions
file:

Code:
momentumSource
{
    type            pressureGradientExplicitSource;
    active          on;            //on/off switch
    selectionMode   all;       //cellSet // points //cellZone

    pressureGradientExplicitSourceCoeffs
    {
        fieldNames  (U);
        Ubar        ( 0.1335 0 0 );
    }
}
How can we use constant mass flow rate in Channel flow case? The test case can be found here.

Thanks in advance
Vishwesh
Why not use the fvOptions entry you've found?
__________________
If you liked my answer to your question, please consider leaving a "Like" in return
RobertHB is offline   Reply With Quote

Old   May 10, 2018, 04:15
Default
  #3
Member
 
Vishwesh Ravi Shrimali
Join Date: Aug 2017
Posts: 43
Rep Power: 9
vishwesh is on a distinguished road
I actually want to make changes in the geometry and see the affect it has on the wallShearStress and I thought it would be easier to use constant mass flow rate for the analysis rather than the constant pressure.
vishwesh is offline   Reply With Quote

Old   May 10, 2018, 04:30
Default
  #4
Senior Member
 
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 12
RobertHB is on a distinguished road
Quote:
Originally Posted by vishwesh View Post
I actually want to make changes in the geometry and see the affect it has on the wallShearStress and I thought it would be easier to use constant mass flow rate for the analysis rather than the constant pressure.
Ah okay. You can take a look at the other possible fvOptions entries. Maybe you find something you can use. Possible sources are explained on this website: http://www.geocities.jp/penguinitis2...fvOptions.html
Just use google chrome or google translate on the website
vishwesh likes this.
__________________
If you liked my answer to your question, please consider leaving a "Like" in return
RobertHB is offline   Reply With Quote

Old   May 10, 2018, 10:10
Default
  #5
Senior Member
 
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 16
Santiago is on a distinguished road
Quote:
Originally Posted by vishwesh View Post
I actually want to make changes in the geometry and see the affect it has on the wallShearStress and I thought it would be easier to use constant mass flow rate for the analysis rather than the constant pressure.
Although a bit incidental to the discussion, I'm curious to know how does using a constant mass fliw rate make the analysis easier? I mean, i would expect that by virtue of Newton's second law it'd be easier to analyse and balance shear stress with pressure gradients
Santiago is offline   Reply With Quote

Reply

Tags
channel flow, constant mass flow, openfoam 3.0.x


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
Mass flow rate boundary condition with negative values hebe2u. CFX 1 December 27, 2016 04:53
Shape Optimization Problem of Mass Flow Rate ggc1991 SU2 Shape Design 1 December 1, 2016 21:24
Mass flow rate boundary condition with negative values ashtonJ CFX 3 November 26, 2014 06:21
Wrong Pressure countors for channel flow driven by mass flow rate or press gradient ash-khan FLUENT 0 June 21, 2009 11:02
Constant mass flow rate / choking outlet bounardy condition Min Zhu Main CFD Forum 1 September 29, 1998 16:33


All times are GMT -4. The time now is 15:58.