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

Time-dependent tabular data for mass flow inlet

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By alexeym

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 17, 2014, 17:44
Default Time-dependent tabular data for mass flow inlet
  #1
New Member
 
Paul
Join Date: Apr 2012
Posts: 27
Rep Power: 14
Delcraft is on a distinguished road
Hello,

Does anyone knows how to define time-varying mass flow inlet boundary condition in OpenFOAM, where the mass flow cannot be described by the single time function? Example for such mass flow distributions in time is attached.

P.S. If anyone knows, how to define the boundary condition as a some function (e.g., of time) it will be very interesting for me too. I will be grateful for any information.

Best Regards,
Delcraft
Attached Images
File Type: jpg Varying mass flow.jpg (45.6 KB, 157 views)
Delcraft is offline   Reply With Quote

Old   April 18, 2014, 02:38
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

flowRateInletVelocity BC defines flowrate as

Code:
//- Inlet integral flow rate
        autoPtr<DataEntry<scalar> > flowRate_;
so you can use is like

Code:
inlet
{
    type flowRateInletVelocity;
    massFlowRate table
    (
        0 0
        1 5
        2 10
        3 0
        ...
    )
}
(or if you'd like to set volumetric flow rate use volumetricFlowRate instead).

Or if your inlet area is fixed you can use just uniformFixedValue.

Here are other options on time-dependent BCs: http://www.openfoam.org/version2.1.0...conditions.php
rarnaunot, YUGU and ms.hashempour like this.
alexeym is offline   Reply With Quote

Old   April 21, 2014, 10:33
Default
  #3
New Member
 
Paul
Join Date: Apr 2012
Posts: 27
Rep Power: 14
Delcraft is on a distinguished road
Alexeym,
Thanks a lot!

Regards,
Delcraft
Delcraft is offline   Reply With Quote

Reply

Tags
boundary condition, mass flow, tabular data, time-dependent


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
[General] 2 datas on one plot Akuji ParaView 46 December 1, 2013 15:06
How to find a good time scale strategy? StefanG CFX 19 June 8, 2012 09:41
Species mass flow inlet lorenz FLUENT 3 March 15, 2012 08:26
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 18:27
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 06:13


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