Which method is better to postprocess for mass and energy flows?
If one wants to calculate mass and energy flows at various planes in a domain, which one of the following methods is more accurate?
1. Calculate these inside CFXPost using functions like massFlowInt, massflowave etc. on variables like velocity u, velocity v, velocity w, area, static enthalpy etc. 2. Export these values on the required planes to text files and then use these text files to calculate the relevant quantities through say MATLAB. Thanks for your inputs 
Option 1 is most accurate. This will use the integration points used by the solver so will maintain the solver accuracy. Option 2 only uses the nodal values and so will introduce a difference to approach used int he solver.

Thanks Glen for your reply.
I agree completely. However, in one of my simulations, I had to calculate the heat transfer coefficient (HTC) for heat transfer from wall to fluid in channel flow at various axial locations along the channel. I defined HTC at any axial location x as per the traditional definition as Average heat flux at x = HTC (x)*(Average Twall(x)  Tbulk(x)) Since Average heat flux at x, Average Twall(x) at any axial location x and Tbulk(x) at the corresponding axial location were not available from CFXPost, I had to export the nodal heat flux, Twall and Tfluid values along several axial planes and then use this info available in exported text files to calculate HTC(x) in MATLAB. I understand that using nodal values would not have given me accurate values of HTC(x), but could I have done anything better? 
Quote:
This could also be done with a script in CFDPost which takes strips of your geometry and does integrations on the strip. It would have required a little programming of session files to work I suspect. 
All times are GMT 4. The time now is 18:09. 