THE NUMERICAL SIMULATION OF AVIATION STRUCTURE JOINED BY FSWThis work presents a numerical simulation of aviation structure joined by friction stir welding, FSW, process. The numerical simulation of aviation structure joined by FSW was created. The simulation uses thermomechanical coupled formulation. The model required creation of finite elements representing sheets, stiffeners and welds, definition of material models and boundary conditions. The thermal model took into account heat conduction and convection assigned to appropriate elements of the structure. Time functions were applied to the description of a heat source movement. The numerical model included the stage of welding and the stage of releasing clamps. The output of the simulation are residual stresses and deformations occurring in the panel. Parameters of the global model (the panel model) were selected based on the local model (the single joint model), the experimental verification of the local model using the single joint and the geometry of the panel joints.