CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

udf cannot run in windows but can in linux

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

LinkBack Thread Tools Search this Thread Display Modes
Old   January 31, 2006, 09:41
Default udf cannot run in windows but can in linux
ra shmi
Posts: n/a
hi all

iam force using a udf for drag force..the same program can an anyone suggest be run in linux platform but cannot in gives me some errors when i build the program.can any one suggest me the reason behind it.....iam really surprised....!!!

thanks Rashmi
  Reply With Quote

Old   January 31, 2006, 12:57
Default Re: udf cannot run in windows but can in linux
Posts: n/a
It depends on your compiler. Under Windows you use MS VC++ while under linux gcc. I had your same problem. I decided to develop my UDF under linux excusively because it's very easy to use gcc and to link to external libraries. Luca
  Reply With Quote

Old   February 14, 2006, 12:12
Default Re: udf cannot run in windows but can in linux
Vinod Dhiman
Posts: n/a
Hi Rashmi

If you created it on Unix Platform and are trying to run it on Windows it will give error. Use the command unix2dos <filename> in unix to convert the format. For you the file will remain same but for OSs it changes. Likewise you can give command dos2unix <filename> for the udfs created in windows and are required to be used in unix or linux.

Vinod Dhiman
  Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Alternatives to Windows and Linux? CAVT Hardware 5 September 26, 2010 15:28
Windows to Linux => END problems... zboud CFX 4 February 4, 2010 16:53
compatibility problem of UDF on LINUX manu FLUENT 4 December 19, 2007 04:58
removing of linux and keeping windows Anja Main CFD Forum 4 August 23, 2006 07:01
Problem with UDF in Linux? Andrew FLUENT 4 March 9, 2006 12:32

All times are GMT -4. The time now is 09:45.