
[Sponsors] 
Momentum source coefficient, cylindrical coordinates, circumferential component? 

LinkBack  Thread Tools  Display Modes 
August 29, 2011, 13:12 
Momentum source coefficient, cylindrical coordinates, circumferential component?

#1 
New Member
Scott
Join Date: Aug 2011
Posts: 3
Rep Power: 6 
Hi,
I have a fluid (air) subdomain defined, with a general momentum source applied to it (using a cylindrical coordinate system). My goal is to simulate the air flow through an axial fan, including an estimation of the swirl (circumferential) velocity. I have the fan curve (volume flow vs system pressure delta) defined as a 1D interpolation function. I am calculating system pressure delta as: PressureRiseSystem = massFlowAve(Total Pressure)@Outlet  massFlowAve(Total Pressure)@Inlet I am applying the result of the FanCurve function (volume flow) to the axial component of the momentum source, using the momentum source coefficient approach. i.e. Axial Component = C*(massFlowAve(w)@FanOutlet  FanCurve(PressureRiseSystem)/area()@FanOutlet) Where C is the momentum source coefficient (i.e. 10^5) The radial component is set to 0 [kg m^2 s^2] I have an estimation for the tangential/circumferential component of the velocity (it is a function of fan RPM and radial location with some scaling factors), but it's not clear to me how use this estimated/spec tangential velocity to apply the Theta Component of the momentum source. In other words, if the Theta Component of the momentum source is something like: Theta Component = C*(VelocityThetaActual  VelocityThetaSpec) can I make both of these (VelocityThetaActual and VelocityThetaSpec) functions of the radial position, r? Also, how do I determine the VelocityThetaActual value? Convert the cartesian velocites u, v, and w to cylindrical components? Does that make sense? Any help is greatly appreciated. Thanks in advance! 

August 29, 2011, 18:47 

#2  
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 11,265
Rep Power: 88 
Firstly, pressure rise is best done on an area average basis rather than mass flow ave. Mass flow ave is meaningless for pressure.
Quote:
Quote:
Sounds like you need to define a local coordinate system. 

September 9, 2011, 15:30 

#3 
New Member
Scott
Join Date: Aug 2011
Posts: 3
Rep Power: 6 
Hi Glenn, thanks for the reply. With the help of your comments, I think I have a model successfully defined, and converging nicely.
I ended up calculating the tangential/circumferential velocity in an expression, and using that value in the momentum source definition, along with the estimated "spec" or target tangential velocity imparted to the air from the rotating fan... Theta Component = C*(VelocityThetaSpec  VelocityTheta) where the expression VelocityTheta = u*sin(atan2(y,x)) + v*cos(atan2(y,x)) To achieve convergence stability, I had to define a nonconstant momentum source coefficient (C), that steadily increased (eventually to a value around 10e5) by a factor of the accumulated time step (atstep). Otherwise, if I set the momentum source coefficient constant at 10^5, the simulation would oscillate out of control, and if I set the value lower (i.e. 10^3), the model would converge with a significant error/differential between V and Vspec. Thanks again! 

September 9, 2011, 15:43 

#4 
Senior Member
Join Date: Apr 2009
Posts: 529
Rep Power: 12 
I would say Total Pressure should be mass flow averaged, while only static pressure should be area averaged.


September 9, 2011, 15:45 

#5 
New Member
Scott
Join Date: Aug 2011
Posts: 3
Rep Power: 6 

September 12, 2011, 19:56 

#6  
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 11,265
Rep Power: 88 
Quote:
Massflow averages of things like enthalpy, temperature, concentrations and the like are physically meaningful as it gives you the total flux of the quantity. But this does not apply to pressures. The flux of pressure is not physically meaningful. 

September 14, 2011, 18:34 

#7  
Senior Member
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 250
Rep Power: 12 
Hi Glenn,
Some people argue that mass flow averages should be used for any transported variable. It's like saying "ok, enthalpy is advected so I'll use it's advection (the local mass flow) to compute the local average". I believe I even read something like this on a CFX training course. If you follow that thought you can think of dynamic pressure as a transported variable, specially if you look at velocity as a type of transported momentum. In this case, it would be ok to use mass flow average on dynamic pressure, and if you stretch it a little, also on total pressure. Quote:
About total pressure, you can also look at it as an energy on your flow. Higher total pressure, higher energy. Integrating it with the mass flow would give you the total flux of this energy, which is phisically meaningful. I'm not sure I'm right on this, so I'd like to hear your thoughts. Cheers. 

September 14, 2011, 18:52 

#8  
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 11,265
Rep Power: 88 
Quote:
Quote:
Quote:


September 15, 2011, 15:48 

#9  
Senior Member
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 250
Rep Power: 12 
Quote:
Yes, units are different. But what I meant was "energy contained in the flow". A vessel filed with fluid under high pressure has lots of stored "energy" (maybe I'm using the wrong word, english is not my maiden language). Take Bernoulli on inviscid flow. It relates dynamic pressure, static pressure and potential energy. Decreasing one type of "energy" adds to another type. 

September 15, 2011, 18:55 

#10 
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 11,265
Rep Power: 88 
My argument is purely dimensional, and your points are entirely valid also. So I guess whether you think the dimensional argument is convincing will determine which way you think on this issue.


April 16, 2015, 09:04 

#11 
New Member
Join Date: Mar 2014
Posts: 7
Rep Power: 3 
Hello,
I stumbled across this thread looking for a solution to a similar problem. I would like to implement Momentum Sources in a cylindrical geometry. The solution to my problem is not converging, though, so I would like to steadily increase my Momentum Source Terms up to the desired value to achieve convergence. How do I apply this in CFX? Any help would be appreciated! Thank you very much 

April 16, 2015, 10:18 

#12 
Senior Member
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 250
Rep Power: 12 
Implement the source terms as described in this thread. You can then use a 1D table to ramp the value of your source coefficient according to the iteration number. The tutorials show how to use a 1D table.
If you're not used to 1D tables (or CFX in general) you can skip that and manually change the source coefficient value as the simulation runs by going to 'Tools > Edit Run in Progress' in the Solver Manager. 

April 17, 2015, 05:35 

#13 
New Member
Join Date: Mar 2014
Posts: 7
Rep Power: 3 
Thank you very much brunoc for the quick help!
Would you recommend any slope for increasing? I was wondering whether the speed with which the values were increased had any influence on my convergence, i.e. do I have to achieve a convergent state with my first value to continue on to the next one? Cheers, AliLemprex 

April 17, 2015, 05:41 

#14 
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 11,265
Rep Power: 88 
If you have introduced a source term and it is not converging properly then you should use a source term coefficient. Correctly implemented that can make the difference between poor convergence and quick easy convergence.
Have you implemented a source term coefficient? 

April 17, 2015, 05:56 

#15 
New Member
Join Date: Mar 2014
Posts: 7
Rep Power: 3 
Hello Glenn,
yes, I have implemented a Source Coefficient. I think my problem may be that the original Permeability for my porous media (calculating pressure losses with Darcy Permeability model) may be too little for an initial value so I am aiming to approach the desired permeability value. Calculations have already converged for higher permeabilities on the same geometry and mesh. I was just wondering whether there were certain strategies to safely achieve convergence when decreasing the permeability during the simulation run. Do I have to achieve a converged solution for a given permeability to safely continue to a smaller value? Thanks a lot for the help 

Tags 
axial fan, cylindrical coordinates, momentum source, theta component 
Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
access to velocity component in cylindrical coordinates  swati_mohanty  FLUENT  0  August 18, 2010 10:16 
DecomposePar links against liblamso0 with OpenMPI  jens_klostermann  OpenFOAM Bugs  11  June 28, 2007 17:51 
Momentum source UDF  Matthew Brannock  FLUENT  5  May 3, 2001 21:18 
UDF Scalar Code: HT 1  Greg Perkins  FLUENT  8  October 20, 2000 12:40 
UDFs for Scalar Eqn  Fluid/Solid HT  Greg Perkins  FLUENT  0  October 13, 2000 23:03 