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

UDF compilation/ platform issue! Help!! :s

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 7, 2014, 09:44
Default UDF compilation/ platform issue! Help!! :s
  #1
New Member
 
Lisa Marfell
Join Date: Nov 2013
Posts: 7
Rep Power: 13
lmarf88 is on a distinguished road
Hi,

I am currently modelling a 2D open pipe flow model, simulating the motion of a piston in a rapid compression machine.

I want to use dynamic meshing to move the "piston wall" to analyse the effects this has on the flow. In order to create dynamic meshing zones, I have created a UDF, define_geom macro, using a sin function to define the motion.

However when I try to compile this UDF to the model, I get an error message stating "The UDF library you are trying to load (libudf) is notpiled for 2ddp on the current platform (win64). The system cannot find the file specified."

The source .c file is in the same folder as the case file, so I cannot think why it cannot find the file.

I have attached a screen shot of my issue, case file and also included the code I have written.

rcm piston.cas.gz

define_geom.c

dynamesh problem.jpg

If anybody could help at all, I would be extremely grateful!

Thanks in advance,
Lisa
lmarf88 is offline   Reply With Quote

Old   April 9, 2014, 05:17
Default
  #2
Member
 
Yash Ganatra
Join Date: Mar 2013
Posts: 67
Rep Power: 13
yashganatra is on a distinguished road
Try to start FLUENT from Windows SDK command prompt (for 64-bit Windows OS) or through Visual Studio command prompt (for 32 bit windows OS)
Refer:
http://www.cfd-online.com/Wiki/Fluent_FAQ

Regards,
Yash Ganatra
__________________
My Website:
https://sites.google.com/site/yyashganatra/
yashganatra is offline   Reply With Quote

Old   April 9, 2014, 10:27
Default
  #3
New Member
 
Lisa Marfell
Join Date: Nov 2013
Posts: 7
Rep Power: 13
lmarf88 is on a distinguished road
Yash,

Thank you for your reply! Is windows SDK something that needs downloading? Because I am using computers at university so do not have administration access.

Lisa
lmarf88 is offline   Reply With Quote

Old   April 9, 2014, 10:52
Default
  #4
Member
 
Yash Ganatra
Join Date: Mar 2013
Posts: 67
Rep Power: 13
yashganatra is on a distinguished road
Yes. it requires downloading. For 64 bit windows you need to have both Visual C++ 2008/2010 (either express or full edition) and Windows SDK (6 or 7). Then you have to set Path in Environment variables in My Computer-->System Properties--> Advanced system settings-->Environment Variables-->System Variables-->Path.
See the FAQ link for the entry that you need to make.

Regards,
Yash Ganatra
__________________
My Website:
https://sites.google.com/site/yyashganatra/
yashganatra is offline   Reply With Quote

Old   April 11, 2014, 14:11
Default
  #5
New Member
 
Lisa Marfell
Join Date: Nov 2013
Posts: 7
Rep Power: 13
lmarf88 is on a distinguished road
Thank you for your help!
lmarf88 is offline   Reply With Quote

Reply

Tags
compile, dynamic, libudf, platform, udf


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
UDF compilation through nmake yorelchr Fluent UDF and Scheme Programming 4 March 26, 2013 09:52
UDF compilation vismayie Fluent UDF and Scheme Programming 5 March 20, 2013 03:54
UDF compilation problem ravindra Fluent UDF and Scheme Programming 0 July 23, 2012 08:31
UDF Compilation problem dfeid FLUENT 0 December 30, 2011 17:16
Issue with DEFINE_PROPERTY UDF in 3D lost.identity FLUENT 0 April 20, 2011 10:15


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