Bug in SurfaceIntegral::FlowRate Monitor Output

When using the Eulerian::SurfaceIntegral::Flowrate monitor type, the reported value for ones is not equal to the sum of the individual mass fractions.

For example,

time,ones,X_gk_N2,X_gk_H2
0,0.000369253,0.010816,0
0.02,0.000369253,0.010816,0
0.04,0.000369253,0.010816,0
0.06,0.000369253,0.010816,0
0.08,0.000369253,0.010816,0
0.1,0.000369252,0.010816,0
0.12,0.000369252,0.010816,0
0.14,0.000369251,0.010816,0
...
6.1,0.000253543,0.0105055,0.000310533
6.12,0.000254224,0.0105052,0.000310812
6.14,0.000254336,0.0105048,0.000311204
6.16,0.000254094,0.0105043,0.000311734
6.18,0.000254058,0.0105038,0.000312201
6.2,0.000254406,0.0105034,0.000312587
6.22,0.000255004,0.0105031,0.000312884
6.24,0.000255927,0.0105029,0.000313064
6.26,0.000257096,0.0105028,0.000313244
...

appears in the outlet monitor of the attached example input file.

inputs-monissue-mwe.txt (10.8 KB)

A fix for that has been submitted at MR1514.
Would it be possible for you to test it?

Looks like that works. Thanks @RobertoPorcu!

1 Like