CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Using proper boundary condition for mass flow

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By tas38

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 25, 2020, 05:54
Default Using proper boundary condition for mass flow
  #1
New Member
 
Masih
Join Date: Feb 2020
Posts: 22
Rep Power: 6
masih.mojarrad is on a distinguished road
Hi all,


I am trying to implement inletOutlet BC for the inlet because I want to avoid the back flow but at the same time I want to input the constant mass flow rate instead of inlet velocity. I should mention that I cannot implement flowRateInletVelocity due to reverse flow. How can I deal with that?


Best regards,
Masih
masih.mojarrad is offline   Reply With Quote

Old   February 25, 2020, 06:14
Default
  #2
Senior Member
 
Troy Snyder
Join Date: Jul 2009
Location: Akron, OH
Posts: 219
Rep Power: 18
tas38 is on a distinguished road
It seems that it may be more appropriate to specify a total pressure on the boundary if the flow direction may change in/out of the domain. The total pressure could then be adjusted until the requisite mass flow rate is obtained through the boundary.
masih.mojarrad likes this.
tas38 is offline   Reply With Quote

Old   February 25, 2020, 06:30
Default
  #3
New Member
 
Masih
Join Date: Feb 2020
Posts: 22
Rep Power: 6
masih.mojarrad is on a distinguished road
Thanks for your fast reply. In this case, the inlet pressure is read from a csv file. Besides, the upstream pressure is too high which makes considerable pressure gradient. so I think totalPressure is not proper for this simulation but thanks anyway.
masih.mojarrad is offline   Reply With Quote

Old   February 25, 2020, 07:43
Default
  #4
Senior Member
 
Troy Snyder
Join Date: Jul 2009
Location: Akron, OH
Posts: 219
Rep Power: 18
tas38 is on a distinguished road
I assume that since your statement included "inletOutlet" that you are using OpenFOAM. The "fixedMean" bc (ref. OF v. 7) may work for you to get the requisite mass flow when the bc exhibits both inflow and outflow. However, I must preface that I have not used this bc myself before.
tas38 is offline   Reply With Quote

Old   February 25, 2020, 13:05
Default
  #5
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,675
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Quote:
Originally Posted by masih.mojarrad View Post
I am trying to implement inletOutlet BC for the inlet because I want to avoid the back flow
What does this mean? Backflow on an inlet? Backflow at an inlet is inflow or outflow?

If you use fixedValue or flowRateInletVelocity, you won't get unwanted outflow on your inlet. flowRateInletVelocity is based on fixedValue, but adjusts the value until the massflow/massflux matches the setting. I don't follow why you can't use these?

The inletOutlet BC is a zeroGradient BC that switches to fixedValue whenever there is backflow/inflow but only if there is inflow. If there's no inflow, it's effectively a zeroGradient condition.


So what are you trying to do exactly? You want to impose a mass-flow the inlet. But how is that different than imposing mass flow at the inlet?
LuckyTran is offline   Reply With Quote

Reply


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
3D Windturbine simulation in SU2 k.vimalakanthan SU2 15 October 12, 2023 05:53
Centrifugal fan j0hnny CFX 13 October 1, 2019 13:55
Velocity-inlet boundary condition for flow exit Manu4CFD FLUENT 7 March 23, 2019 06:05
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 05:21
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 15:55


All times are GMT -4. The time now is 21:12.