|
[Sponsors] |
November 17, 2018, 01:56 |
Error during interpretation of UDF
|
#1 |
New Member
Djphoenix
Join Date: Oct 2018
Posts: 7
Rep Power: 8 |
Hi,
I am trying to simulate the Vortex induced vibrations of a cylinder. Geometry- 2d geometry with a rectangular domain and a circular cylinder wall. The UDF i am trying to insert: #include "udf.h" DEFINE_SDOF_PROPERTIES(sdof_props, prop, dt, time, dtime) { real cg; real k = 1*1.26*1.26; cg = DT_CG(dt)[1]; prop[SDOF_MASS] = 1; prop[SDOF_LOAD_F_Y] = -k*cg; prop[SDOF_ZERO_TRANS_X] = TRUE; prop[SDOF_ZERO_ROT_X] = TRUE; prop[SDOF_ZERO_ROT_Y] = TRUE; } 1. i tried to compile the UDF. The libudf folder was built but is unable to load the file. Error message: libudf.dl file not present. 2. Tried to interpret, error message being displayed: Line 6 structure reference not implemented. I am new to CFD. I will be thankful for any kind of help. Thanks |
|
November 17, 2018, 02:50 |
|
#2 |
New Member
Chen Sihe
Join Date: Sep 2017
Posts: 26
Rep Power: 9 |
Hi Djphx,
I am not quite sure what the problem would be like. But sometimes if you use the ANSYS workbench, the compilation of the udf would be problematic. You may need to write to a standalone case file first and then try to compile... Hope this helps. |
|
November 17, 2018, 08:31 |
Tried downloading visual studio
|
#3 |
New Member
Djphoenix
Join Date: Oct 2018
Posts: 7
Rep Power: 8 |
Fluent is unable to build the necessary files when trying to compile.
Following message being printed in console: (chdir "libudf")(chdir "win64\2ddp")'nmake' is not recognized as an internal or external command, operable program or batch file. Done. I tried installing the visual studio and running it again (as per the tutorials) but still the problem persists. I am using standalone fluent for the above. Please help. Thanks in advance. |
|
November 17, 2018, 20:24 |
|
#4 |
New Member
Chen Sihe
Join Date: Sep 2017
Posts: 26
Rep Power: 9 |
Hi Djphx,
I think the installation might not be proper. This website provides some information. https://www.cfd-online.com/Wiki/Flue...at_is_wrong.3F |
|
November 20, 2018, 00:27 |
|
#5 | |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
Quote:
best regards |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF: How to load data from an external file into a vector | EmiS | Fluent UDF and Scheme Programming | 17 | January 14, 2019 02:55 |
Help with unsteady calculation with source/sink UDF | RobV | Fluent UDF and Scheme Programming | 3 | March 10, 2016 04:45 |
udf interpretation successful but does't work | haoxin | Fluent UDF and Scheme Programming | 2 | September 24, 2013 08:25 |
Source Term UDF VS Porous Media Model | pchoopanya | Fluent UDF and Scheme Programming | 1 | August 28, 2013 07:12 |
UDF programming | fullmonty | FLUENT | 5 | June 30, 2011 03:40 |