UDF value error when i calculate a log function
I want to calculate a log function.
Here is my UDF file.
DEFINE_PROPERTY(cell_viscosity, cell, thread)
real defRateMag = C_STRAIN_RATE_MAG(cell, thread);
AA = log(defRateMag);
mu_lam = AA;
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 00:18.|