UDF Problem (When Using mixture_species_loop)
Hi I have a problem with UDF. When I want use mixture_species_loop an error occured: "structure reference not implemented" Even when I want interpret Manual's code this error occured.
#include "udf.h" DEFINE_PROPERTY(mass_wtd_k,c,t) { real sum = 0.; int i; Material *sp; real ktc; Property *prop; mixture_species_loop(THREAD_MATERIAL(t),sp,i) { prop = (MATERIAL_PROPERTY(sp)); ktc = generic_property(c,t,prop,PROP_ktc,C_T(c,t)); sum += C_YI(c,t,i)*ktc; } return sum; } **** Error occured in line 9 (mixture_species_loop)******** |
UDF Problem (When Using mixture_species_loop)
hi i am trying to use mass fraction weighted density for the mixture material. i used the udf given in fluent6.2 manual replacing ,thermal conductivity with density.It worked well with single phase but not with multiphase. It is showing ACCESS VIOLATION error. please help me thanks a lot
|
species index
hi everybody how to get species index? thanks
|
All times are GMT -4. The time now is 15:22. |