|
[Sponsors] |
July 24, 2013, 20:04 |
|
#21 |
Member
^^
Join Date: Aug 2011
Posts: 70
Rep Power: 15 |
I am still getting the same error (still library error).
In your system, If you didn't get any error, please kindly inform me your system environment sush as, os, version of visual studio, sdk etc.. it may relate platform problem? my system is win64. |
|
July 24, 2013, 21:08 |
|
#22 |
Senior Member
|
No, it is not a platform problem. The reason is that
Code:
lround Add the line Code:
#define lround(x) (int)((x)+0.5) Code:
#include "udf.h" Sorry for the inconvenience. |
|
July 24, 2013, 21:30 |
|
#23 | |
Member
^^
Join Date: Aug 2011
Posts: 70
Rep Power: 15 |
Quote:
Finally I forward one step. I defined velocity inlet as udf u_profile::libudf after load your code. then I simply run it but the assigned velocity is zero at inlet surface. |
||
July 24, 2013, 21:49 |
|
#24 | |
Member
^^
Join Date: Aug 2011
Posts: 70
Rep Power: 15 |
Quote:
Then simply run it but assigned velocity is zero at the inlet surface. um..... |
||
July 24, 2013, 21:58 |
|
#25 |
Member
^^
Join Date: Aug 2011
Posts: 70
Rep Power: 15 |
Attached file is a very simple test domain which has same coordinate of the input data.
could you check it if you have time? Thanks in advance |
|
July 24, 2013, 23:13 |
|
#26 |
Senior Member
|
You can not count everything on me. It is your job after all. The data file in the source code is "voutu.txt", as you mentioned in several posts before. The file name in the zip file is "voututen.dat". The input format specifier is
Code:
fscanf(fp, "%f,",...) I am willing to help people and I understand that you want to make progress fast. But please spend sometime preparing yourself. It does not take long for you to understand the basics of c programming language. |
|
July 25, 2013, 00:02 |
|
#27 | |
Member
^^
Join Date: Aug 2011
Posts: 70
Rep Power: 15 |
Quote:
I reallly apprieciate your great support. Thanks. I always thanks your help from the begining this thread. I will let you know the result of test when i finish it. Again, I am very thank you. God Bless YOU |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Create an internal face | aylalisa | OpenFOAM Pre-Processing | 1 | June 19, 2013 13:02 |
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem | Attesz | OpenFOAM Meshing & Mesh Conversion | 12 | May 2, 2013 11:52 |
Inlet profile from 2D velocity and turbulence data | Attesz | OpenFOAM Pre-Processing | 2 | March 11, 2012 07:09 |
Map external data (heat flux in) on solid face | jerry1977 | CFX | 2 | January 31, 2012 14:32 |
Transient Inlet boundary condition - fully develop | Omer | CFX | 3 | November 28, 2006 17:22 |