1 Introduction

Residual stress is the stress which occurs in construction components which are not subjected to external loads. Residual stresses of the first order can arise due to a gradient in plastic deformation caused either by mechanical deformation or by the thermal gradient during cooling [14].

The possibilities of evaluating applied stresses and residual stresses of the first order on the basis of the residual magnetic field (RMF) were indicated in [511]. [58] showed the possibility of the stress state evaluation on the basis of RMF measurements. In [6] the relationships between the gradient of the RMF normal component and stress measured with the X-ray diffraction method were studied. In [5] the impact of the level and distribution of stress on the values of the RMF components was found for static tensile loads. For varying loads it was found that there was an influence of the stress amplitude and the number of cycles. L.H. Dong et al. [8] and C.L. Shi et al. [9] found a relationship between the gradient of the normal component and previously applied static tension load. S. Changliang et al. [10] report a considerable impact of the notch effect coefficient (the ratio of the max local stress at the notch under external load to the nominal stress without a notch) on the gradient of the normal component of the RMF.

This paper presents an analysis of qualitative relationships between the RMF distributions on the surface of notched samples with plastic deformations and the distributions of calculated values of residual stress. The presented results are a continuation of the research conducted with a view to determining the stress state based on magnetic parameters [3]. They extend the analysis of the relationships between residual stress of the first order and the RMF by a two-dimensional problem.

2 Experimental details

The samples were of the form of 2-mm thick flat bars made of S235 steel whose chemical composition is given in Table 1. A notch was made in the samples in the shape of a slot in the centre of the sample—variant A in Fig. 1, and a slot on the edge of the sample—variant B in Fig. 1. The relationship between plastic strain and engineering stress for S235 steel is shown in Fig. 2.

Fig. 1
figure 1

Experimental samples (variant A—notch in the centre of the width of the sample; variant B—notch at the edge of the sample)

Fig. 2
figure 2

Relationship between plastic strain and engineering stress for S235 steel

Table 1 Chemical composition of the sample material

The samples were loaded on a tensile testing machine Galdabini Sun 10P. After the desired loads were applied, the samples were unloaded and removed from the testing machine prior to being examined. The examination was always carried out at the same place and with the same position of the sample. 5 samples of each kind were analysed.

2.1 Residual magnetic field measurements

The magnetic field measurements were conducted in the “measuring area” marked in Fig. 1, with a scanning increment of 1 mm along vertical lines which were 4 mm apart from each other. The magnetometer TSC-1M-4 with the measuring sensor TSC-2M supplied by Energodiagnostika Co. Ltd. Moscow was used for the measurements. The instrument was calibrated in the magnetic field of the Earth, whose value was assumed at 40 A/m.

The measurements resulted in the values of 3 RMF components on the sample surface (Fig. 1):

  • H t,x —tangential component measured in the direction perpendicular to the applied load,

  • H t,y —tangential component measured in the direction parallel to the applied load,

  • H n,z —normal component.

The samples were not initially demagnetised; their degree of magnetisation varied slightly at the initial stage. The differences got smaller and smaller after the yield point of the material had been exceeded. The gradients of the RMF components are used to analyse the state of stress and deformation. If the initial distribution of the RMF on the surface of the sample is reasonably uniform and features a low level of RMF gradients, this indicates that there is no or very little residual stress of the first order after the manufacturing process. Example initial distributions of the gradients of the RMF components measured on the surface of the samples are shown in Figs. 3a to 3c for samples with a notch in the centre of the sample—variant A. The areas with increased values of RMF gradients which can be seen in the figures are related to the shape of the sample and the magnetic flux leakage in the vicinity of the notch.

Fig. 3
figure 3

Distributions of gradients of RMF components—initial state—variant A sample

2.2 Residual stress calculations

The residual stress values were determined by means of the finite element method (FEM). The software package Ansys 12.1 was used.

The tensile curve for steel S235 was approximated using a multilinear model Fig. 2. The material properties were assumed as isotropic. Due to the small thickness of the samples, the problem was modelled as a two-dimensional one, assuming that it was a plane stress state. The numerical model mesh, which fully corresponded to the geometry of the samples, was built on the basis of eight-node quadrangular elements.

The boundary conditions included the fixing of the model on one hand, and the application of tensile loads corresponding to the force set by the strength testing machine on the other.

The way in which the calculations were carried out made it possible to take account of the plastic strain accumulation in each subsequent cycle of the loading of the sample, i.e. the stress-strain state determined in each calculation step constituted the initial state used to determine the stress-strain state in the next step. For the needs of the performed analyses, the results were derived for the area covered by the RMF measurements—Fig. 1.

3 Results and discussion

Due to the magnetoelastic effect, mechanical stress has an influence on the energy anisotropy of magnetic domains, which most often results in changes in permeability. The direction of the anisotropy depends on magnetostriction. For materials with positive magnetostriction, the magnetic moments tend to align in parallel to the direction of tensile stress, and perpendicular to compressive stress. In materials with negative magnetostriction, opposite phenomena occur—the magnetic moments tend to align perpendicular to the direction of tensile stress, and in parallel to compressive stress [12, 13].

The impact of uniaxial stress on the domain structure can be compared to the effect of a magnetic field with strength H σ which is equivalent to the stress

$$ H_{\sigma} (\phi)=\frac{3}{2}\frac{\sigma}{\mu_{0}} \biggl( \frac{d\lambda}{dM} \biggr)_{T} \bigl(\cos^{2}\phi-\nu \sin^{2}\phi\bigr) $$
(1)

where σ is stress, λ—magnetostriction, μ 0—magnetic permeability of free space, M—magnetisation, ϕ—the angle between the stress axis and the direction of magnetic field H σ , and ν—Poisson’s ratio [1216]. Dependence (1) results from the fact that, in a certain range of the magnetic field strength H and stress σ, Villary’s effect is the inverse of Joule’s effect and in this case these effects are interrelated by a thermodynamic dependence.

$$ \frac{1}{l} \biggl(\frac{dl}{dH} \biggr)_{\sigma} = \biggl(\frac{dM}{d\sigma} \biggr)_{H} $$
(2)

In order to describe the impact of the complex stress state, the notion of equivalent stress is introduced, i.e. of a fictitious uniaxial stress whose amplitude will lead to the same change in susceptibility as real multiaxial stress [1722]. The problems related to the impact of a complex stress state on changes in magnetisation are issues whose description and modelling, due to potential application for stress measurements, are the subject of current research [1722].

The residual magnetic field of a ferromagnetic element, also known as the Self Magnetic Flux Leakage, is the sum of the simultaneous effect of the geometry of the object and of the magnetic, electrical and mechanical properties of the material of which it was made in the magnetic field of the Earth. Due to magnetomechanical coupling, the stress which occurs in the object (both active and residual) has an impact on the RMF. Assuming invariability of the object location in the magnetic field of the Earth, invariability of the Earth’s magnetic field itself (the assumption is not fully true) and lack of significant changes in geometry (there are some slight variations caused by plastic strain), the changes in the RMF of the deformed object are caused by the action of stress resulting from magnetomechanical coupling (Villary’s and Joule’s effect).

In the presented analysis, and assuming positive magnetostriction, both the negative values of residual stress σ X and the positive values of residual stress σ Y should cause an increase in tangential component H T,Y .

Representative results of the RMF measurements in the ‘measuring area” marked in Fig. 1 of samples with plastic deformations are presented in this paper. The location and dimensions of the notch in variant A and B samples are presented in Fig. 1. For variant A samples, the measuring area includes the notch; for variant B samples—the notch is beyond the area. In the immediate vicinity of the notch, the distribution of the RMF gradients depends mainly on the magnetic flux leakage caused by the discontinuity of the material. In the remaining area, the RMF distribution is the result of the impact of a certain distribution of stress and of the properties of the material (such as local changes in structure, chemical composition) which affect magnetic properties. For the one-dimensional problem, the possibility of evaluating residual stress based on the gradients of the RMF components is presented in [3]. The presented results are a supplement and continuation of [3]. In further consideration, the concept of the gradient of the RMF component will be understood as its absolute value. Figures 6a to 6i illustrate the distributions of the gradients of the RMF components representative of variant A samples which are measured after unloading for different values of active tensile stress σ understood as nominal stress in the cross-section weakened by the notch. Figures 8a to 8i are representative of variant B samples.

In the initial state, the effect of the magnetic flux leakage in the notch area dominates in the distributions of the gradients of the RMF components (example for a variant A sample in Figs. 3a to 3c). For a certain geometry, their values depend mainly on the outer magnetic field and on the magnetic permeability of the material. Due to the impact of the notch being a stress concentrator, even for slight values of active stress σ, small areas of plastic deformations appear in the area of the notch. A rise in active stress causes an increase in the size of the deformations. This results in changes in the values of the RMF components and of their gradients, which can be traced for a variant A sample for the gradient of the tangential component H T,Y from the initial state—Fig. 3b through subsequent states for the nominal active stress value σ=50 MPa—Fig. 7a, and σ=100 MPa—Fig. 7b. A rise in the values of the gradients, as well as an increase and a slight change in the shape of the area where their increased values appear, can be noticed. A rise in the values of active stress leads to the formation of a characteristic distribution of the RMF components after the sample is unloaded. An example of such a distribution for a variant A sample with a notch in the centre is shown in Figs. 4a to 4c. For a variant B sample with a notch at the edge, the distributions are presented in Figs. 5a to 5c. Further changes in stress values cause changes in the values of the gradients of the RMF components, but the configuration of isolines remains practically the same. The impact of the increase in the values of active stress σ (and of residual stress, respectively) on the gradient values and distributions can be analysed in Figs. 6a to 6i (variant A sample) and 8a to 8i (variant B sample). At a certain level of the nominal active stress value (for the samples under consideration it is about 150 MPa), due to the notch effect, the yield point is exceeded locally. Inhomogeneous deformations and residual stress of the first order appear. Characteristic gradient distributions (resulting from the geometry of the samples and from its impact on the stress distribution) are formed. The values of the gradients of the RMF components rise together with the increase in the values of residual stress.

Fig. 4
figure 4

Distributions of RMF components measured after the sample is unloaded (active tensile stress value σ=225 MPa)—variant A sample

Fig. 5
figure 5

Distributions of RMF components measured after the sample is unloaded (active tensile stress value σ=275 MPa)—variant B sample

Fig. 6
figure 6

Distributions of gradients of RMF components measured after the sample is unloaded for different values of active tensile stress σ—variant A sample

Fig. 7
figure 7

Changes in the gradient distribution of component H T,Y for slight nominal stress values σ in the cross-section weakened by the notch—variant A sample

Fig. 8
figure 8

Distributions of gradients of RMF components measured after unloading for different values of active tensile stress σ—variant B sample

The results of the FEM modelling of the residual stress components for a variant A sample are presented in Figs. 9a to 9f—components σ x and σ y , and in Fig. 11a—component τ xy . Similarly, for a variant B sample, Figs. 10a to 10f present components σ x and σ y and Fig. 11b shows component τ xy . Figures 9a to 9f and 10a to 10f illustrate the distributions of residual stress values for different levels of active tensile stress σ (σ—nominal stress in the cross-section weakened by the notch).

Fig. 9
figure 9

Distributions of residual stress after the impact of different values of active tensile stress σ—variant A sample

Fig. 10
figure 10

Distributions of residual stress components for different values of active tensile stress σ—variant B sample

Fig. 11
figure 11

Example distributions of shear residual stress τ xy after the impact of different values of active tensile stress σ for two variants of analysed samples

A significant similarity is found between the distributions of the RMF gradients and the distributions of residual stress values. For a variant A sample, the distributions of residual stress σ x (Figs. 9a, 9c, 9e) resemble a flattened X, and the residual stress distributions σ y (Figs. 9b, 9d, 9f) look like an elongated X (the centres of X are located on the centre of the notch). In the image of the gradients (especially those of the tangential components H T,Y —Figs. 6b, 6e, 6h), shapes similar to two X’s can be distinguished, which shows the impact of both σ x and σ y residual stress values. For a variant B sample, the distributions of residual stress σ x (Figs. 10a, 10c, 10e) and residual stress σ y (Figs. 9b, 9d, 9f) resemble rotated V’s, whose arms come out of the notch. In the image of the gradients, similarly to the sample with the notch in the centre, for gradients of the tangential components H T,Y —Figs. 8b, 8e, 8h—shapes that look like two V’s can be distinguished. Higher gradient values correspond to higher residual stress values.

Generally, it can be stated that there are qualitative relationships between plastic deformations and the RMF magnitude, as well as between the RMF gradients and residual stress.

4 Conclusions

It is shown that for the samples under analysis the distributions of residual stress components are reflected in the distributions of the RMF gradients. This is particularly visible for the RMF tangential component.

There are qualitative relationships between RMF gradients and residual stress of the first order. This provides a basis for further research aiming at the development of quantitative relationships, whose concept for one-dimensional problems is presented in [3] and [23]. The research will make it possible to evaluate the state of the material by means of the RMF measurements for two-dimensional problems.