how can i get the size of mesh with udf?
i'm writting a udf program to calculate the erosion rate of a workpiece. i want to get the mesh size with udf. with which macro can i get it?
Domain *d = Get_Domain(1); /* declare domain pointer since it is not passed as an argument to the DEFINE macro */
int n = 0;
begin_c_loop(c,t) /* loops over cells in a cell thread */
n += 1;
Message("grid size: %d\n", n);
|All times are GMT -4. The time now is 04:13.|