|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Join Date: Apr 2012
Posts: 48
Rep Power: 14 ![]() |
Hello,
I purchased a student license version Ansys 14.5. I am running Fluent 14.5 in it. I am trying to load a UDF in it and when I click on Build, it says that fl6326s.exe is missing from your computer. Error code: 126 What can be done about it? |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 ![]() |
I think you have some missing dll files. What operating system are you using?
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Join Date: Apr 2012
Posts: 48
Rep Power: 14 ![]() |
Windows 7..
|
|
![]() |
![]() |
![]() |
![]() |
#4 | |
Senior Member
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 27 ![]() |
Quote:
Doesn't fl6326s.exe refer to Fluent version 6.3.26?But you have ansys 14.5...Check system variables, the problem might be there.. Daniele |
||
![]() |
![]() |
![]() |
![]() |
#5 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 ![]() |
Before installation did you check if all the pre-requisites are installed? In the very first step when you begin the installation procedure, there is an option to check and install the pre-requisites.
Last edited by vasava; May 2, 2013 at 08:01. |
|
![]() |
![]() |
![]() |
![]() |
#6 | |
Senior Member
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 27 ![]() |
Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#7 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#8 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 ![]() |
@vagaikwa: Did you install Visual Studio for UDF compilation? Also can you share your UDF here? Lets see if that part is ok.
|
|
![]() |
![]() |
![]() |
![]() |
#9 |
Member
Join Date: Apr 2012
Posts: 48
Rep Power: 14 ![]() |
Thanks for your replies guys..I have fluent 6.3.26 installed already..I guess I need to uninstall it..I moved my udf and my cas/dat file to a different location..And then I run the the fluent14.5 through SDK command prompt. But now it is giving me this error..
The UDF library you are trying to load (libudf) is not compiled for 2ddp on the current platform (win64) |
|
![]() |
![]() |
![]() |
![]() |
#10 |
Member
Join Date: Apr 2012
Posts: 48
Rep Power: 14 ![]() |
#include "udf.h"
#include "stdio.h" #include "math.h" #define lambda 0.11 #define erbc 0.45 #define mup 0.001 DEFINE_PROPERTY(cumul_viscosity,c,t) { real mu_blood,gamma,a,n,m; double s1, ko,shear_rate; gamma = C_STRAIN_RATE_MAG(c,t); /*Calculating Dimensionless shear rate*/ shear_rate = 1+pow((lambda*gamma),2); s1 = (double) log ((double) shear_rate); ko = ((double) log ((double) s1))/((double) s1); if(shear_rate>=1.5) { n = 0.8092*(pow(erbc,3))-0.8246*(pow(erbc,2))-0.3503*erbc+1; m=122.28*(pow(erbc,3))-51.213*(pow(erbc,2))+16.305*erbc+1; } /*Low shear rate*/ else { n = ko*(-0.8913*(pow(erbc,3))+2.0679*(pow(erbc,2))-1.7814*erbc)+1; m=70.782*(pow(erbc,3))-22.454*(pow(erbc,2))+9.7193*erbc+1; } a = 0.5*(n-1); /*Multiplying dimensionless shear rate by viscosity of plasma 0.001*/ mu_blood = mup*m*(pow(shear_rate,a)); return mu_blood; } Here is my udf |
|
![]() |
![]() |
![]() |
![]() |
#11 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 ![]() |
This error is because you have not setup the visual studio properly. I think you must read threads related to this issue and try to fix this.
|
|
![]() |
![]() |
![]() |
![]() |
#12 |
Senior Member
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 27 ![]() |
...and you have to recompile your udf with the system you are using; first delete the libudf folder.
Daniele |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM | Rizwan | Fluent UDF and Scheme Programming | 40 | March 18, 2018 07:05 |
UDF compiling problem in Flient 6.3 | jeevan kumar | FLUENT | 2 | February 25, 2009 01:43 |
Compiling / Loading UDF | Martijn | FLUENT | 1 | December 16, 2008 20:06 |
I have problem of UDF with turbulent premx source. | Z | FLUENT | 0 | February 16, 2005 04:34 |
UDF problem | chiseung | FLUENT | 4 | January 10, 2002 10:58 |