The application discloses a flow field gradient determination method and device based on iterative
diffusion, equipment, medium and product, and belongs to the technical field of numerical
simulation. The method comprises the following steps: dividing a flow field region into a shock region and a smooth region; selecting prior units from the shock region and the smooth region respectively, and calculating gradient values of the prior units; marking the gradient values of the prior units as a frozen state as reference values for neighborhood
diffusion, so as to iteratively update gradient values of non-prior units; in the
diffusion process, based on the geometric relationship between the non-prior unit and each adjacent unit, the
anisotropic diffusion weight between the non-prior unit and each adjacent unit is calculated; the gradient value of the non-prior unit is iteratively updated by using the diffusion weight and the gradient value of each adjacent unit until a convergence condition is reached; and the gradient value of each unit after convergence is determined as the flow field gradient. The application can improve the accuracy and stability of gradient calculation.