|
[Sponsors] |
How to obtain the mass flow rate with CEL functions |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 29, 2020, 06:14 |
How to obtain the mass flow rate with CEL functions
|
#1 |
New Member
Join Date: Apr 2018
Posts: 12
Rep Power: 8 |
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 |
|
January 5, 2021, 18:30 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,893
Rep Power: 144 |
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.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
Tags |
cel functions, cfx, user fortran |
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 | 10 | October 18, 2024 15:20 |
Specify mass flow rate for periodic boundary conditions in channel flow | lion1990 | OpenFOAM Running, Solving & CFD | 1 | July 9, 2018 18:46 |
Multiphase flow - incorrect velocity on inlet | Mike_Tom | CFX | 6 | September 29, 2016 02:27 |
Exit Corrected Mass Flow Rate Mesh Sensitivity Study | s__s__s | CFX | 4 | July 20, 2016 12:46 |
Mass Flow Rate Error | jallison | FLUENT | 1 | May 16, 2011 17:22 |