CFD Online Logo CFD Online URL
Home > Forums > FLUENT


Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   April 20, 2011, 09:15
Default Issue with DEFINE_PROPERTY UDF in 3D
Senior Member
Join Date: Apr 2009
Posts: 118
Rep Power: 10
lost.identity is on a distinguished road

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

#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;
In 2-D I have no issues with using the above UDF. However, in 3-D in the Solution Initialisation when I select "Compute from all-zones" it gives a segmentation with the following error

Stack backtrace generated for process id 13521 on signal 1 :
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.

lost.identity is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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 21:38
Uds udf issue solefire FLUENT 0 September 27, 2010 10:52
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 05:01

All times are GMT -4. The time now is 01:14.