Fluids

Fluids

can “dummy_motion” work?

    • Milne Ando
      Subscriber

      G'day,

      I followed the user guide to assign a dummy UDF to the prism inflation layer which surrounds the "system coupling" face of a moving body. But console shows a warning:

      Warning: incorrect cg motion UDF dummy_motion::libudf on zone 10 (assuming no motion)

      How should I fix it? or ignoring it is okay?

      hope someone can help me, thank you.

    • RM
      Ansys Employee

      Hi,

      May i know, whether you have compiled/interpreted UDF to add it in Fluent?

      • Milne Ando
        Subscriber

        hi,

        I right clicked user defined function and clicked complied, then added dummyUDF.c (as the pic shows). After clicking build, it showed a window, then I just clicked OK but I didn't fully understand this part. Hope you can tell me which step was wrong. Thank you.

    • RM
      Ansys Employee

      Note that UDFs that are defined using DEFINE_CG_MOTION can ONLY be executed as compiled UDFs.
      https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v194/flu_udf/flu_udf_sec_define_cg_motion.html?q=DEFINE_CG_MOTION

      • Milne Ando
        Subscriber

        hi,

        the dummy UDF is written in p.3323 as follows:

        #include "udf.h"

        DEFINE_GRID_MOTION(dummy_motion, domain, dt, time, dtime)
        {
            return;
        }
        hmm, should I substitute DEFINE_GRID_MOTION with DEFINE_CG_MOTION? (I have no idea)
Viewing 2 reply threads
  • You must be logged in to reply to this topic.