I want to use UDF to modify the definition of subgrid length scale in LES model, which involves (1) judging the direction of local vortex axis (2) calculating the vector between grid vertex and grid center. I would like to ask you which macro command in UDF is needed for these two operations, or how to program them.

Thank you very much.

More Yuan Tang's questions See All
Similar questions and discussions