|
[Sponsors] |
February 7, 2024, 02:49 |
Converge UDF building
|
#1 |
New Member
mohamed salah
Join Date: Jan 2024
Posts: 6
Rep Power: 2 |
any one can help me please with the method how to build a converge cfd UDF on windows using visual studio 2022, i have the source code but i couldn't build the dll file.
i need the steps from the base please |
|
February 7, 2024, 08:50 |
|
#2 |
Senior Member
Kislaya Srivastava
Join Date: Sep 2017
Location: Convergent Science, Northville MI
Posts: 165
Rep Power: 8 |
Hello Mohamed,
Please refer to our CONVERGE 3.1 UDF Manual, which is available on our Downloads page. It contains step-by-step instructions on how to install, build and execute UDFs. Sincerely, |
|
February 7, 2024, 09:49 |
|
#3 | |
New Member
mohamed salah
Join Date: Jan 2024
Posts: 6
Rep Power: 2 |
Quote:
the problem is within visual studio when i compile, i got this message : Generating Loader: converge_udf_load.c [2/3] Building C object CMakeFiles\converge_udf.dir\converge_udf_load.c.ob j C: \New folder\out\build\x64-Debug\converge_udf_load.c(18): warning C4003: not enough arguments for function-like macro invocation 'BOOST_PP_SEQ_SIZE_I' [3/3] Linking C shared library converge_udf.dll |
||
February 9, 2024, 18:20 |
|
#4 |
Senior Member
Kislaya Srivastava
Join Date: Sep 2017
Location: Convergent Science, Northville MI
Posts: 165
Rep Power: 8 |
Hello Mohamed,
That warning is fine. What error message is being displayed when you compile your UDFs? Does it state " Build incomplete " at the end of the process? Please post your entire build log. Sincerely, |
|
February 10, 2024, 06:38 |
|
#5 | |
New Member
mohamed salah
Join Date: Jan 2024
Posts: 6
Rep Power: 2 |
Quote:
Error CMake Error at C:/Program Files/CONVERGE Explore/CONVERGE/3.1.9/share/cmake/CONVERGE_BUILD:294 (add_library): No SOURCES given to target: converge_udf_user CONVERGE UDF Development Package C:/Program Files/CONVERGE Explore/CONVERGE/3.1.9/share/cmake/CONVERGE_BUILD 294 ) and when I ignore it and i try to build the project i got this : Warning: the MSVC toolset version has not been determined for one or more projects. To collect data as ordinary user with Visual Studio the MSVC toolset version '14.46.52625' is required. To workaround any issue may occur running Visual Studio as Administrator is recommended. ========== C++ Build Insights ========== Starting collection… Collecting data… Finishing data collection… Preparing data for analysis… Warning: The trace collected during this session is empty. The trace contains data only if the MSVC toolset is being used, and only if code compilation occurred and was not skipped by up-to-date checks. A rebuild may be needed to generate data for the trace. ========== C++ Build Insights: failure occurred during data collection ========== |
||
February 12, 2024, 12:59 |
|
#6 |
Senior Member
Kislaya Srivastava
Join Date: Sep 2017
Location: Convergent Science, Northville MI
Posts: 165
Rep Power: 8 |
Hello Mohamed,
Please note that the error message : No SOURCES given to target : indicates that there is no "src" directory, with available .c UDFs you wish to compile, found in the folder with the CMakeLists.txt file. Sincerely, |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF source term issue regarding 'Invalid Module Name' | BuckBadger | CONVERGE | 3 | January 26, 2024 13:06 |
[OpenFOAM.org] Instructions to install OpenFOAM-2.4.x on CentOS-6.10 | redbullah | OpenFOAM Installation | 9 | September 7, 2019 17:18 |
Error, could not find CONVERGE UDF LIBRARY, libconverge_udf.so | kri321shna | CONVERGE | 11 | December 12, 2016 15:27 |
Source Term UDF VS Porous Media Model | pchoopanya | Fluent UDF and Scheme Programming | 1 | August 28, 2013 06:12 |
UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 04:01 |