|
[Sponsors] |
March 2, 2011, 10:06 |
UDF Compiling : Error 193
|
#1 |
Member
Join Date: Apr 2010
Location: Pisa / Italy
Posts: 62
Rep Power: 16 |
Hi,
First of all : I'm using Ansys Fluent 13 , Visual C++ 2008 Express , Win7 x64 Now... I've written a CG_motion UDF (i want to simulate a cilinder in 2D virtually constrained with a spring, in order to simulate vibrations due to pressure forces) but i can't compile it. Searching around some solutions, I was able to BUILD it. Fluent says Error Object: #f 1 file copiati. (system "copy "c:\PROGRA~1\ANSYSI~1\v130\fluent"\fluent13.0.0\sr c\makefile_nt.udf "libudf\win64\2d\makefile" ") 1 file copiati. (chdir "libudf")() (chdir "win64\2d")() # Generating ud_io1.h UDF_CG.c # Generating udf_names.c because of makefile UDF_CG.obj udf_names.c # Linking libudf.dll because of makefile user_nt.udf udf_names.obj UDF_CG.obj Microsoft (R) Incremental Linker Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. Creazione della libreria libudf.lib e dell'oggetto libudf.exp in corso... Done. When I click load in order to load the udf function and set the deforming mesh parameters fluent gives me ERROR 193 What can i do ? Thank you (and sorry for my bad english) |
|
April 27, 2011, 06:16 |
|
#2 |
New Member
ZenCef
Join Date: Feb 2010
Posts: 23
Rep Power: 16 |
I have a same problem with same software.
Ansys Fluent 13 , Visual C++ 2010 Express , Win7 x64 What's the meaning of error 193? |
|
May 10, 2011, 11:28 |
|
#3 |
New Member
Anonymous
Join Date: May 2011
Posts: 3
Rep Power: 15 |
Hello,
I had the same problem. Error 193. Object # I have closed FLUENT, started the VC++ cmd and the FLUENT again, loaded the .msh, built the code. The problem wanished. Good luck |
|
December 5, 2011, 21:24 |
|
#4 |
Member
Nathan
Join Date: Aug 2010
Posts: 62
Rep Power: 16 |
Hi There
Anybody found a solution to this Error 193? Thanks |
|
December 5, 2011, 23:46 |
|
#5 |
Member
Join Date: Apr 2009
Posts: 46
Rep Power: 17 |
Check the compiler version.
Fluent x64 needs a x64 c++ compiler. |
|
December 9, 2011, 17:52 |
|
#6 |
New Member
Anonymous
Join Date: May 2011
Posts: 3
Rep Power: 15 |
Ok. Use Microsoft .NET Framework SDK v2.0 (64bit) instead of VC++ for Win 7 64 bit.
Start Fluent from SDK command prompt. |
|
September 30, 2013, 08:04 |
Still failed
|
#7 |
Member
Jingchang.Shi
Join Date: Aug 2012
Location: Hang Zhou, China
Posts: 78
Rep Power: 14 |
||
October 1, 2013, 06:07 |
|
#8 |
New Member
Anonymous
Join Date: May 2011
Posts: 3
Rep Power: 15 |
Please see the post from Dec. 9 2011. It is most essential.
Lets stress it again: If u have Win7 64x, it is REALLY VITAL: 1. To have Microsoft .NET Framework SDK v2.0 (64bit) set as a compilation environment. 2. To start FLUENT from the SDK command prompt and not from Windows command prompt. If one of mentioned requirements is not fulfilled you will fail. If these req are fulfilled, the compilation should work. Good luck |
|
October 9, 2013, 02:54 |
Win XP
|
#9 |
New Member
Join Date: Oct 2013
Posts: 1
Rep Power: 0 |
Hi guys,
am also getting the same error... 193 i use win xp 64 bit... microsoft visual studio 2008 and fluent 14.5.. couldnt figure out... can someone help? |
|
October 16, 2013, 01:01 |
|
#10 |
Member
Jingchang.Shi
Join Date: Aug 2012
Location: Hang Zhou, China
Posts: 78
Rep Power: 14 |
I just used the complete installation files of VS2010 ultimate, instead of the express edition, to resolve this problem.
And, maybe VS 2008 is not compatible with Fluent 14.5. But, actually I never use the version 14.5 of Fluent. Hope to help. |
|
November 6, 2013, 09:28 |
|
#11 | |
New Member
Pengianlei
Join Date: Aug 2013
Posts: 5
Rep Power: 13 |
I met the same problem. But successfully overcome it by uninstalling some old Visual Studio.
In my computer, both Visual Studio2003 and Visual Studio 2010 are installed, so that I load the UDF with error code 193. Then I uninstall the Visual Studio 2003, the problem disappear. Hope this message could help you. Quote:
|
||
March 8, 2018, 05:52 |
error code 193\n
|
#12 |
New Member
nima seyfi
Join Date: Feb 2017
Posts: 3
Rep Power: 9 |
hi there
i load fluent with visual 2010 my fluent is 18.2 and my windows is 10 but in loading process fluent give me error 193 how can i solve this problem?!?! can anybody help?? thnx |
|
September 3, 2019, 02:50 |
|
#13 | |
New Member
N/A
Join Date: Sep 2019
Posts: 2
Rep Power: 0 |
Quote:
you can also check the compiled platform of dll file using the command dumpbin /headers libudf.dll |find "machine" in the corresponding folder through developer Command Prompt for VS 2019. https://stackoverflow.com/questions/...-as-x64-or-x86 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
About UDF compiling issues: 'nmake' | Haoyin Shan | Fluent UDF and Scheme Programming | 15 | November 4, 2019 19:05 |
compiling udf at window Nt(64BIT) | noa | FLUENT | 3 | July 30, 2014 00:01 |
UDF compiling problem in Flient 6.3 | jeevan kumar | FLUENT | 2 | February 25, 2009 01:43 |
udf compiling problem | akr | FLUENT | 3 | August 22, 2007 08:14 |
On Compiling a UDF | David Chabot | FLUENT | 5 | May 20, 2005 10:13 |