|
[Sponsors] |
receive fluent received a fatal signal (Segmentation fault). |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 6, 2015, 15:50 |
receive fluent received a fatal signal (Segmentation fault).
|
#1 |
New Member
Michigan
Join Date: Mar 2015
Posts: 1
Rep Power: 0 |
hi,
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; tt=C_T(c,t); strain_rate_nu=C_STRAIN_RATE_MAG(c,t); Z=strain_rate_nu*1.0e-15*exp(196835.0/8.314/tt); 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)); vis=yield_stress*1e6/3.0/strain_rate_nu; 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 ~~~~~~ |
|
March 10, 2015, 06:48 |
|
#2 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 |
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).
|
|
March 10, 2015, 09:21 |
|
#3 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
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: Code:
Z=exp(196835.0/8.314/tt+log(strain_rate_nu*1.0e-15); |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fluent15: received a fatal signal (Segmentation fault) | lcg44 | FLUENT | 4 | August 29, 2016 13:19 |
Error: received a fatal signal (Segmentation fault). | Revist | Fluent UDF and Scheme Programming | 1 | December 12, 2014 14:18 |
FLUENT received fatal signal (ACCESS_VIOLATION) | LemonPeng | FLUENT | 5 | September 3, 2013 07:42 |
FLUENT received fatal signal (ACCESS_VIOLATION) | jwt | FLUENT | 2 | July 1, 2010 09:35 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 16:16 |