Problem Loading UDF
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? |
I think you have some missing dll files. What operating system are you using?
|
Windows 7..
|
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 |
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.
|
Quote:
|
Quote:
|
@vagaikwa: Did you install Visual Studio for UDF compilation? Also can you share your UDF here? Lets see if that part is ok.
|
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) |
#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 |
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.
|
...and you have to recompile your udf with the system you are using; first delete the libudf folder.
Daniele |
All times are GMT -4. The time now is 03:02. |