CFD Online Logo CFD Online URL
Home > Forums > FLUENT

udf cannot run in windows but can in linux

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

LinkBack Thread Tools Display Modes
Old   January 31, 2006, 10: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, 13: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, 13: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
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
Alternatives to Windows and Linux? CAVT Hardware 5 September 26, 2010 15:28
Windows to Linux => END problems... zboud CFX 4 February 4, 2010 17:53
compatibility problem of UDF on LINUX manu FLUENT 4 December 19, 2007 05: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 13:32

All times are GMT -4. The time now is 17:38.