![]() |
viscosity udf don't use correct temperature and strain rate
2 Attachment(s)
hello. im use udf for calculate strain rate and temperature dependent viscosity. but viscosity udf don't use correct temperature and strain rate. how to solve this problem? this is my udf
Code:
# include <udf.h> thank you best regards Rezvani |
Temp = C_T(c,t); /*0.7Tm*/
begin_c_loop(c, t) Switch these two lines. |
thank you .still udm s are wrong. how to fix udm?
|
try this code
Code:
# include <udf.h> |
hello. if dont use begin_c_loop(c, t) fluent show this error
Code:
4 1.0000e+00 4.1831e-02 1.6884e-02 1.7000e-02 3.5638e-04 0:22:44 46 thank you |
Check those UDMs that you used. Plot them, see which one is not what you expect.
|
Quote:
but udm s(temperature, stress,... ) are wrong. if i use begin_c_loop(c, t) udm s are wrong. if i dont use begin_c_loop(c, t) then give error!! thank you. best regards. |
If temperature and stress are wrong, focus on that.
You don't give me much to work with, so I can't help more. |
begin_c_loop(c, t) is already included in DEFINE_PROPERTY macro
you don't need to make additional loop over cell from your log I can see the error comes out on 4th iteration. look at domain on 3th iteration, check udms distribution, analyse all variable you have applied to model: temperature, stresses so on Quote:
in that case simulation doesn't work cause of viscosity values you've applied |
All times are GMT -4. The time now is 22:15. |