Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

The problem of DPM source terms linearization

    • 1517565620
      Subscriber

      Does anyone know how additional terms for DPM source linearization are given in UDFs? I looked up the dpm header file (my Fluent version is 2019R3) and there is indeed a description of source phase linearization in the dpms_t struct, as shown in the figure. I'm using a species transport model where DPM particles transfer mass and heat to the fluid domain and I need source phase linearization. But I don't know exactly what htc and *mtc refer to or how to assign values to them in my UDF.And I found that in the 2022 release, the htc variable was removed from the dpms_t structure and added to the particle structure *tp,and its name was changed to htcA.This is interesting...

       

    • Rob
      Forum Moderator

      You may want to update to 2023R2. 

      Make sure you use the Help in the specific version of Fluent as some of the DPM calls were adjusted. They should be covered in some of the UDF Manual examples. 

      • 1517565620
        Subscriber

        Thank you very much for your reply. Although my current software is using the 2019R3 version, according to the header file description of the 2019R3 version, it supports the linearization of DPM source items, and its specific description is shown in the figure above. But this version of the help manual does not explicitly give any details on how to use it (even if it is described in the 2022 or 2023R2 version of the manual, it is still not very clear and does not even describe any information about *mtc). So I don't know how to assign *mtc the correct value. If you can provide any useful information, I would be very grateful!

    • Rob
      Forum Moderator

      Have a look here https://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v232/en/flu_udf/flu_udf_DPMDEFINE.html%23flu_udf_sec_define_dpm_source  and read the example carefully. 

      Just a note coloured text isn't overly easy to read on here. That or I need to get reading glasses.... 

      • 1517565620
        Subscriber

        Thank you very much for your reply! I'm really sorry that I can't check the website content you sent me at present. Can you tell me the specific information of *mtc directly? Or can you provide a code case about *mtc in the website? Thanks again for your help!

    • Rob
      Forum Moderator

      Ah, try in the browser after clicking on Help in Fluent. That should bypass the password checks. 

      *mtc may or may not be relevent - it could just be a variable name/flag. The examples in the DPM section of the UDF manual do have comments about the linearisation, and don't mention *mtc. 

Viewing 3 reply threads
  • The topic ‘The problem of DPM source terms linearization’ is closed to new replies.