# mass flux at a particular cell ( for creating CRN)

 Register Blogs Members List Search Today's Posts Mark Forums Read

 May 9, 2013, 12:13 mass flux at a particular cell ( for creating CRN) #1 Senior Member   Ananthakrishnan.A.S Join Date: Feb 2012 Location: Mumbai (Bombay), India Posts: 141 Rep Power: 7 Hi, I have a small confusion. I will be really thankful if someone can just give me a direction or a concept to begin. The problem is as below. (please see my next post for a clearer explanation!!) I have a set of coordinates of mesh cells. Now as i have separate set of coordinates (which forms a interface) , i need to extract the mass flow rate at this face which is made of many cells. The only idea which i have right now, is to retreive the individual face areas,density and velocity at each cell. and then multiply to get the mass flow rate. I am confused whether this procedure will give me the actual mass flow or not because i dont know which face of the cell will be used by fluent when i use the macro? If anyone knows of any macro which can give the mass flux at the required cell, please let me know or if you can suggest any other method that would be highly appreciative as well. Sorry for the trouble and thanks a lot for your help... Last edited by Ananthakrishnan; May 9, 2013 at 16:44.

 May 9, 2013, 14:44 #2 Senior Member     Dragos Join Date: Mar 2009 Posts: 647 Rep Power: 11 I don't fully understand your problem, but to get the mass flux through a facet, fluent provides a macro: F_FLUX(f,tf).

 May 9, 2013, 16:41 #3 Senior Member   Ananthakrishnan.A.S Join Date: Feb 2012 Location: Mumbai (Bombay), India Posts: 141 Rep Power: 7 Hi, Thanks, sorry for the lack of clarity.. In brief,i have the coordinates of certain cells in fluent,,they are continuously placed (not at random places). . i need to find out the mass flow rate through them. These cells were found out through a udf written earlier. ( you can may be imagine these cells as the ones present at the boundary of a small volume anywhere inside the flow field. So basically i need to find the mass flow rate entering this small volume and leaving it).. I hope this is more clearer!! Thanks once again,

 May 10, 2013, 03:34 #4 Senior Member     Dragos Join Date: Mar 2009 Posts: 647 Rep Power: 11 My answer is still the same: use the macro F_FLUX(f,tf). Loop over the cells that you have, then for each cell loop over the faces. The flux should be positive or negative depending if it enters the cell or leaves it. In principle, if you add all the negative values and all the positive values you will get the global mass flow in and out.

 May 10, 2013, 05:34 #5 Senior Member   Ananthakrishnan.A.S Join Date: Feb 2012 Location: Mumbai (Bombay), India Posts: 141 Rep Power: 7 Hi, Thanks a lot for the idea dmorian. I will begin from there. I still have a small confusion. If you dont mind can you please help me understand that. For example, let each cell have 4 faces. When i ask him to loop through all cell's faces, how does fluent know which face to consider. I am asking this question because, one face might be normal to the flow direction, another face parallel or inclined to the flow. Does fluent take the vectorial sum across each face of all the cells through which it is looped!! I seriously think i am missing something fundamental here. Please be kind enough to explain this. Thanks a lot again

 May 10, 2013, 06:01 #6 Senior Member     Dragos Join Date: Mar 2009 Posts: 647 Rep Power: 11 Please read fluent udf manual. The macro F_FLUX(f,tf) returns a scalar value representing the amount of mass flow passing through the specified face in normal direction. Your question " When i ask him to loop through all cell's faces, how does fluent know which face to consider" is answering it self: all the faces of the cell are considered.

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post ehsan_am86 CFX 2 May 19, 2011 03:02 xamo STAR-CCM+ 8 September 29, 2009 05:35 marcus CD-adapco 0 April 19, 2006 03:43 Subhra Datta Main CFD Forum 2 November 24, 2003 14:11 Francesco Di Maio Main CFD Forum 0 August 21, 2000 04:23

All times are GMT -4. The time now is 01:00.