|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Join Date: Jul 2013
Posts: 94
Rep Power: 13 ![]() |
Hello friends,
I am simulating a dynamic mass flow rate at the outlet and presser inlet BCs. The mass is changing with time by an input function file and the flow is incompressible. But the mass flow or velocity does not follow the BC(attached file). The only option that I was speculating might affect the simulation is "mass flow update" option on outlet Mass flow BC and I do not know the effect of this option, but for now this option was not selected by default. I would appreciate if anyone can help me. Mehdi Last edited by mejahan; May 13, 2014 at 21:17. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144 ![]() ![]() ![]() ![]() |
You plotted the velocity. What does the mass flow rate look like?
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Join Date: Jul 2013
Posts: 94
Rep Power: 13 ![]() |
Hi Glenn,
As it is incompressible flow the mass differs with velocity just in a constant coefficient , density and area. AS it shows on the figure, the BC does not follow the mass flow that I set on some points. |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144 ![]() ![]() ![]() ![]() |
Can you post your CCL?
|
|
![]() |
![]() |
![]() |
![]() |
#5 |
Member
Join Date: Jul 2013
Posts: 94
Rep Power: 13 ![]() |
Hi Glenn,
I have plotted the CCL, as you can see it is the same as the input file that I posted before. I am confused about the results, why the solver does not follow the BC when getting near the negative velocity? The problem can not be from the "Mass flow update" option because by default it is "scale mass flow" which is right. But I don't know how the solver interpolate the input data. It works fine before 0.35s but after that the input data and the solver BC are not the same. |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144 ![]() ![]() ![]() ![]() |
![]() |
|
![]() |
![]() |
![]() |
![]() |
#7 |
Member
Join Date: Jul 2013
Posts: 94
Rep Power: 13 ![]() |
Hi Glenn,
I think I found the source of the problem and it is the BC. When I set the Pressure or Mass flow BC, the solver will consider an artificial wall at the boundary to prevent the inflow at the outlet and outflow at the inlet. And when it is getting to the negative mass flow rate, the solver does not allow such condition. It seems that for now the only option is Velocity inlet and Opening at the outlet, but I dont see the opening BC option and more importantly I want to use pressure inlet mass flow outlet BCs. Now my question is that is there any way to change the BC setup manually in CFX, in a way that I do not have artificial walls in Mass flow and pressure BC? I would appreciate if you can help on this issue. Thanks |
|
![]() |
![]() |
![]() |
![]() |
#8 |
New Member
Mark
Join Date: Apr 2014
Location: Draper, UT
Posts: 3
Rep Power: 12 ![]() |
What exactly are you trying to simulate? Is this an internal or external flow problem?
For external flow, I’ve been able to successfully implement a mass flow inlet with a pressure outlet BC provided that 1) my domain was large enough so I did not have flow trying to recirculate back through the outlet and 2) I paid careful attention to the outlet pressure specification (i.e. be mindful of how CFX uses relative and reference pressures). Not sure if that helps at all, but figured I’d chime in. |
|
![]() |
![]() |
![]() |
![]() |
#9 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144 ![]() ![]() ![]() ![]() |
If you want to use a pressure inlet and a mass flow outlet then you can make the inlet a pressure opening and the outlet a velocity/mass flow condition and then both the inlet and outlet can handle reverse flow fine.
|
|
![]() |
![]() |
![]() |
![]() |
#10 |
Member
Join Date: Jul 2013
Posts: 94
Rep Power: 13 ![]() |
Thanks,
If I set the mass flow outlet, then we have problem of artificial wall, but velocity component works. But the question is, if I set the normal component of the velocity, what is the distribution of the velocity across the outlet area? is it uniform if I do not specify a profile, or it is just the average and the solver gives the distribution according to this average value? |
|
![]() |
![]() |
![]() |
![]() |
#11 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144 ![]() ![]() ![]() ![]() |
Mass flow boundary conditions certainly can handle back flow - I have done it before. So you must be using different options to me. That is why I want to see your CCL to see what options you are using.
When you set velocity it uses the velocity across the entire boundary. So if you set a constant value it is constant (ie plug flow). if you want a profile then you need to define a function which sets a profile. Have a read of the documentation about these different boundary condition types. There are lots of options available. |
|
![]() |
![]() |
![]() |
![]() |
#12 | |
Member
Join Date: Jul 2013
Posts: 94
Rep Power: 13 ![]() |
Quote:
I have attache the CCL file about the BC and the expressions. First I tried the Opening(Entrainment, static pressure) to have the zero gradient for the velocity and Velocity profile at the outlet. Although it follows the BC in negative velocity(simple sinusoidal BC), but completely unphysical results(compared to other studies). Then I changed the outlet to mass flow rate, but again because of the artificial walls, it did not follow the BC setup. I am wondering what would be the most suitable BC for my case that can give me physical results as well as flowing the BC setups. I can not use the velocity profile because physically the profile is unknown, better to use mass flow or pressure that the profile of velocity is the part of the solution. Thanks |
||
![]() |
![]() |
![]() |
![]() |
#13 |
Member
Join Date: Jul 2013
Posts: 94
Rep Power: 13 ![]() |
Hi Glenn,
I posted the CCL and looking forward to seeing your reply. Thanks |
|
![]() |
![]() |
![]() |
![]() |
#14 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144 ![]() ![]() ![]() ![]() |
Can you make your boundary "Outlet" an opening set to cartesian velocity compnents? Then you can drive it with an osciallting flow.
Your boundary "Inlet" should probably be a opening as well, set to the 100mmHg pressure. I find the entrainment option numerically unstable so you might have more luck with opening pressure and direction. As a side issue - why are you using a turbulence mode for this? I suspect the Reynolds number is pretty low (but cannot work it out as I do not know the geometry or fluid) so I suspect the flow is laminar. |
|
![]() |
![]() |
![]() |
![]() |
#15 |
Member
Join Date: Jul 2013
Posts: 94
Rep Power: 13 ![]() |
Hi Glenn,
Thanks for your reply. I am trying the different possible options. But about the SST, as the Re on the maximum flow goes beyond 7000, I am using it. |
|
![]() |
![]() |
![]() |
![]() |
#16 |
Member
Join Date: Jul 2013
Posts: 94
Rep Power: 13 ![]() |
Hi again,
The Opening BC gives the solver the option of having incoming and out coming flow at the boundary section. But what is the difference between using Opening with velocity components and The Outlet with velocity components? Both of them have to follow the velocity components across the boundary. |
|
![]() |
![]() |
![]() |
![]() |
#17 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144 ![]() ![]() ![]() ![]() |
Re=7000 - OK.
The opening allows flow in either direction. The outlet will only allow outwards flow. |
|
![]() |
![]() |
![]() |
![]() |
#18 |
Member
Join Date: Jul 2013
Posts: 94
Rep Power: 13 ![]() |
But even in velocity outlet BC, I can have the either direction defined by the profile of the velocity.
The same case for the Opening with the velocity components, the solver has to follow whatever velocity has been set at the section. |
|
![]() |
![]() |
![]() |
![]() |
#19 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144 ![]() ![]() ![]() ![]() |
If you specify inflow at an outlet boundary are you able specify the scalar variables with it? Things like temperature, turbulence and convection AVs? I suspect not.
|
|
![]() |
![]() |
![]() |
![]() |
#20 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144 ![]() ![]() ![]() ![]() |
If you specify inflow at an outlet boundary are you able specify the scalar variables with it? Things like temperature, turbulence and convection AVs? I suspect not.
|
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Strange results with different boundary conditions | mihailmi | FLUENT | 1 | July 12, 2013 13:23 |
An error has occurred in cfx5solve: | volo87 | CFX | 5 | June 14, 2013 17:44 |
Adaptive Mesh Refinement and Cyclic Boundary Conditions | adona058 | OpenFOAM Running, Solving & CFD | 6 | October 23, 2009 09:17 |
No results for solid domain | Gary Holland | CFX | 10 | March 13, 2009 03:30 |
Boundary conditions? | Tom | Main CFD Forum | 0 | November 5, 2002 01:54 |