|
[Sponsors] |
March 17, 2016, 01:19 |
Error: udf compilation
|
#1 |
Member
Join Date: Oct 2015
Posts: 34
Rep Power: 11 |
Hi, when I open fluent using cmd prompt am getting the error
Error: sopenoutputfile: unable to open file for output Error Object: "C:\Program Files (x86)\Microsoft Visual Studio 14.0\cleanup-fluent-HP-3964.bat" Later when I build udf library ignoring previous error I end up with Copied e:\project/source.c to libudf\src Copied e:\project/header.h to libudf\src Creating user_nt.udf file for 2ddp ... (system "copy "C:\PROGRA~1\ANSYSI~1\v160\fluent"\fluent16.0.0\sr c\udf\makefile_nt.udf "libudf\win64\2ddp\makefile" ") 1 file(s) copied. (chdir "libudf")(chdir "win64\2ddp")# Generating ud_io1.h source.c # Generating udf_names.c because of makefile source.obj udf_names.c # Linking libudf.dll because of makefile user_nt.udf udf_names.obj source.obj Microsoft (R) Incremental Linker Version 12.00.31010.0 Copyright (C) Microsoft Corporation. All rights reserved. Creating library libudf.lib and object libudf.exp source.obj : error LNK2019: unresolved external symbol fabs referenced in function liq_gas_source source.obj : error LNK2001: unresolved external symbol _fltused LINK : error LNK2001: unresolved external symbol _DllMainCRTStartup libudf.dll : fatal error LNK1120: 3 unresolved externals Please can anyone advice me what to do to solve this. Thank you. |
|
March 21, 2016, 02:12 |
Problem with UDF hooking
|
#2 |
Member
Join Date: Oct 2015
Posts: 34
Rep Power: 11 |
Finally there is no compilation error after I switched my msvs version but when I try to to hook the mass source udf under phase interaction I am getting the error "No user defined functions have been loaded". What should be mistake now? Can anyone help me.
Thank you |
|
April 5, 2016, 03:17 |
|
#3 |
New Member
Abhay Rana
Join Date: Mar 2016
Posts: 6
Rep Power: 10 |
have u figured it out yet???
I have similar problem |
|
April 5, 2016, 06:04 |
|
#4 |
Member
Join Date: Oct 2015
Posts: 34
Rep Power: 11 |
Hi, I was using the macro mass transfer in my udf so for this case the following command has to be given in TUI. "solve/set/expert" then for linearized mass transfer? give no. It worked for me. I got this help from another thread in forum.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compilation error for OpenFOAM-ext on Ubantu 10.04 32 bit | Sargam05 | OpenFOAM Installation | 13 | March 22, 2014 06:21 |
Compilation Error (V 1.7.1; Icc 12.1.0, OpenMPI 1.4.3) | floydfan | OpenFOAM Installation | 7 | December 20, 2011 06:56 |
errors during compilation and installation of OpenFOAM-1.7.x on Ubuntu 10.04 | ftec | OpenFOAM Installation | 7 | February 23, 2011 07:07 |
Compilation error with uparm.f | Raghu | Siemens | 2 | May 30, 2007 03:09 |
Compilation Error.... | Arnab | Siemens | 4 | September 12, 2004 16:54 |