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

UDF compiling error

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By AlexanderZ

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 27, 2019, 14:56
Default UDF compiling error
  #1
Senior Member
 
Weiqiang Liu
Join Date: Feb 2018
Posts: 278
Rep Power: 9
Weiqiang Liu is on a distinguished road
hello all,

I am trying to compile an UDF in fluent. The udf library can be built normally. However, fluent always complains about 'the udf library you're trying to load is not complied for 2d on this platform'

I am using ansys fluent 17 and the c compiler is microsoft visual studio 2017 community.

I have set the udf.bat file to make visual studio 2017 as a priority compiler. Can anybody give me some suggestions to solve this problem.

By the way, the source code is copied from fluent udf manual. Therefore the source code should have no problem.

Best.

Weiqiang
Weiqiang Liu is offline   Reply With Quote

Old   February 27, 2019, 21:15
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
Compile Fluent UDF with Windows 10

best regards
AlexanderZ is offline   Reply With Quote

Old   February 28, 2019, 12:20
Default
  #3
Senior Member
 
Weiqiang Liu
Join Date: Feb 2018
Posts: 278
Rep Power: 9
Weiqiang Liu is on a distinguished road
Quote:
Originally Posted by AlexanderZ View Post
hello I followed all the procedures, still the same error. LOL
Weiqiang Liu is offline   Reply With Quote

Old   March 3, 2019, 20:28
Default
  #4
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
very lol

than your statement
Quote:
The udf library can be built normally
is not true

read log (in folder win64 or win32)

best regards
pakk likes this.
AlexanderZ is offline   Reply With Quote

Reply

Tags
compiling error, visual studio


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
error compiling modified applications yvyan OpenFOAM Programming & Development 21 March 1, 2016 04:53
[swak4Foam] installing funkySetFields igo OpenFOAM Community Contributions 1 November 20, 2012 20:16
[swak4Foam] groovyBC: problems compiling: "flex: not found" and "undefined reference to ..." sega OpenFOAM Community Contributions 12 February 17, 2010 09:30
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23
user subroutine error CFDUSER CFX 2 December 9, 2006 06:31


All times are GMT -4. The time now is 03:12.