# Flow rates in FLAIR

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

 August 1, 2005, 10:43 Flow rates in FLAIR #1 Sileno Guest   Posts: n/a Sponsored Links I've been trying using an INFORM formula to calculate the flow rate through a determined area or surface in FLAIR package. I would like to know how to activate the flow rate data produced by INFORM formula. Also, I would like to view such information (flow rate) at the monitor display during solution iterations and to print this information to a HD file. Thanks in advance Sileno

 August 2, 2005, 09:41 Re: Flow rates in FLAIR #2 mick Guest   Posts: n/a Hi Sileno, I have just been experimenting and have come up with a simple formula. Put this in group 13 of the Q1 and make the patch POUT represent the area you are interested in. Change the velocity W1 to the one which is normal to your surface and the area to the relevant one. inform13begin "should be 3rd colum or later " (make wvel1 is 0.) " make makes storage and initialise" (make ahgh is 0.) patch(pout,high,1,nx,1,ny,nz-1,nz-1,1,lstep) define area patch for mass flux calculation (store1 wvel1 at POUT is W1) (store1 AHGH at POUT is AHIGH) (stored of MFLX at pout is w1*1.189*ahgh) - mflx will be printed in result file (stored of MSUM at POUT is SUM(MFLX)) - msum contains sum of mflx (print mass_flux at POUT is MSUM) - This prints the sum of mflx to the file INFORMOUT inform13end The above should give mass flus through the patch POUT. The mass flux per cell and total mass flux will be given in the result file through the variables MFLX and MSUM respectively. The total mass_flux is also printed to the file INFORMOUT in your working directory. If you wish to view the variable MSUM through the solution screen you should goto the VR editor and 1/ Store this variable 2/ GOTO OUTPUT in the VREDITOR and switch on residual and spot value printout for it through the panel FIELD PRINTOUT.

 August 2, 2005, 10:43 Re: Flow rates in FLAIR #3 mick Guest   Posts: n/a Some of the lines in my above answer are missing a carriage return, so they dont appear as I intended sorry. This should be easy enough to identify, just remember that all the inform statements start with a left hand bracket and should be on their own line. Obviously remove my comments - when taking the code. The inform statemnts need to be wrapped with the comments inform13begin and inform13end which live in the third column. Mick

 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 R.Sripriya FLUENT 1 November 17, 2008 00:03 Syed Siemens 1 April 10, 2007 15:18 Sileno Phoenics 9 June 1, 2006 07:09 michael FLUENT 4 February 21, 2005 04:48 Tammy Richardson Phoenics 2 July 16, 2001 08:54