/*********************************************************************UDF that changes the time step value for a time-dependent solution**********************************************************************/#include &quot;udf.h&quot;DEFINE_DELTAT(mydeltat,d){real time_step;real flow_time = CURRENT_TIME;if (flow_time < 0.5)time_step = 0.1;elsetime_step = 0.2;return time_step;}
共 1 个关于本帖的回复 最后回复于 2013-8-22 11:32