|
[Sponsors] |
July 21, 2015, 22:15 |
UDF to obtain total mass of species
|
#1 |
New Member
Michael
Join Date: May 2014
Posts: 2
Rep Power: 0 |
Hello all,
I am looking for a way to obtain the total mass of species A within a domain in a transient setup at every time step. There are two species in that domain and a source term for species A. I was thinking about DEFINE_EXECUTE_AT_END and loop over all cells to get the mass fractions and the cell volumes. What I am not sure about is how to obtain a single value by adding up these values from all cells and store that in a file at every time step. If you have a better idea for solving that please let me know (e.g. maybe there is a way to monitor the mass source term in a domain). For better understanding: the mass source is variable and changes from cell to cell depending on the mass fraction of species A which is of course changing over time. Any ideas or help are welcome. THX |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Accessing the species mass fraction for particles data in UDF | mac_09 | FLUENT | 17 | August 9, 2017 21:15 |
Surface Integrals of Species Mass Flow to Wall Incorrect | koad | FLUENT | 4 | January 12, 2016 17:38 |
PB: Saving mass fraction of species on two points with an udf | biget.a | FLUENT | 2 | July 23, 2009 04:06 |
UDF solution variable for time-averaged mass frac? | A. S. | FLUENT | 0 | May 14, 2007 17:44 |
mass fraction of species | Ahmed | FLUENT | 0 | April 18, 2007 12:57 |