Yi problem
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 |
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:
|
All times are GMT -4. The time now is 10:40. |