Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
#include "udf.h" DEFINE_ADJUST(my_adjust,d) { Thread *t; real p,dp; cell_t c; thread_loop_c(t,d) { begin_c_loop(c,t) { C_P(c,t) = MAX(0,C_P(c,t)); } end_c_loop(c,t) } }
对于这个程序,是否可以对整个流场的压力最小值进行调节?目前加载之后,计算出的绝对压力依旧有负值(操作压力为0),请问是怎么回事呢?