|
[Sponsors] |
April 20, 2011, 10:15 |
Issue with DEFINE_PROPERTY UDF in 3D
|
#1 |
Senior Member
Join Date: Apr 2009
Posts: 118
Rep Power: 17 |
Hi,
I'm trying to carry out combustion simulations whereby I change the density based on a normalised temperature (progress variable). In order to do this I created the following DEFINE_PROPERTY UDF Code:
#include "udf.h" DEFINE_PROPERTY(c_density, c, t) { real rho, tao, rho_u; tao = 6.48; rho_u = 1.0261; rho = rho_u/(1.0 + tao*C_UDSI(c,t,2)); return rho; } Code:
============================================================================== Stack backtrace generated for process id 13521 on signal 1 : /usr/ansys_inc/v121/fluent/fluent12.1.2/lnamd64/3ddp/fluent.12.1.2[0x12c759d] /usr/ansys_inc/v121/fluent/fluent12.1.2/lnamd64/3ddp/fluent.12.1.2[0x12c7aa3] /lib64/libpthread.so.0[0x7f4c4c24da90] rho_c/lnamd64/3ddp/libudf.so(c_density+0x12)[0x7f4c4b1ab34e] Check the file fluenterror.log for details. Please include this information with any bug report you file on this issue! ============================================================================== Error: fluent.12.1.2 received a fatal signal (SEGMENTATION VIOLATION). Error Object: #f Here rho_c refers to my UDF, I don't understand why the problem only occurs in 3D and not in 2D. Thanks. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF issue | MASOUD | Fluent UDF and Scheme Programming | 14 | December 6, 2012 14:39 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 23:14 |
How to add a UDF to a compiled UDF library | kim | FLUENT | 3 | October 26, 2011 22:38 |
Uds udf issue | solefire | FLUENT | 0 | September 27, 2010 11:52 |
UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 05:01 |