||March 30, 2006 04:02
using DEFINE_ADJUST to calculate source term
hi every! I want to add some calculated values as source term to species transport equation and I settle this by employing DEFINE_ADJUST to calculate the value and store it in udm ,and then retrieve it in DEFINE_SOURCE,ACCESS VIOlATION error came out,and when only use DEFINE_ADJUST to calculate the value and store it in udm without evaluating in DEFINE_SOURCE ,I can plot the conters of the udm,why I cannot use it in DEFINE_SOURCE? Any suggestions?