We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
General

General

How can I create a UDF that can be used for 2D and 3D models?

    • FAQFAQ
      Participant

      Data access problems can occur when you use a UDF created for a 3D model with a 2D model. A good practice is to code the UDF for both 2D and 3D. This can be done by using an if statement with RP_2D to distinguish a 2D model and RP_3D for a 3D model. Also, the Fluent utility macros ND, NV etc. can allow the user to create a UDF without specifying 2D or 3D.