Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

VOF to DPM: A question about head file of “lump_detect.h”

TAGGED: 

    • kuibo wu
      Subscriber

      Hello everyone, when I was preparing to use udf to adjust the lump conversion, the example given in the manual reported an error when compiling: fatal error C1083. How do I fix this?

      With best wishes!

    • Rob
      Forum Moderator

      Please can you post all of the errors? Did you check the copied .c file for random white space characters? 

      • kuibo wu
        Subscriber

        Thank you for your reply!The error code is as follows:

        D:\Program Files (x86)\ANSYS Inc\v212\fluent\ntbin\clang\10\Include\10.0.18362.0\shared\basetsd.h(322,11) : warning: cast to 'void * __ptr32' from smaller integer type 'unsigned long' [-Wint-to-void-pointer-cast]

        return((void * POINTER_32) (unsigned long) (ULONG_PTR) p);

        ^

        lump.c(2,9) : fatal error: 'lump_detect.h' file not found

        #include "lump_detect.h"

        ^~~~~~~~~~~~~~~

        1 warning and 4 errors generated.

        scons: *** [lump.obj] Error 1

        scons: building terminated because of errors.

         

        Done.

    • Rob
      Forum Moderator

      2021R2 is an older build, was the code you used for that version? There have been a few changes in the model so it's possible some of the calls are for 2022Rx and onwards. 

Viewing 2 reply threads
  • The topic ‘VOF to DPM: A question about head file of “lump_detect.h”’ is closed to new replies.