CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   receive fluent received a fatal signal (Segmentation fault). (

chenkaiqe March 6, 2015 14:50

receive fluent received a fatal signal (Segmentation fault).
I have a UDF as,
#include "udf.h"
#include "mem.h"
DEFINE_PROPERTY(viscosity3, c, t)

real tt,time;
real Z;
real strain_rate_nu;
real yield_stress;
real vis;


yield_stress = 188.68*log(pow(Z/6.26,1.0/5.06)+pow(pow(Z/6.26,2.0/5.06)+1.0,0.5));
return vis;

but every time when I try to use this, the fluent received a fatal signal (Segmentation fault). shows, even when I try to run it without UDF and then put it back, the errors shows up, someone can help me ~~~~~~:(:(

vasava March 10, 2015 05:48

The only reason I can think of is that you have not activated the energy equation. Because of that the simulation can not access the temperature data via C_T(c,t).

pakk March 10, 2015 08:21


Originally Posted by chenkaiqe (Post 534989)

Are you sure this equation has no typo's?

If I try a temperature of 300 Kelvin, then exp(196835.0/8.314/tt) is equal to 1.8e34. This number may be too big to hold, if you are running single precision.

If this equation is really what you want, then you might use some numerical tricks to make it numerically better:



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