Fluids

Fluids

How do I access the normalized progress variable in an UDF?

    • a.ortolani
      Subscriber

      Hi,

      I need to acces the normalized progress variable in my UDF while using a partially-premixed combustion model.

      I tried with C_PREMIXC(c,t), but this gives me the un-normalized value.

      Is there a way to access what I need?  In alternative is there a way to access the equilibrium values of the un-normalized progress variable for a given mixture fraction so that I can normalize it myself?

      Thank you

      Andrea

    • Rob
      Ansys Employee

      It may be calculated internally, and I can't see anything in the manual so can't really help: it'd involve digging in the source code and I can't then share anything I (or rather a colleague who has access) find. However, https://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v231/en/flu_udf/flu_udf_DPMDEFINE.html shows where the macros are defined, so you may want to look in the header files. 

Viewing 1 reply thread
  • You must be logged in to reply to this topic.