|
[Sponsors] |
April 7, 2014, 09:44 |
UDF compilation/ platform issue! Help!! :s
|
#1 |
New Member
Lisa Marfell
Join Date: Nov 2013
Posts: 7
Rep Power: 13 |
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 |
|
April 9, 2014, 05:17 |
|
#2 |
Member
Yash Ganatra
Join Date: Mar 2013
Posts: 67
Rep Power: 13 |
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 |
|
April 9, 2014, 10:27 |
|
#3 |
New Member
Lisa Marfell
Join Date: Nov 2013
Posts: 7
Rep Power: 13 |
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 |
|
April 9, 2014, 10:52 |
|
#4 |
Member
Yash Ganatra
Join Date: Mar 2013
Posts: 67
Rep Power: 13 |
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 |
|
April 11, 2014, 14:11 |
|
#5 |
New Member
Lisa Marfell
Join Date: Nov 2013
Posts: 7
Rep Power: 13 |
Thank you for your help!
|
|
Tags |
compile, dynamic, libudf, platform, udf |
|
|
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 |