|
[Sponsors] |
March 12, 2013, 05:59 |
Udf viscous resistance compiling error
|
#1 | |
New Member
Join Date: Mar 2013
Posts: 6
Rep Power: 13 |
Hello,
i have a problem with a Udf for a porous media. I have to define a time-dependant viscous resistance for a 3d volume, but when i'm going to compile the udf, fluent reports this error: Error: The UDF library you are trying to load (libudf) is not compiled for 3d on the curent platform (win64). The code is: Quote:
Thx |
||
March 12, 2013, 07:44 |
|
#2 |
Senior Member
Stuart Buckingham
Join Date: May 2010
Location: United Kingdom
Posts: 267
Rep Power: 26 |
Surely there must have been a compile error before it loaded?
Did you compile it from within Fluent? |
|
March 12, 2013, 09:54 |
|
#3 | ||
New Member
Join Date: Mar 2013
Posts: 6
Rep Power: 13 |
It builds the udf, fluent displays this messages after build:
Quote:
Quote:
i tried to interpret the udf and it works so it must be a problem of the compiler, but i don't understand what it's wrong because i can compiler other udfs. |
|||
March 12, 2013, 12:22 |
|
#4 |
New Member
Bill Wangard
Join Date: Jan 2011
Posts: 21
Rep Power: 0 |
You probably compiled the UDF against a different version than you are actually running. For example, you may have compiled 3d double precision, but started 3d single precision, or 3d serial, and you started 3d parallel.
|
|
March 13, 2013, 08:20 |
|
#5 |
New Member
Join Date: Mar 2013
Posts: 6
Rep Power: 13 |
But i compile the udf within the case, so it should be compiled in the same version of the case, or not?
|
|
March 13, 2013, 13:05 |
|
#6 |
New Member
Bill Wangard
Join Date: Jan 2011
Posts: 21
Rep Power: 0 |
Yes. You are doing it the correct way.
I am beginning to think that you are not using the 64-bit compiler. Have you ever been able to successfully able to compile any UDF, or is this the only time you've had the problem? |
|
March 14, 2013, 14:00 |
|
#7 |
New Member
Join Date: Mar 2013
Posts: 6
Rep Power: 13 |
It's the first time that i have this problem, I have compiled successfully other udf
|
|
Tags |
compiling, error, udf, viscous resistance |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
polynomial thermophysical properties II | sebastian | OpenFOAM Running, Solving & CFD | 54 | November 21, 2019 08:12 |
Pressure outlet boundary condition | rolando | OpenFOAM Running, Solving & CFD | 62 | September 18, 2017 07:45 |
[OpenFOAM] Native ParaView Reader Bugs | tj22 | ParaView | 270 | January 4, 2016 12:39 |
Compiling dynamicTopoFvMesh for OpenFOAM 2.1.x | Saxwax | OpenFOAM Installation | 25 | November 29, 2013 06:34 |
POSDAT problem | piotka | STAR-CD | 4 | June 12, 2009 09:43 |