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

Adding UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 13, 2018, 03:11
Default Adding UDF
  #1
New Member
 
Ahmad
Join Date: Apr 2017
Posts: 19
Rep Power: 9
ap.ahmad7238 is on a distinguished road
Hi everyone
I want to add a udf code in fluent using compile but this error appears:
"Error: The UDF library you are trying to load (libudf\win64\3ddp_host\libudf.dll) is not compiled for parallel use on the current platform (win64).\n\nThe specified module could not be found.
\n\nE:\Thesis\libudf\win64\3ddp_host\libudf.dll"

I also tried interpret function; but this time this error appears:
"cpp -I"E:\software\ANSYS Inc\v180\fluent\fluent18.0.0/src/main" -I"E:\software\ANSYS Inc\v180\fluent\fluent18.0.0/src/addon-wrapper" -I"E:\software\ANSYS Inc\v180\fluent\fluent18.0.0/src/io" -I"E:\software\ANSYS Inc\v180\fluent\fluent18.0.0/src/species" -I"E:\software\ANSYS Inc\v180\fluent\fluent18.0.0/src/pbns" -I"E:\software\ANSYS Inc\v180\fluent\fluent18.0.0/src/numerics" -I"E:\software\ANSYS Inc\v180\fluent\fluent18.0.0/src/sphysics" -I"E:\software\ANSYS Inc\v180\fluent\fluent18.0.0/src/storage" -I"E:\software\ANSYS Inc\v180\fluent\fluent18.0.0/src/mphase" -I"E:\software\ANSYS Inc\v180\fluent\fluent18.0.0/src/bc" -I"E:\software\ANSYS Inc\v180\fluent\fluent18.0.0/src/models" -I"E:\software\ANSYS Inc\v180\fluent\fluent18.0.0/src/material" -I"E:\software\ANSYS Inc\v180\fluent\fluent18.0.0/src/amg" -I"E:\software\ANSYS Inc\v180\fluent\fluent18.0.0/src/util" -I"E:\software\ANSYS Inc\v180\fluent\fluent18.0.0/src/mesh" -I"E:\software\ANSYS Inc\v180\fluent\fluent18.0.0/src/udf" -I"E:\software\ANSYS Inc\v180\fluent\fluent18.0.0/src/ht" -I"E:\software\ANSYS Inc\v180\fluent\fluent18.0.0/src/dx" -I"E:\software\ANSYS Inc\v180\fluent\fluent18.0.0/src/turbulence" -I"E:\software\ANSYS Inc\v180\fluent\fluent18.0.0/src/parallel" -I"E:\software\ANSYS Inc\v180\fluent\fluent18.0.0/src/etc" -I"E:\software\ANSYS Inc\v180\fluent\fluent18.0.0/src/ue" -I"E:\software\ANSYS Inc\v180\fluent\fluent18.0.0/src/dpm" -I"E:\software\ANSYS Inc\v180\fluent\fluent18.0.0/src/dbns" -I"E:\software\ANSYS Inc\v180\fluent\fluent18.0.0/tgrid/src" -I"E:\software\ANSYS Inc\v180\fluent\fluent18.0.0/cortex/src" -I"E:\software\ANSYS Inc\v180\fluent\fluent18.0.0/client/src" -I"E:\software\ANSYS Inc\v180\fluent\fluent18.0.0/multiport/src" -I. -DUDFCONFIG_H="<C:/Users/ASUS/AppData/Local/Temp/udfconfig-14240-node2.h>" "C:/Users/ASUS/AppData/Local/Temp/Injection.c.14240.2.c"
Error: C:/Users/ASUS/AppData/Local/Temp/Injection.c.14240.2.c: line 1: parse error."

My UDF code is DEFINE_DPM_INJECTION_INIT and i copied it from ansys help. I didn't change it at all.

Please help me.
ap.ahmad7238 is offline   Reply With Quote

Reply


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 Error - Loading Library - COMMON Problem! Help! robtheslob Fluent UDF and Scheme Programming 8 July 24, 2015 00:53
UDF for Oscillating Membrane/Diaphragm of a Synthetic Jet cuan1029 Fluent UDF and Scheme Programming 0 December 8, 2014 08:20
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 22:14
How to add a UDF to a compiled UDF library kim FLUENT 3 October 26, 2011 21:38
Adding Van der Waals force by coding UDF Long Sang FLUENT 1 June 23, 2008 07:44


All times are GMT -4. The time now is 07:54.