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

Difference between mass-flow inlet and velocity inlet

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By Saideep

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 13, 2016, 07:00
Default Difference between mass-flow inlet and velocity inlet
  #1
New Member
 
Join Date: Apr 2016
Posts: 6
Rep Power: 10
rekap is on a distinguished road
Hello,

I am using Simflow (an OpenFOAM gui).
I am modeling two incompressible fluids flowing in a relatively complex channel in order to see how they mix.
I run a simulation using the mass-flow inlet boundary condition with a flow rate, let's say Q. Then I run a simulation using the velocity inlet boundary condition with a velocity v calculated as Q/A where A is the section of the channel. Then I should expect the same result. However the simulations give different results.

Can anyone explain why? Which is the difference between the mass-flow inlet and velocity inlet boundary conditions?

Thank you.
rekap is offline   Reply With Quote

Old   June 13, 2016, 09:06
Default
  #2
Senior Member
 
Saideep
Join Date: Apr 2015
Location: INDIA
Posts: 203
Rep Power: 12
Saideep is on a distinguished road
Hi,

I mostly use a constant velocity inlet bc but when you say mass inlet, I am guessing that the density of fluid comes into play as well.

That is, you need to think in terms of kg/s rather than in m3/s.

I have no idea about the gui version of OF but if you have a check for your units that should say if what i told is true{kg/s} or not{m3/s}.

Saideep
Saideep is offline   Reply With Quote

Old   June 13, 2016, 10:24
Default
  #3
New Member
 
Join Date: Apr 2016
Posts: 6
Rep Power: 10
rekap is on a distinguished road
When I use the mass-flow inlet boundary condition, the unit for the inlet is [m3/s]. Maybe the gui version use the density for computing the mass flow rate.

I found out on the web that for Fluent the velocity inlet bc is recommended for incompressible flows while mass flow inlet bc is recommended for compressible flows.

Do you think this is valid also in OpenFOAM? If so, can I say this is the reason why I have different simulation results?

rekap
rekap is offline   Reply With Quote

Old   June 13, 2016, 12:45
Default
  #4
Senior Member
 
Saideep
Join Date: Apr 2015
Location: INDIA
Posts: 203
Rep Power: 12
Saideep is on a distinguished road
For in-compressible flow density isn't varying. So, fixed flux/ fixed velocity is good enough. Even fixed mass should not be causing any sort of problem.

When you go for compressible flows, there are few parameters on which the density depends.
One example of a general case, at the inlet you fix mass/ velocity and allow pressure to vary accordingly by a Neumann condition. When your pressure is fluctuating your density also varies. (ultimately your mass flow is varying over time). So, fixing the mass flow[kg/s] is a better condition than fixing velocity.

I use in-compressible so if I am wrong any correction is welcome.

Saideep
soheil_r7 and ViniSpark like this.
Saideep is offline   Reply With Quote

Old   June 14, 2016, 05:18
Default
  #5
New Member
 
Join Date: Apr 2016
Posts: 6
Rep Power: 10
rekap is on a distinguished road
Thank you for your answer, now it's clearer.

rekap
rekap is offline   Reply With Quote

Old   October 17, 2016, 09:07
Default boundary problem
  #6
New Member
 
rihen full
Join Date: May 2012
Posts: 10
Rep Power: 14
nehir is on a distinguished road
I want to solve a ventilated wall problem. but ı cannot describe boundary condition esspecially for air. there is no velocity or mass for air. natural convection.
how can describe boundary inlet and outle
Attached Images
File Type: jpg ven wall_q.jpg (29.1 KB, 86 views)
nehir is offline   Reply With Quote

Reply

Tags
boundary conditions, inlet bc, massflow bc, simflow, velocity bc


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
Issues on the simulation of high-speed compressible flow within turbomachinery dowlee OpenFOAM Running, Solving & CFD 11 August 6, 2021 07:40
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
What's the difference between velocity inlet and mass flow inlet? soheil.e.nia FLUENT 5 August 20, 2014 15:08
How to define a fixed velocity for a given mass flow rate on inlet mqasimali FLUENT 2 April 12, 2013 18:24
reversed flow at velocity inlet / mass flow inlet ib FLUENT 1 March 26, 2007 14:11


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