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

new boundary condition, similar to variableHeightFlowRateInletVelocity

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2019, 12:27
Default new boundary condition, similar to variableHeightFlowRateInletVelocity
  #1
New Member
 
Martin Hübner
Join Date: Feb 2019
Posts: 1
Rep Power: 0
haude is on a distinguished road
Hi everyone,
I am interested in modifying the existing boundary condition 'variableHeightFlowRateInletVelocity'.
This BC may be used as
Code:
    {
        type            variableHeightFlowRateInletVelocity;
        flowRate        0.2;
        value           uniform (0 0 0); // placeholder
    }
A volumetric flow is specified and flow rate is made proportional to the phase fraction alpha at each face of the patch and alpha is ensured to be bound between 0 and 1.

Now, suppose a pipe with one inlet and one outlet. At the inlet, both phases occupy half of the inlet patch, initially. When the flow starts, I would like to adjust the height of the occupied region due to the specified volumetric flows of both phases.
So, what happens is that the heights adjusts but the velocity of the other phase is set to zero. Is there a way to set a constant volumetric flow to the other phase?

Hopefully, someone is interested enough to understand my problem

Cheers,
Martin
haude is offline   Reply With Quote

Old   February 8, 2019, 20:15
Default
  #2
Senior Member
 
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 13
massive_turbulence is on a distinguished road
Quote:
Originally Posted by haude View Post
Hi everyone,
I am interested in modifying the existing boundary condition 'variableHeightFlowRateInletVelocity'.
This BC may be used as
Code:
    {
        type            variableHeightFlowRateInletVelocity;
        flowRate        0.2;
        value           uniform (0 0 0); // placeholder
    }
A volumetric flow is specified and flow rate is made proportional to the phase fraction alpha at each face of the patch and alpha is ensured to be bound between 0 and 1.

Now, suppose a pipe with one inlet and one outlet. At the inlet, both phases occupy half of the inlet patch, initially. When the flow starts, I would like to adjust the height of the occupied region due to the specified volumetric flows of both phases.
So, what happens is that the heights adjusts but the velocity of the other phase is set to zero. Is there a way to set a constant volumetric flow to the other phase?

Hopefully, someone is interested enough to understand my problem

Cheers,
Martin
See if this helps you setting a Constant Inlet flow - Interfoam

I'm just not sure what you mean by "heights adjusts" and do you mean phase as in air and water?
massive_turbulence is offline   Reply With Quote

Reply

Tags
boundary condition, interfoam, two phase annular flow


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
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 08:30
Similar boundary condition to zero flux condition Navip OpenFOAM Running, Solving & CFD 0 August 13, 2015 05:04
several fields modified by single boundary condition schröder OpenFOAM Programming & Development 3 April 21, 2015 06:09
Slip boundary condition what is inside normunds OpenFOAM Running, Solving & CFD 2 June 4, 2007 07:45
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 16:55


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