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

How to obtain the mass flow rate with CEL functions

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

Like Tree1Likes
  • 1 Post By ghorrocks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 29, 2020, 05:14
Default How to obtain the mass flow rate with CEL functions
  #1
New Member
 
Join Date: Apr 2018
Posts: 12
Rep Power: 8
longderson is on a distinguished road
Dear CFX users,

Recently I got a problem. I tried to obtain the mass flow rate of a specific component at an inlet boundary with the CEL functions 'massFlowInt()@'. It works pretty well and the result is exactly the same as the one displayed in the monitor. However, when a boundary source was added, this function will return the overall flow rate (plus the source). Is there any way to obtain the real mass rate without accounting the source term?

Cheers
longderson is offline   Reply With Quote

Old   January 5, 2021, 17:30
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Set your mass source to a variable, and write that variable to a monitor point. Then you can subtract it from the total mass flow from your existing function.
longderson likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Reply

Tags
cel functions, cfx, user fortran

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
In CFX-post, how to obtain the mass flow rate of a cross section xyq916 CFX 7 January 24, 2022 13:51
Specify mass flow rate for periodic boundary conditions in channel flow lion1990 OpenFOAM Running, Solving & CFD 1 July 9, 2018 17:46
Multiphase flow - incorrect velocity on inlet Mike_Tom CFX 6 September 29, 2016 01:27
Exit Corrected Mass Flow Rate Mesh Sensitivity Study s__s__s CFX 4 July 20, 2016 11:46
Mass Flow Rate Error jallison FLUENT 1 May 16, 2011 16:22


All times are GMT -4. The time now is 04:39.