Multiphase Flows

Multiphase Flows

I have an Eulerian phase change problem set up and I am having trouble hooking a mass transfer UDF. Once my UDF is compiled and loaded., I proceed to the Eulerian Phase Interaction pane. This produces the following warning message: Warning: 1. In Heat Transfer models, fixed-to-sat-temp should only be selected when mass transfer occurs. The To-Phase temperature equals to the saturation temperature. 2. For Evaporation-Condensation, with Two-Resistance heat transfer, Thermal Phase Change model is used; Otherwise, Lee model is applied. 3. For user-defined mass transfer, Linearized-Mass-Transfer UDF is on. If needed, use ‘solve/set/expert’ to switch to Mass-Transfer UDF. Even after making the required change in the TUI, The UDF will not hook and the attempt to use the user-defined Mass Transfer option results it the error: “No user-defined functions have been loaded.” even though the UDF is loaded. How can I get around this?

    • FAQFAQ
      Participant

      There is a defect that effects releases up to and including V 18.0 that require the existing mass transfer relationship to be completely disabled and then re-established before the UDF can be hooked. To do this, set the mass transfer relationship from its previous value to “None” and reduce the number of mass transfer mechanisms to 0. Then add a new mass transfer mechanism and set the mass transfer relationship to “user-defined”. UDF will now hook.