A computer device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement a method for optimizing process parameters of friction stir welding with synchronous rolling, the method comprising:
- establishing a system finite element model of the friction stir welding with synchronous rolling;
- wherein the system finite element model comprises a roller finite element model, a stirring tool finite element model and a weldment finite element model, the roller finite element model and the stirring tool finite element model are arranged perpendicularly to the weldment finite element model, the roller finite element model and the stirring tool finite element model are in contact with an upper surface of a welding seam position of the weldment finite element model, and the roller finite element model and the stirring tool finite element model are arranged at intervals;
- applying a heat source model to the system finite element model to obtain a system finite element model comprising the heat source model;
- wherein the heat source model is a model equivalent to friction heat generation of a real stirring tool;
- performing a heat transfer simulation on a welding process and a cooling process of friction stir welding by using the system finite element model comprising the heat source model to obtain a temperature field result of a real weldment;
- wherein the temperature field result comprises a temperature field of the real weldment at each moment in the welding process and the cooling process;
- applying a contact relationship and a mechanical action relationship between the stirring tool finite element model and the weldment finite element model and applying a contact relationship and a mechanical action relationship between the roller finite element model and the weldment finite element model in the system finite element model to obtain a system finite element model comprising contact relationships and mechanical action relationships:
- wherein the contact relationship between the stirring tool finite element model and the weldment finite element model is a frictionless surface-to-surface contact relationship, the mechanical action relationship between the stirring tool finite element model and the weldment finite element model is to apply a vertical mechanical action force to the stirring tool finite element model, the contact relationship between the roller finite element model and the weldment finite element model is a frictional surface-to-surface contact relationship, and the mechanical action relationship between the roller finite element model and the weldment finite element model is to apply a vertical mechanical action force to the roller finite element model;
- performing a thermal-mechanical simulation on the welding process, the cooling process and a clamp release process of the friction stir welding with synchronous rolling by using the system finite element model comprising the contact relationships and the mechanical action relationships, the temperature field result as an input, so as to obtain a welding stress result and a welding deformation result of the real weldment:
- wherein the welding stress result comprises a welding stress field of the real weldment at each moment in the welding process. the cooling process and the clamp release process;
- and the welding deformation result comprises a welding deformation field of the real weldment at each moment in the welding process, the cooling process and the clamp release process;
- and
- determining whether an iteration termination condition is met:
- in response to a determination that the iteration termination condition is met. deeming process parameters used in a current iteration as optimized process parameters;
- in response to a determination that the iteration termination condition is not met, adjusting the process parameters used in the current iteration based on the welding stress result and the welding deformation result, and determining the system finite element model in a next iteration and the contact relationship and the mechanical action relationship between the roller finite element model and the weldment finite element model in the next iteration based on the process parameters adjusted, and returning to the step of “applying a contact relationship and a mechanical action relationship between the stirring tool finite element model and the weldment finite element model and applying a contact relationship and a mechanical action relationship between the roller finite element model and the weldment finite element model in the system finite element model to obtain a system finite element model comprising contact relationships and mechanical action relationships”;
- wherein the process parameters comprise a distance between the roller finite element model and the stirring tool finite element model, a magnitude of the vertical mechanical action force applied to the roller finite element model and a friction coefficient between the roller finite element model and the weldment finite element model.