|
[Sponsors] |
January 21, 2013, 19:01 |
udf
|
#21 | ||||
Senior Member
christine
Join Date: Jul 2009
Location: europe
Posts: 125
Rep Power: 17 |
hello everyone,
I have a similar problem when trying to build my udf. My udf is calling another one, in fortran. But when I build the library I have the following error message: Quote:
I have tried this method for compiling (http://www.cfd-online.com/Forums/flu...ndows2000.html) Quote:
I launched vcvars32.bat in the C:\Programmi\Microsoft Visual Studio 10.0\VC\bin directory. Is it ok? then I had the answer " Quote:
Then I went to my directory, where I have the .cas, .c and .f and typed nmake, but I obtained: Quote:
Thank you for your help. yorelchr |
|||||
April 11, 2013, 19:21 |
|
#22 |
New Member
Nasser
Join Date: Dec 2012
Posts: 21
Rep Power: 13 |
Hi friends
my OS is win7 32bit , I need the same tutorall for win7 32 , can anybody help me ? tnx |
|
May 21, 2013, 09:15 |
|
#23 |
New Member
arough
Join Date: Mar 2013
Location: tunisia
Posts: 24
Rep Power: 13 |
Error [cortex] [time 5/21/13 12:29:14] The UDF library you are trying to load is not compiled for 3d on the curent platform (ntx86).
Le fichier spécifié est introuvable. Error [cortex] [time 5/21/13 12:33:38] FLUENT received fatal signal (ACCESS_VIOLATION) 1. Note exact events leading to error. 2. Save case/data under new name. 3. Exit program and restart to continue. 4. Report error to your distributor. Error [cortex] [time 5/21/13 12:41:38] can any one help me? |
|
May 21, 2013, 09:38 |
|
#24 |
Member
Laurent B
Join Date: Jun 2009
Location: Lille, FRANCE
Posts: 70
Rep Power: 17 |
Hi rou,
The answer is in the error message : "The UDF library you are trying to load is not compiled for 3d on the curent platform (ntx86)." Try again after having compiled the library for the right solver (3d) and platform (32 bits) |
|
May 21, 2013, 12:46 |
|
#25 |
New Member
arough
Join Date: Mar 2013
Location: tunisia
Posts: 24
Rep Power: 13 |
Hello,
I still have the some problem and I don't know what to do? a file'cortexerror.log' appear and it write "Le chemin d’accès spécifié est introuvable D:\ER\E_files\dp0\FFF\Fluent\D:\ER\E_files\dp0\FFF \Fluent\libudf\ntx86\3d\libudf.dll Error Object: #f" |
|
July 6, 2013, 09:03 |
|
#26 |
New Member
Rohit Jain
Join Date: Feb 2013
Posts: 13
Rep Power: 13 |
This works. Thank you so so much CFD Online and everyone. )))))))
|
|
August 6, 2013, 14:07 |
|
#27 |
Member
Shashank
Join Date: Apr 2011
Posts: 74
Rep Power: 15 |
Hi Laurent,
Are you trying to say that the versions of Fluent, Visual Studio and the Windows platform on my machine must be the same? Thanks, Shashank |
|
August 7, 2013, 04:23 |
|
#28 |
Member
Laurent B
Join Date: Jun 2009
Location: Lille, FRANCE
Posts: 70
Rep Power: 17 |
Not exactly, if you have compiled a library with Fluent version 32 bits in 2d mode, the library only work for Fluent version 32 bits with 2d mode. It can't work for a 64 bits version or a 3d mode.
|
|
August 7, 2013, 15:30 |
|
#29 |
Member
Shashank
Join Date: Apr 2011
Posts: 74
Rep Power: 15 |
Well, I am still not able to solve it. Do you have any suggestions or ideas on how to do so? I am running Fluent 14 on a 64-bit system and trying to compile a library in 2ddp mode.
|
|
August 20, 2013, 11:47 |
|
#30 | |
New Member
tran trung
Join Date: Aug 2013
Posts: 23
Rep Power: 13 |
Quote:
thank you verry much |
||
August 22, 2013, 04:50 |
|
#31 | |
New Member
tran trung
Join Date: Aug 2013
Posts: 23
Rep Power: 13 |
Quote:
thank you |
||
September 18, 2013, 14:05 |
Problem in compiling
|
#32 |
New Member
Join Date: Sep 2013
Posts: 1
Rep Power: 0 |
Hi
I have a same problem, I installed that programs but my UDF has not work properly yet,What should I do? Can any body help me? |
|
February 28, 2014, 05:44 |
|
#33 |
Member
Nazim
Join Date: Oct 2013
Posts: 93
Rep Power: 13 |
thanks a lot it helped me to solve the problem. one doubt do we always need to give name as working and do we need to always keep it in C folder thank you
|
|
March 14, 2014, 03:54 |
hi
|
#34 |
New Member
刘鹤
Join Date: Mar 2014
Posts: 3
Rep Power: 12 |
||
March 19, 2014, 12:08 |
|
#35 |
New Member
Subodh
Join Date: Sep 2013
Location: Canada
Posts: 25
Rep Power: 13 |
Thanks a lot it worked for me
|
|
May 5, 2014, 00:17 |
would you help me
|
#36 |
New Member
刘鹤
Join Date: Mar 2014
Posts: 3
Rep Power: 12 |
||
May 5, 2014, 00:34 |
|
#37 |
New Member
刘鹤
Join Date: Mar 2014
Posts: 3
Rep Power: 12 |
hello ,i have read the .pdf but still have a problem,when i "Starting FLUENT using the SDK 7.0 Command Prompt Window",i can not write the right Working directory(c. Change to your Working directory (directory where your .cas, dat and .c file reside)),coule you tell me how to write it correctly? thank you very much .
|
|
August 19, 2014, 12:08 |
|
#38 |
New Member
Ramin Mortezazadeh
Join Date: Jul 2013
Posts: 3
Rep Power: 13 |
Hi
I am new in UDF, I build my library when I trying to Compile My UDF to calculate the Kelvin Force on a DPM simulation, the following error appear: The UDF library you are trying to load (libudf) is not compiled for 2ddp on the current platform (win64). The system cannot find the file specified. D:\libudf\win64\2ddp\libudf.dll I try all of the recommendation but, the problem exist yet. in my opinion the problem may be from the UDF that I bring it here: #include "udf.h" #include "dpm.h" #define PI 3.141592654 #define Mu0 12.56637e-7 #define KB 1.38065e-23 #define alpha 0.04 #define I 25 DEFINE_DPM_BODY_FORCE(kelvin_force,p,i) { real bforce; real R; real U; real V; real mp; real z; real LL; real M; real HY; U=P_POS(p)[0]; V=P_POS(p)[1]+0.102 R=pow(U,2)+pow(V,2); mp=212767.59*P_DIAM(p)*P_DIAM(p)*P_DIAM(p); HY=(I/(2*(PI)))*(pow(R,-0.5)); z=(Mu0*mp*HY)/(KB*P_T(p)); LL=(1/tanh(z))-(1/z); M=mp*LL; if (i==0) { bforce = (Mu0*M)*(I/(2*PI))*(U)*(pow(R,-1.5)); return (bforce/P_MASS(p)); } else if (i==1) { bforce =(Mu0*M)*(I/(2*PI))*(V)*(pow(R,-1.5));; return (bforce/P_MASS (p)); } I'm thankful If one of you pay attention to my problem. |
|
October 23, 2014, 12:56 |
Udf
|
#39 | |
Member
Muhammed Asmail
Join Date: Nov 2009
Location: Iraq
Posts: 43
Rep Power: 16 |
Quote:
What is benefit of Microsoft visual studio for loading UDF IN fluent? |
||
October 23, 2014, 16:39 |
Microsoft Visual Studio
|
#40 |
Member
Muhammed Asmail
Join Date: Nov 2009
Location: Iraq
Posts: 43
Rep Power: 16 |
Hi everyone
Please i finished to install Microsoft visual studio but please how can i use it to load UDF? just SDK is used to load UDF or what? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh UDF | Qureshi | FLUENT | 7 | March 23, 2017 08:37 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 23:14 |
How to add a UDF to a compiled UDF library | kim | FLUENT | 3 | October 26, 2011 22:38 |
UDF...UDF...UDF...UDF | Luc SEMINEL | FLUENT | 0 | November 25, 2002 05:03 |
UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 05:01 |