G-Equation UDF
1 Attachment(s)
Hi,
I have a g-equation's udf that I didn't write. In this udf we want to know the egr values, considering CO2 and H2O. There's a variable, called "egr_frac_custom" that do this. I need to read that variable and "egr_fraction". I'm using also the UDF post. When I try to run the simulation, the logout file report this error: "Detected a field variable that is deprecated. UDF is referenceing unknow FIELD variable: EGR_FRAC_CUSTOM. EGR_FRAC_CUSTOM is being set to NULL". Inside post.in there are both variables. The UDFs are for Converge 3.0.18, and I'm using that version. How can I solve this error and "export" both the values of egr_frac_custom and egr_fraction with post.c? Down below I attach all files inside a zip archive. Thank you. |
Hello Matteo,
"egr_frac_custom" is not a variable that CONVERGE provides. Its definition is missing from your UDFs. Use the "CONVERGE_variable_register" API routines to register the variable, then the UDFs to assign values to it, which can then be used for your post.c routines. I would recommend contacting the person who wrote these UDFs for clarification on how to define this custom variable. Sincerely, |
All times are GMT -4. The time now is 06:12. |