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

massflow calculating using logical condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 17, 2016, 02:42
Default massflow calculating using logical condition
  #1
Member
 
Alex
Join Date: Feb 2016
Posts: 81
Rep Power: 10
Red Ember is on a distinguished road
Hi to all!
I'd like to calculate mass flow rate of air flux at certain part of surface/plane
As for instance, chop outlet surface in two using XY plane with Z-coord Z=0.1m
I can use cfx-post only, not change geometry.
So, massflow should be:
areaInt(Density*velo)@outlet = areaInt(Density*velo v part1)@outlet + areaInt(Density*velo v part2)@outlet,
where velo v part 1 means the expression:
if (0.1 [m] < Z , Velocity v, 0 [m s^-1] ),
velo v part 2 is expression:
if (0.1 [m] > Z , Velocity v, 0 [m s^-1] ).

Unfortunately, the sum is not equal to usual massFlow()@outlet. So, where is a mistake?
Red Ember 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
Problem with massflow BC at inlet MrNavierStokes CFX 3 November 7, 2016 02:55
Calculating integral of equation on boundary condition sahm OpenFOAM Programming & Development 7 August 25, 2016 23:26
Problem with plotting the Massflow in 2D-Axisymmetric Bando STAR-CCM+ 1 June 21, 2012 05:09
MassFlow Function? Absolute MassFlow? Failure in Caclulation eRzBeNgEl CFX 0 May 5, 2011 09:46
calculate MASSFLOW for a component MAldaz CFX 1 November 7, 2007 11:41


All times are GMT -4. The time now is 20:26.