CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Fluent UDF and Scheme Programming

UDF Compiling : Error 193

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 2, 2011, 10:06
Default UDF Compiling : Error 193
  #1
Member
 
Join Date: Apr 2010
Location: Pisa / Italy
Posts: 57
Rep Power: 7
Atze is on a distinguished road
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)
Atze is offline   Reply With Quote

Old   April 27, 2011, 05:16
Default
  #2
New Member
 
ZenCef
Join Date: Feb 2010
Posts: 22
Rep Power: 7
ZenCef is on a distinguished road
I have a same problem with same software.

Ansys Fluent 13 , Visual C++ 2010 Express , Win7 x64

What's the meaning of error 193?
ZenCef is offline   Reply With Quote

Old   May 10, 2011, 10:28
Default
  #3
New Member
 
Anonymous
Join Date: May 2011
Posts: 3
Rep Power: 6
xorjack is on a distinguished road
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
xorjack is offline   Reply With Quote

Old   December 5, 2011, 21:24
Default
  #4
Member
 
Nathan
Join Date: Aug 2010
Posts: 64
Rep Power: 6
natantyt is on a distinguished road
Hi There

Anybody found a solution to this Error 193?

Thanks
natantyt is offline   Reply With Quote

Old   December 5, 2011, 23:46
Default
  #5
Member
 
fox000002's Avatar
 
Join Date: Apr 2009
Posts: 46
Rep Power: 8
fox000002 is on a distinguished road
Check the compiler version.

Fluent x64 needs a x64 c++ compiler.
fox000002 is offline   Reply With Quote

Old   December 9, 2011, 17:52
Default
  #6
New Member
 
Anonymous
Join Date: May 2011
Posts: 3
Rep Power: 6
xorjack is on a distinguished road
Ok. Use Microsoft .NET Framework SDK v2.0 (64bit) instead of VC++ for Win 7 64 bit.
Start Fluent from SDK command prompt.
xorjack is offline   Reply With Quote

Old   September 30, 2013, 07:04
Default Still failed
  #7
Member
 
aerosjc
Join Date: Aug 2012
Posts: 34
Rep Power: 5
aerosjc is on a distinguished road
Quote:
Originally Posted by xorjack View Post
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
I tried your way, but still failed.
aerosjc is offline   Reply With Quote

Old   October 1, 2013, 05:07
Default
  #8
New Member
 
Anonymous
Join Date: May 2011
Posts: 3
Rep Power: 6
xorjack is on a distinguished road
Quote:
Originally Posted by aerosjc View Post
I tried your way, but still failed.
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
xorjack is offline   Reply With Quote

Old   October 9, 2013, 01:54
Default Win XP
  #9
New Member
 
Join Date: Oct 2013
Posts: 1
Rep Power: 0
ezeevictory is on a distinguished road
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?
ezeevictory is offline   Reply With Quote

Old   October 16, 2013, 00:01
Default
  #10
Member
 
aerosjc
Join Date: Aug 2012
Posts: 34
Rep Power: 5
aerosjc is on a distinguished road
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.
aerosjc is offline   Reply With Quote

Old   November 6, 2013, 09:28
Default
  #11
New Member
 
Pengianlei
Join Date: Aug 2013
Posts: 5
Rep Power: 3
LemonPeng is on a distinguished road
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:
Originally Posted by Atze View Post
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)
LemonPeng is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling udf at window Nt(64BIT) noa FLUENT 3 July 29, 2014 23:01
About UDF compiling issues: 'nmake' Haoyin Shan Fluent UDF and Scheme Programming 7 January 2, 2013 11:49
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 07:14
On Compiling a UDF David Chabot FLUENT 5 May 20, 2005 09:13


All times are GMT -4. The time now is 04:42.