UDF value error when i calculate a log function
HI,
I want to calculate a log function. Here is my UDF file. (simply example.) DEFINE_PROPERTY(cell_viscosity, cell, thread) { real mu_lam; real AA; real defRateMag = C_STRAIN_RATE_MAG(cell, thread); AA = log(defRateMag); mu_lam = AA; return mu_lam; } In solution initialization step, i initialize standard and hybrid. And then, i check the properties -> Molecular Viscosity That value is 1.#Je+00 I think AA = log(defRateMag) is not calculate. Someone help me! Thanks a lot! |
All times are GMT -4. The time now is 11:59. |