2. Mesh generation and discretization: Fluid simulation usually needs to generate and discretize computational domains. Mesh generation and discretization have great influence on the accuracy and computational efficiency of simulation results, so it is necessary to choose appropriate mesh generation methods and discretization strategies.
3. Selection of numerical solution methods and algorithms: The numerical methods and algorithms used in fluid simulation directly determine the simulation accuracy and calculation efficiency. For different fluid problems, it is necessary to choose appropriate numerical methods and algorithms, such as finite element method, finite difference method and finite volume method. And the corresponding numerical solution is carried out.