|January 7, 2010, 12:19||
energy source problem
Join Date: Jul 2009
Posts: 9Rep Power: 9
I am a beginner in UDF
I need to set a energy source in a solid (W/m3)
And the energy source is temperature dependent
I got this error message:
FLUENT received fatal signal (ACCESS_VIOLATION)
1. Note exact events leading to error.
2. Save cas/data under new name.
3. Exit programme and restart to continue.
4. Report error to your distributor.
My UDF is as follow
DEFINE_SOURCE(energy_source, c, t, dS, eqn)
temp = C_W(c,t);
if (temp<293 && temp>290)
source = 1000.;
source = 0.;
pls give me some direction and suggestion.
|January 8, 2010, 04:36||
Join Date: Mar 2009
Posts: 133Rep Power: 9
C_W(c,t) will return the z-velocity which does not make too much sense for a solid. Maybe C_T(c,t) is what you actually want to use.
|Thread||Thread Starter||Forum||Replies||Last Post|
|UDF for energy source term||Muhammad Aamir Khan||FLUENT||1||July 25, 2007 02:08|
|energy source||Universtiy Paul||FLUENT||3||April 21, 2006 15:15|
|Energy Source Help!||Andrew Clark||FLUENT||1||October 24, 2005 14:39|
|UDFs for Scalar Eqn - Fluid/Solid HT||Greg Perkins||FLUENT||0||October 13, 2000 23:03|
|UDFs for Scalar Eqn - Fluid/Solid HT||Greg Perkins||FLUENT||0||October 11, 2000 03:43|