lec chen
Subscriber

Dear Rob,

Thank you so much for your kind reply.

1- When i build the UDF in compiled UDFs, the console has reported

{ scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly. File "F:\05 DPM model\libudf\win64\3ddp_host\SConstruct", line 20, in . 

scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly. File "F:\05 DPM model\libudf\win64\3ddp_node\SConstruct", line 20, in . Compiler path: xxx. Linker path: xxx.

scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly. File "F:\05 DPM model\libudf\win64\3ddp_node\SConstruct", line 156, in . C sources: ['track_forces.c']. lld-link: error: undefined symbol: P_DRAG

>>> referenced by track_forces.obj:(track_forces)

lld-link: error: undefined symbol: P_SAFFMAN_LIFT_FORCE

>>> referenced by track_forces.obj:(track_forces)

lld-link: error: undefined symbol: P_VIRTUAL_MASS_FORCE

>>> referenced by track_forces.obj:(track_forces)

scons: *** [libudf.dll] Error 1} 

2- When i load the library, the console has reported

{ERROR: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (win64). ���������������������

F:\\05 DPM model\\libudf\\win64\\3ddp_node\\libudf.dll. Error: An error occurred in the previous operation. The details can be found in the text output.

Error Object: #f }

3-  Your suggestion to use the current version of the manual is very helpful. However, as I am new to UDF in Fluent, I need to spend more time solving the problem and reporting the drag/lift forces on particles in DPM. 

Thanks