Temperature dependent on one phase problem.
Hi guys...
I am trying to fix the temperature of one phase of the mixture with this compiled UDF. However there is a segmentation fault when I use C_VOF that I really do not understand. My case has a solid domain and a fluid domain. Can anyone give me some light? Thanks. #include "udf.h" DEFINE_PROFILE(fixed_temp,t,i) { cell_t c; real temp; begin_c_loop(c,t) { temp = 300.*C_VOF(c,t); C_T(c,t) = temp; } end_c_loop(c,t) } |
All times are GMT -4. The time now is 01:21. |