I am trying to get the species mass and molar fractions for my continuous gas phase into a UDF for DEFINE_DPM_HEAT_MASS(). According to the manual, this can be done by using the following.
Pdf_Yi(c, t, n) or Pdf_XY(c,t,x,y)
In order to use these expressions "pdf_props.h" must be included. Hooking the UDF causes no issues, however upon running my model the simulation crashes when reaching the DPM Iteration. More specifically: it crashes because of these functions.
I am using Fluent version 19.3. Is there any other way to get these fractions for a species transport model? Or how do i resolve this issue?