CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Average Mass Flow Rate

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 29, 2016, 03:41
Default Please HELP!!! How to calculate average mass flow rate?
  #1
New Member
 
Join Date: Jun 2016
Posts: 25
Rep Power: 10
michellemay1993 is on a distinguished road
Hi, I am a degree student. I was wondering how to calculate the average mass flow rate over the total time step at outlet.

Last edited by michellemay1993; September 29, 2016 at 10:02.
michellemay1993 is offline   Reply With Quote

Old   September 29, 2016, 13:02
Default
  #2
Senior Member
 
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,188
Rep Power: 23
evcelica is on a distinguished road
1.) Make An Expression for MyOutFlow = "massFlow()@outlet"
2.) Make a chart where you plot the transient results for this expression
3.) export it as .csv and average it in excel or some other program.

There may be another way using transient statistics, but I have not done it that way, so I can't tell you how.
evcelica is offline   Reply With Quote

Old   September 30, 2016, 02:15
Default
  #3
New Member
 
Join Date: Jun 2016
Posts: 25
Rep Power: 10
michellemay1993 is on a distinguished road
Is this how it normally be calculated?
michellemay1993 is offline   Reply With Quote

Old   September 30, 2016, 12:54
Default
  #4
Senior Member
 
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33
Opaque will become famous soon enough
A modified version of Evcelica instructions:

If you are using CFD-Post :
1.) Make An Expression for MyOutFlow = "massFlow()@outlet"
2.) Make a chart where you plot the transient results for this expression
3.) In the Data Series tab, there is an info (i) icon (just below the (x) for delete). Click the info icon, and it will display the max/min/mean over the rang of the chart. There is just "time averaged value"

If you are using a recent version of ANSYS CFX, you can use the ANSYS CFX Solver Manager,

1.- Create a plot for the Boundary Flow for the continuity equation at the Outlet (effectively massFlow()@outlet).
2.- Create a Derived Variable for such plot (right click on the plot area), and look at the Derived Variables tab. Select the type of statistics you want to evaluate, say Time Average. Select the range of time for the averaging.
3 - Go to the Plot Variables tab, and activate on which individual plot you want the statistics to be computed; otherwise, it will compute on all the variables being plotted.

If you want for the quantities to be computed in the solver, and output to the ANSYS CFX Solver Manager,

1.- Create a monitor point
2.- Select Option = Expression, write the expression of interest
3.- Activate Transient Statistics for that expression and select the statistics of interest..

As you see, there are several ways to obtain what you need.

Hope the above helps,
Opaque is offline   Reply With Quote

Old   March 28, 2019, 06:31
Default
  #5
New Member
 
dboss
Join Date: Mar 2019
Posts: 6
Rep Power: 7
dboss is on a distinguished road
@Opaque
I tried the last possibility you mentioned. But I couldn't find the averaged massflow in the cfx solver manager?
dboss is offline   Reply With Quote

Old   March 28, 2019, 08:58
Default
  #6
Senior Member
 
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33
Opaque will become famous soon enough
The last option is to be set in CFX-Pre(processor), and visualize in the CFX-SolverManager

In CFX-Pre, goto Output Control/Monitor, insert Monitor Point-> Option=Expression, and you should see what is available to you.
Opaque is offline   Reply With Quote

Old   March 28, 2019, 11:46
Default
  #7
New Member
 
dboss
Join Date: Mar 2019
Posts: 6
Rep Power: 7
dboss is on a distinguished road
I am not sure if understood your description correctly.


At the moment I have a area averaged massflow for which I defined a monitor point in cfx-pre. During solving in the cfx-solver I can see on a monitor the reasonable fluctuating curve for the massflow.


But how can i extract the average out of this curve?


I already tried by creating a trn-stats document in cfx-pre with arithmetic average, a specially created variable massflow, but I couldn't find the result chart, file or table?


Thank you for your patience.
dboss is offline   Reply With Quote

Old   March 28, 2019, 11:49
Default
  #8
Senior Member
 
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33
Opaque will become famous soon enough
Could you post the CCL for the monitor point you have created?, Right click on the monitor point icon in the Outline tree, select Edit in Command Editor, copy and paste here.
Opaque is offline   Reply With Quote

Old   March 28, 2019, 13:13
Default
  #9
New Member
 
dboss
Join Date: Mar 2019
Posts: 6
Rep Power: 7
dboss is on a distinguished road
FLOW: Flow Analysis 1 OUTPUT CONTROL:
MONITOR OBJECTS:
&replace MONITOR POINT: massflowinletleft
Coord Frame = Coord 0
Expression Value = massFlowInletLeft
Option = Expression
END
END
END
END
dboss is offline   Reply With Quote

Old   March 28, 2019, 13:21
Default
  #10
Senior Member
 
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33
Opaque will become famous soon enough
What is your expression for massFlowInletLeft equal to?
Opaque is offline   Reply With Quote

Old   March 28, 2019, 13:26
Default
  #11
New Member
 
dboss
Join Date: Mar 2019
Posts: 6
Rep Power: 7
dboss is on a distinguished road
massFlowInletLeft is equal to massFlow()@REGION:inlet_left


CCL would be:



LIBRARY: CEL:
&replace EXPRESSIONS:
Nperiod = 10
PexiteAmpl = 50000 [Pa]
PexiteMean = 200000 [Pa]
Pout = 1e5[Pa]
Tin = 293[K]
freqO = 1000 [Hz]
massFlowInlet = massFlow()@REGION:inlet
massFlowInletLeft = massFlow()@REGION:inlet_left
massFlowInletRight = massFlow()@REGION:inlet_right
massFlowOutlet = massFlow()@REGIONutlet
pInletLeft = massFlowAve(Absolute Pressure )@REGION:inlet_left
pOszileft = PexiteMean + PexiteAmpl *sin(2*pi*freqO *t)
pOsziright = PexiteMean + PexiteAmpl *cos(2*pi*freqO *t)
pin = 5e5 [Pa]
timeStepsPerPeriod = 40
END
END
END
dboss is offline   Reply With Quote

Old   March 28, 2019, 13:50
Default
  #12
Senior Member
 
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33
Opaque will become famous soon enough
I assume you are using a recent version of the software; therefore, the following should work

FLOW: Flow Analysis 1 OUTPUT CONTROL:
MONITOR OBJECTS:
&replace MONITOR POINT: massflowinletleft
Coord Frame = Coord 0
Expression Value = massFlowInletLeft
Option = Expression
MONITOR STATISTICS:
Option = Moving Interval
Statistics List = Arithmetic Average
INTERVAL DEFINITION:
Number of Timesteps = 10
Option = Timesteps
END
END
END
END
END
END
Opaque is offline   Reply With Quote

Old   April 1, 2019, 13:27
Default
  #13
New Member
 
dboss
Join Date: Mar 2019
Posts: 6
Rep Power: 7
dboss is on a distinguished road
Sorry for the late response. That did work thank you very much.
dboss is offline   Reply With Quote

Reply


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 Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
y+ and u+ values with low-Re RANS turbulence models: utility + testcase florian_krause OpenFOAM 114 August 23, 2023 06:37
Mass Flow rate in DPM model tohidtkz FLUENT 0 November 7, 2015 05:13
Periodic channel flow with time dependent mass flow rate QBeast FLUENT 3 May 10, 2013 14:14
Mass Flow Rate Error jallison FLUENT 1 May 16, 2011 17:22
Mass Flow Rate is not converging destgir448 CFX 5 December 11, 2010 06:55


All times are GMT -4. The time now is 15:37.