Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Multiphase Flows

Multiphase Flows

How to specify the saturation pressure-temperature curve via UDF for phase change simulations?

    • SolutionSolution
      Participant

      In phase change simulations, there are a couple of options available to provide the saturation line data like piecewise-linear functions, piecewise-polynomials etc. One of them is using an UDF. The DEFINE_PROPERTY macro can be utilized to provide the saturation curve in simulations using cavitation models, evaporation-condensation models, species-mass-transfer models etc. Please see the attachments for an example.

      Attachments:
      1. 2054760.zip