|
[Sponsors] |
January 11, 2012, 05:08 |
Yi problem
|
#1 |
Member
rose
Join Date: Dec 2010
Posts: 30
Rep Power: 16 |
hi all,
please i have a problem in my udf ; #include "udf.h" DEFINE_PROPERTY(conc,c,t) { real R = C_R(c,t); real YI = C_YI(c,t,1) C_UDMI(c,t,0) = YI*(R*1000); return } is interpreted sucessfully, but after running for1 one iteration it is giving Access_violation error. but juste when i add the YI without YI the udf runing normaly. thank best regards |
|
January 14, 2012, 21:50 |
|
#2 | |
Senior Member
Real Name :)
Join Date: Jan 2010
Location: United States
Posts: 192
Rep Power: 16 |
Rubis,
You're not returning any values from the function. The define property macro specifies a material/fluid property, and expects a return value. ComputerGuy Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 05:43 |
Gambit - meshing over airfoil wrapping (?) problem | JFDC | FLUENT | 1 | July 11, 2011 06:59 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 07:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 20:13 |
Is this problem well posed? | Thomas P. Abraham | Main CFD Forum | 5 | September 8, 1999 15:52 |