This *.C code is an Ansys Fluent UDF for feature engineering process of Machine learning approach. for more information refer to (https://github.com/xiaoh/turbulence-modeling-PIML). Function .m file, Calculates the Euler space angles and the Barycentric coordinates according to the DNS and RSM data.
Euler space angles and the Barycentric coordinates of turbulence for a turbulent flow through a square duct for DNS and Reynolds stress model data.