|
[Sponsors] |
Using proper boundary condition for mass flow |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 25, 2020, 05:54 |
Using proper boundary condition for mass flow
|
#1 |
New Member
Masih
Join Date: Feb 2020
Posts: 22
Rep Power: 6 |
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 |
|
February 25, 2020, 06:14 |
|
#2 |
Senior Member
Troy Snyder
Join Date: Jul 2009
Location: Akron, OH
Posts: 219
Rep Power: 18 |
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.
|
|
February 25, 2020, 06:30 |
|
#3 |
New Member
Masih
Join Date: Feb 2020
Posts: 22
Rep Power: 6 |
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.
|
|
February 25, 2020, 07:43 |
|
#4 |
Senior Member
Troy Snyder
Join Date: Jul 2009
Location: Akron, OH
Posts: 219
Rep Power: 18 |
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.
|
|
February 25, 2020, 13:05 |
|
#5 | |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,675
Rep Power: 66 |
Quote:
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? |
||
|
|
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 |