
[Sponsors] 
June 19, 2017, 12:28 

#21  
Member
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 94
Rep Power: 7 
Quote:
You need a precursor simulation in order to start with this one. Again, you are solving Incompressible flows and mass must be conserved at all times. Usually, inflow/outflow BC's what they do is to integrate mass on domain and then somehow assing the mass defect (outflow = (sum u dvol )/ Vol  inflow ) to the outflow(s); obviously such defect cannot be big because it will violate the integral relation of mass conservation (inflow=outflow) rendering the Cauchy condition on the Poisson equation invalid. A good start could be a potential flow, either generated using potentialFoam or generated manually. Another option is to set a fixedValue velocity BC for the inlet and zeroGradient/outflowInflow velocity BC in the outlet Look it up in this way, you start your simulation (a channel, one outlet one inlet normal to x) from a zero field with your inflow BC. The predictor equation will update U* only by diffusion, and since the outflow velocity is equal to zero, you'll get a linear horizontal profile of the intermediate velocity. The poisson equation will throw a linear function in x for the pressure gradient which will generate a velocity profile that monotonically decreases along x, reaching zero at the boundary since this boundary is usually updated after. The inflow/outflow BC will force the mass flux on the exit to be equal to the integral over the volume of the said velocity profiles minus the inflow flux. As you may have seen, two problems arise: (1) a possibly large discontinuity is set on near the outlet, (2) the integral conservation of mass is not guaranteed by this method, since what it is imposed on the outflow BC are mass flow INCREMENTS. 

June 19, 2017, 15:00 

#22  
Senior Member

And why not 1e3? 1e5? 1e8? Since adjustPhi function is trying to adjust mass flux calculated as H/A, reducing solution error can help. Since all your velocity BCs fix value, there is no way to adjust mass flux. Btw zero gradient for velocity for one of the outlets is not an option?
Quote:


Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Outlet mass flow rate  xab  Fluent Multiphase  2  February 6, 2017 11:56 
Plotting mass flow rate at outlet for transient simulation  Rakib  Fluent Multiphase  4  September 5, 2015 23:46 
Compressible flow, no data at the outlet  mireis  FLUENT  6  September 3, 2015 02:10 
How Other Conditions Impact Mass Flow Rate Outlet  andy P.  Main CFD Forum  2  February 9, 2007 11:41 
Inlet and outlet flow rate  Neser  CFX  1  March 2, 2004 17:02 