1 Introduction

Running is one of the most popular sports in the world. However, it has been reported that the risk of injuries to lower extremities is greater than other sports, because repeated loads are applied to lower extremities during running (Matheson et al. 1987). For this reason, running shoes should not only enhance the runner’s performance but also prevent injuries during running.

Shoes have various requirement properties, such as cushioning property, shoe stability, grip property, and breathability (Cavanagh 1980; Nishiwaki 2008). Especially in the procedure designing sole of shoes, we often focus on the cushioning property and the shoe stability. The cushioning property means absorption of the impact from the ground at the contact phase. It is evaluated using time derivative of vertical ground reaction force (for instance Gard and Konz (2004), Clarke et al. (1983), Nigg et al. (1987, 1988), and Nigg (1980)). Meanwhile, the shoe stability means suppression of excessive foot joint motions called as pronation at the mid stance phase. It is evaluated using the angle between heel and lower extremity (for instance Nigg (1980), Woensel and Cavanagh (1992), Areblad et al. (1990), and Stacoff et al. (1992)). A sole that is made of soft material has good cushioning property but may not have good shoe stability. In the case of hard material, the contrary may be true.

Apparently, the sole which consists of only one material cannot provide both good properties. Some sole designs combining different hardness materials to improve both properties were reported (Nakabe and Nishiwaki 2002; Oriwol et al. 2011). These soles have a part made of hard material on the inside from the heel to the mid foot to increase rigidity of the sole. The hard part can prevent the heel to tilt towards the heel’s region and improve the stability, while it may reduce cushioning property. However, the shape of the hard material in the heel was rectangular. We have not found any cases in which both the shoe stability and the cushioning property are improved by designing the shape of the material boundary using optimization method.

Some nonlinearities must be considered to predict mechanical properties of running shoes. It is expected that 20% or more of strain occurs in the sole during running since the ground reaction force in the vertical direction is two to three times of runner’s weight (Gard and Konz 2004; Clarke et al. 1983, Nigg et al. 1987, 1988, Nigg 1980). Because of this, one has to consider geometrical nonlinearity in predicting mechanical properties of running shoes. The soles of running shoes should therefore be made of multiple materials with strong nonlinearity such as resin foams, resins, and rubbers to satisfy the various required properties. For example, it is known that resin foams have complicated behaviors under compressive load (Gibson and Ashby 1980; Mills 2007) and must be modeled as some hyper-elastic materials. In addition to this, contact condition must be taken into account because the bottom surface of the sole contacts with the ground at different parts from the moment of the first contact until complete separation from ground.

Many methods of analyzing design sensitivity of nonlinear problems have been researched over the years and applied to a variety of design optimization problems (Kaneko and Majer 1981; Ryu et al. 1985; Cardoso and Arora 1988; Tsay and Arora 1990; Vidal et al. 1991; Vidal and Haber 1993; Hisada 1995; Yamazaki and Shibuya 1998; Yuge and Kikuchi 1995). However, these methods were applicable only to parametric or sizing optimization problems. Focusing on nonparametric shape optimization methods, Ihara et al. (1999) solved a shape optimization problem minimizing the external work of an elasto-plastic body. They evaluated the shape derivative of the cost function by the adjoint method and obtained the search vector of domain variation by the traction method (Azegami and Wu 1996; Azegami and Takeuchi 2006) (H1 gradient method for domain variation (Azegami 2016, 2017). Kim et al. (2000) presented a sensitivity analysis for shape optimization problems considering the infinitesimal elasto-plasticity with a frictional contact condition. In their work, the direct differentiation method was used to compute the displacement sensitivity, and the sensitivities of various performance measures were computed from the displacement sensitivity. In updating the shape, the authors used the so-called isoparametric mapping method (Choi and Chang 1994). Furthermore, Tanaka and Noguchi (2004) presented a shape optimization method similar to the traction method but described by a discrete form, and applied to structural designs with strong nonlinearity such as a flexible micromanipulator made of hyper-elastic material. Meanwhile, Iwai et al. (2010) presented a numerical solution to shape optimization problems of contacting elastic bodies for controlling contact pressure. They used an error norm of the contact pressure to a desired distribution as an objective cost function and evaluated its shape derivative by the adjoint method and reshaped by the traction method. In these aforementioned works, the studies conducted focus on basic problems, though they include geometrical and material nonlinearities.

In this study, we propose a shape optimization method with respect to the desired shoe stability and cushioning property for soles of running shoes. We define the indices to evaluate both properties and then formulate a shape optimization problem using the indices as cost functions. The shape derivatives of cost functions are derived theoretically. Using the shape derivatives, shape optimization can be performed based on the standard procedure of H1 gradient method (Azegami 2016).

In the following sections, we use the notation \(W^{s, \bar {p}} \left (\varOmega ; \mathbb {R} \right )\) to represent the Sobolev space for the set of functions defined in Ω that corresponds to a value of \(\mathbb {R}\) and is \(s \in \left [ 0, \infty \right ]\) times differentiable and \(\bar {p} \in \left [ 1, \infty \right ]\)-th-order Lebesgue integrable. Furthermore, \(L^{\bar {p}} \left (\varOmega ; \mathbb {R} \right )\) and \(H^{s} \left (\varOmega ; \mathbb {R} \right )\) are denoted by \(W^{0, \bar {p}} \left (\varOmega ; \mathbb {R} \right )\) and \(W^{s, 2} \left (\varOmega ; \mathbb {R} \right )\), respectively. In addition, the notation \(C^{0, \sigma } \left (\varOmega ; \mathbb {R} \right )\) is used to represent the Hölder space with a Hölder index \(\sigma \in \left (0, 1 \right ]\). In particular, \(C^{0, 1} \left (\varOmega ; \mathbb {R} \right )\) is called the Lipschitz space. With respect to a reflexive Sobolev space X, we denote its dual space by \(X^{\prime }\) and the dual product of \(\left (x, y \right ) \in X \times X^{\prime }\) by \(\left \langle x, y \right \rangle \). Specifically, \(f^{\prime } \left (\boldsymbol {x} \right ) \left [ \boldsymbol {y} \right ]\) represents the Fréchet derivative \(\left \langle f^{\prime } \left (\boldsymbol {x} \right ), \boldsymbol {y} \right \rangle \) of \(f : X \to \mathbb {R}\) at xX with respect to an arbitrary variation yX. Additionally, \(f_{\boldsymbol {x}} \left (\boldsymbol {x}, \boldsymbol {y} \right ) \left [ \boldsymbol {z} \right ]\) represents the Fréchet partial derivative. The notation ∀ means the word “for all”, and AB represents the scalar product \({\sum }_{\left (i, j \right ) \in \left \{ 1, \ldots , m \right \}^{2}} a_{ij} b_{ij}\) with respect to \(\boldsymbol {A}=\left (a_{ij} \right )_{ij}\), \(\boldsymbol {B}=\left (b_{ij} \right )_{ij} \in \mathbb {R}^{m \times m}\).

2 Sole model

Let us consider a conceptual sole model as depicted in Fig. 1. We assume that a sole of running shoes is composed of multiple hyper-elastic bodies and contacts with the ground. In this paper, Ω10 and Ω20 denote three-dimensional bounded open domains of hyper-elastic bodies initially made of soft and hard materials for the sole, Ω30 represents a domain of hyper-elastic body for the ground, and those that do not overlap with each other. Let Ω0 denote \(\bigcup _{i \in \left \{ 1, 2, 3 \right \}} {\varOmega }_{i 0}\). The domains in Fig. 1 deformed by a domain variation, which mapping is denoted as \(\boldsymbol {i} + \boldsymbol {\phi }: {\varOmega }_{0} \to \varOmega \left (\boldsymbol {\phi } \right ) = \bigcup _{i \in \left \{ 1, 2, 3 \right \}} {\varOmega }_{i} \left (\boldsymbol {\phi } \right )\) (i is the identity mapping), and by finite hyper-elastic deformation generated by the map \(\boldsymbol {i} + \boldsymbol {u}: \varOmega \left (\boldsymbol {\phi } \right ) = \varOmega \left (\boldsymbol {\phi }, \boldsymbol {0} \right ) \to \varOmega \left (\boldsymbol {\phi }, \boldsymbol {u} \right ) = \bigcup _{i \in \left \{ 1, 2, 3 \right \}} {\varOmega }_{i} \left (\boldsymbol {\phi }, \boldsymbol {u} \right )\). The precise definitions will be introduced below.

Fig. 1
figure 1

A conceptual sole model

2.1 Initial domains and boundary conditions

For the initial domains, we assume that the boundaries Ωi0 (\(i \in \left \{ 1, 2, 3 \right \}\)) of Ωi0 are at least Lipschitz continuous. The domains Ω10 and Ω20 are bonded on the boundary Γ120 = Ω10Ω20. The domains Ω20 and Ω30 are joined by the boundary \({\varGamma }_{\mathrm {M} 0} \cap {\varGamma }_{\mathrm {M}^{\ast } 0}\), where ΓM0 and \({\varGamma }_{\mathrm {M}^{\ast } 0}\) denote master and slave boundaries having possibility to contact on \(\partial {\varOmega }_{2 0} \setminus \bar {\varGamma }_{12 0}\) and Ω30, respectively. The boundary ΓD0 on \(\partial {\varOmega }_{3 0} \setminus \bar {\varGamma }_{\mathrm {M}^{\ast } 0}\) is a Dirichlet boundary on which the hyper-elastic deformation is fixed. We use the notation \({\varGamma }_{\mathrm {N} 0} = \bigcup _{i \in \left \{ 1, 2, 3 \right \}} \partial {\varOmega }_{i 0} \setminus \left (\bar {\varGamma }_{\mathrm {D} 0} \cup \bar {\varGamma }_{12 0} \right )\) for a Neumann boundary and assume that a traction force pN is applied on \({\varGamma }_{p 0} \subset \partial {\varOmega }_{1 0} \setminus \bar {\varGamma }_{12 0} \subset {\varGamma }_{\mathrm {N} 0}\) and varies with the boundary measure during domain deformation, whose definition will be given later. Moreover, \({\varGamma }_{\mathrm {U} 0} \subset \partial {\varOmega }_{1 0} \setminus \bar {\varGamma }_{12 0}\), which includes Γp0, represents the boundary to observe the deformation of sole, which will be used to define cost functions.

2.2 Domain variations

In this study, we assume that Ω0 is a variable domain. As previously stated, the varied domain is defined as

$$ \varOmega \left( \boldsymbol{\phi} \right) = \left\{ \left. \left( \boldsymbol{i} + \boldsymbol{\phi} \right) \left( \boldsymbol{x} \right) \right| \boldsymbol{x} \in {\varOmega}_{0} \right\}, $$

where ϕ represents the displacement in the domain variation. Similarly, with respect to an initial domain or boundary (⋅)0, \((\cdot ) \left (\boldsymbol {\phi } \right )\) represents \(\left \{ \left . \left (\boldsymbol {i} + \boldsymbol {\phi } \right ) \left (\boldsymbol {x} \right ) \right | \boldsymbol {x} \in (\cdot )_{0} \right \}\).

When the design variable ϕ is selected as above, the domain of the solution to a state determination problem (hyper-elastic deformation problem) varies with the domain variation. Such a situation makes it difficult to apply a general formulation of function optimization problem. Hence, we will expand the domain of ϕ from Ω0 to \(\mathbb {R}^{3}\) and assume \(\boldsymbol {\phi } : \mathbb {R}^{3} \to \mathbb {R}^{3}\). Furthermore, since we will be considering the gradient method on a Hilbert space later, a linear space and an admissible set for ϕ are defined as

$$ \begin{array}{@{}rcl@{}} {X} & =& \left\{ \left. \boldsymbol{\phi} \in H^{1} \left( \mathbb{R}^{3} ; \mathbb{R}^{3} \right) \right| \boldsymbol{\phi} = \boldsymbol{0}\right. \\ &&\left.\text{on} \ {\varGamma}_{\mathrm{C} 0}= {\varGamma}_{\mathrm{D} 0} \cup {\varGamma}_{\mathrm{U} 0} \cup {\varGamma}_{\mathrm{M} 0} \cup {\varGamma}_{\mathrm{M}^{\ast} 0} \right\}, \end{array} $$
(1)
$$ \begin{array}{@{}rcl@{}} \mathcal{D} & =& X \cap C^{0, 1} \left( \mathbb{R}^{3} ; \mathbb{R}^{3} \right) . \end{array} $$
(2)

In the definition of X, the boundary conditions for domain variation were added from the situation of the present study. The additional condition for \(\mathcal {D}\) was added to guarantee that \(\varOmega \left (\boldsymbol {\phi } \right )\) has Lipschitz regularity.

3 Hyper-elastic deformation problem

In the shape optimization problem formulated later, the solution \(\boldsymbol {u} : \varOmega \left (\boldsymbol {\phi } \right ) \to \mathbb {R}^{3}\) of hyper-elastic deformation problem will be used in cost functions. In this section, we will formulate this problem according to a standard procedure for hyper-elastic continuum.

We define a linear space and an admissible set for u as

$$ \begin{array}{@{}rcl@{}} U &=& \left\{ \left. \boldsymbol{u} \in H^{1} \left( \mathbb{R}^{3} ; \mathbb{R}^{3} \right) \right| \boldsymbol{u} = \boldsymbol{0} \ \text{on} \ {\varGamma}_{\mathrm{D} 0} \right\}, \end{array} $$
(3)
$$ \begin{array}{@{}rcl@{}} \mathcal{S} &=& U \cap W^{2, 2q_{\mathrm{R}}} \left( \mathbb{R}^{3} ; \mathbb{R}^{3} \right) \end{array} $$
(4)

for qR > 3. The additional condition for \(\mathcal {S}\) was added to guarantee the domain variation obtained by the H1 gradient method introduced later being in \(\mathcal {D}\).

As explained in Section 2, we consider that the traction pN acting on Γp0 deforms \(\varOmega \left (\boldsymbol {\phi } \right ) = \varOmega \left (\boldsymbol {\phi }, \boldsymbol {0} \right )\) as

$$ \varOmega \left( \boldsymbol{\phi}, \boldsymbol{u} \right) = \left\{ \left. \left( \boldsymbol{i} + \boldsymbol{u} \right) \left( \boldsymbol{x} \right) \right| \boldsymbol{x} \in \varOmega \left( \boldsymbol{\phi} \right) \right\}. $$

Similarly, with respect to any other domain or boundary \((\cdot ) \left (\boldsymbol {\phi } \right )\), \(\left \{ \left . \left (\boldsymbol {i} + \boldsymbol {u} \right ) \left (\boldsymbol {x} \right ) \right | \boldsymbol {x} \in (\cdot ) \left (\boldsymbol {\phi } \right ) \right \}\) is denoted as \((\cdot ) \left (\boldsymbol {\phi }, \boldsymbol {u} \right )\).

On the boundary ΓM0, having the possibility to contact with ΓS0, we define the shortest vector from \(\boldsymbol {x} \in {\varGamma }_{\mathrm {M}} \left (\boldsymbol {0}, \boldsymbol {u} \right )\) to \({\varGamma }_{\mathrm {M}^{\ast }} \left (\boldsymbol {0}, \boldsymbol {u} \right )\) by \(\boldsymbol {d} \left (\boldsymbol {u} \right ): {\varGamma }_{\mathrm {M}} \left (\boldsymbol {0}, \boldsymbol {u} \right ) \to \mathbb {R}^{3}\) and a penetration distance by

$$ g \left( \boldsymbol{u} \right) = - \boldsymbol{d} \left( \boldsymbol{u} \right) \cdot \boldsymbol{\nu} \left( \boldsymbol{u} \right) \quad \text{on} \ {\varGamma}_{\mathrm{M}} \left( \boldsymbol{0}, \boldsymbol{u} \right) , $$
(5)

where \(\boldsymbol {\nu } \left (\boldsymbol {u} \right )\) is the outward unit normal vector on \({\varGamma }_{\mathrm {M}} \left (\boldsymbol {0}, \boldsymbol {u} \right )\). We introduce a Lagrange multiplier \(p : {\varGamma }_{\mathrm {M}} \left (\boldsymbol {0}, \boldsymbol {u} \right ) \to \mathbb {R}\) to the nonpenetrating condition \(g \left (\boldsymbol {u} \right ) \le 0 \). The physical meaning of p ≥ 0 is the absolute value of contact pressure. For p, a linear space and an admissible set are defined as

$$ \begin{array}{@{}rcl@{}} P &=& H^{1} \left( \mathbb{R}^{3} ; \mathbb{R}\right), \\ \mathcal{Q} &=& P \cap W^{2, 2q_{\mathrm{R}}} \left( \mathbb{R}^{3} ; \mathbb{R} \right). \end{array} $$

A strain used in hyper-elastic deformation problem is defined according to the standard procedure. With respect to the mapping y = i + u : Ω0Ω, let the deformation gradient tensor be

$$ \boldsymbol{F} \left( \boldsymbol{u} \right) = \left( \frac{\partial y_{i}}{\partial x_{i}} \right)_{ij} = \left( \boldsymbol{\nabla} \boldsymbol{y}^{\top} \right)^{\top} = \boldsymbol{I} + \left( \boldsymbol{\nabla} \boldsymbol{u}^{\top} \right)^{\top}, $$

and the Green-Lagrange strain be

$$ \begin{array}{@{}rcl@{}} \boldsymbol{E} \left( \boldsymbol{u} \right) &=& \left( \varepsilon_{ij} \left( \boldsymbol{u} \right) \right)_{ij} = \frac{1}{2} \left( \boldsymbol{F}^{\top} \left( \boldsymbol{u} \right) \boldsymbol{F} \left( \boldsymbol{u} \right) -\boldsymbol{I} \right)\\ &=& \boldsymbol{E}_{\mathrm{L}} \left( \boldsymbol{u} \right) + \frac{1}{2} \boldsymbol{E}_{\mathrm{B}} \left( \boldsymbol{u},\boldsymbol{u} \right), \end{array} $$

where I denotes the third-order unit matrix. \(\boldsymbol {E}_{\mathrm {L}} \left (\boldsymbol {u} \right )\) and \(\boldsymbol {E}_{\mathrm {B}} \left (\boldsymbol {u}, \boldsymbol {v} \right )\) are defined as

$$ \begin{array}{@{}rcl@{}} \boldsymbol{E}_{\mathrm{L}} \left( \boldsymbol{u} \right) &=& \frac{1}{2} \left( \boldsymbol{\nabla} \boldsymbol{u}^{\top} + \left( \boldsymbol{\nabla} \boldsymbol{u}^{\top} \right)^{\top} \right), \\ \boldsymbol{E}_{\mathrm{B}} \left( \boldsymbol{u}, \boldsymbol{v} \right) &=& \frac{1}{2} \left( \boldsymbol{\nabla} \boldsymbol{u}^{\top} \left( \boldsymbol{\nabla} \boldsymbol{v}^{\top} \right)^{\top} + \boldsymbol{\nabla} \boldsymbol{v}^{\top} \left( \boldsymbol{\nabla} \boldsymbol{u}^{\top} \right)^{\top} \right). \end{array} $$

The definition of constitutive equation for hyper-elastic material is started by assuming the existence of a nonlinear elastic potential \(\pi : \mathbb {R}^{3 \times 3} \to \mathbb {R}\) which gives the second Piola-Kirchhoff stress tensor as

$$ \boldsymbol{S} \left( \boldsymbol{u} \right) = \frac{\partial \pi \left( \boldsymbol{E} \left( \boldsymbol{u} \right) \right)}{\partial \boldsymbol{E}\left( \boldsymbol{u} \right)}. $$

In this paper, we will use the Neo-Hookean model and the hyper foam model (Dassault Systèmes 2018), in which π are given as

$$ \begin{array}{@{}rcl@{}} \pi \left( \boldsymbol{E} \left( \boldsymbol{u} \right) \right) & =& e_{1} \left( i_{1} \left( \boldsymbol{u} \right) - 3 \right) + \frac{1}{e_{2}}\left( i_{3} \left( \boldsymbol{u} \right) - 1 \right)^{2} , \end{array} $$
(6)
$$ \begin{array}{@{}rcl@{}} \pi \left( \boldsymbol{E} \left( \boldsymbol{u} \right) \right) & = &\sum\limits_{i \in \left\{ 1, \ldots, n_{\mathrm{H}} \right\}} \frac{2\mu_{i}}{{k_{i}^{2}}} \left[ m_{1}^{k_{i}} \left( \boldsymbol{u} \right) + m_{2}^{k_{i}} \left( \boldsymbol{u} \right)\right.\\ && \left. + m_{3}^{k_{i}} \left( \boldsymbol{u} \right) - 3 + \frac{1}{l_{i}} \left( i_{3}^{- k_{i} l_{i}} \left( \boldsymbol{u} \right) -1 \right) \right], \end{array} $$
(7)

respectively. Here, ei, ki, li, and μi denote material parameters. nH represents the order for the hyper foam model. The first and third invariants \(i_{1} \left (\boldsymbol {u} \right )\) and \(i_{3} \left (\boldsymbol {u} \right )\) are defined by

$$ \begin{array}{@{}rcl@{}} i_{1} \left( \boldsymbol{u} \right) & =& i_{3}^{-2/3}\left( \boldsymbol{u} \right) \left( {m_{1}^{2}}\left( \boldsymbol{u} \right) + {m_{2}^{2}}\left( \boldsymbol{u} \right) + {m_{3}^{2}}\left( \boldsymbol{u} \right) \right), \\ i_{3} \left( \boldsymbol{u} \right) & =& \det \boldsymbol{F}\left( \boldsymbol{u} \right), \end{array} $$

where \(m_{1} \left (\boldsymbol {u}\right ), m_{2}\left (\boldsymbol {u}\right )\), and \(m_{3}\left (\boldsymbol {u}\right )\) are the principal values of the right Cauchy-Green deformation tensor defined by

$$ C \left( \boldsymbol{u}\right) = \boldsymbol{F}^{\top} \left( \boldsymbol{u}\right) \boldsymbol{F} \left( \boldsymbol{u}\right) = 2\boldsymbol{E}\left( \boldsymbol{u}\right) + \boldsymbol{I}. $$

The first Piola-Kirchhoff stress \(\boldsymbol {\Pi } \left (\boldsymbol {u} \right )\) and Cauchy stress \(\boldsymbol {\Sigma } \left (\boldsymbol {u} \right )\) can be obtained by \(\boldsymbol {S} \left (\boldsymbol {u} \right )\) as

$$ \begin{array}{@{}rcl@{}} \boldsymbol{\Pi} \left( \boldsymbol{u} \right) &=& \boldsymbol{F} \left( \boldsymbol{u} \right) \boldsymbol{S} \left( \boldsymbol{u} \right) = \omega \left( \boldsymbol{u} \right) \boldsymbol{\Sigma} \left( \boldsymbol{u} \right) \left( \boldsymbol{F}^{-1} \left( \boldsymbol{u} \right) \right)^{\top}, \end{array} $$
(8)
$$ \begin{array}{@{}rcl@{}} \boldsymbol{\Sigma} \left( \boldsymbol{u} \right) &=& \frac{1}{\omega \left( \boldsymbol{u} \right)} \boldsymbol{F} \left( \boldsymbol{u} \right) \boldsymbol{S} \left( \boldsymbol{u} \right) \boldsymbol{F}^{\top} \left( \boldsymbol{u} \right), \end{array} $$
(9)

where \(\omega \left (\boldsymbol {u} \right )\) represents \(\det \left | \boldsymbol {F} \left (\boldsymbol {u} \right ) \right |\).

Based on the definitions above, we formulate the hyper-elastic deformation problem of a sole including contact as follows.

Problem 1 (Hyper-elastic deformation)

For \(\boldsymbol {\phi } \in \mathcal {D}\) and a given pN having proper regularity, find \(\left (\boldsymbol {u}, p \right ) \in \mathcal {S} \times \mathcal {Q}\) such that

$$ \begin{array}{@{}rcl@{}} -\boldsymbol{\nabla}^{\top} \boldsymbol{\Pi}^{\top} \left( \boldsymbol{u} \right) & =& \boldsymbol{0}^{\top} \quad \text{in} \ \varOmega \left( \boldsymbol{\phi} \right), \end{array} $$
(10)
$$ \begin{array}{@{}rcl@{}} \boldsymbol{\Sigma} \left( \boldsymbol{u} \right) \boldsymbol{\nu} \left( \boldsymbol{u} \right) & =& \boldsymbol{p}_{\mathrm{N}} \left( \boldsymbol{u} \right) \quad \text{on} \ {\varGamma}_{p} \left( \boldsymbol{0}, \boldsymbol{u} \right), \end{array} $$
(11)
$$ \begin{array}{@{}rcl@{}} \boldsymbol{\Sigma} \left( \boldsymbol{u} \right) \boldsymbol{\nu} \left( \boldsymbol{u} \right) & =& \boldsymbol{0} \quad \text{on} \ {\varGamma}_{\mathrm{N}} \left( \boldsymbol{\phi}, \boldsymbol{u} \right) \setminus \bar{\varGamma}_{p} \left( \boldsymbol{0}, \boldsymbol{u} \right), \end{array} $$
(12)
$$ \begin{array}{@{}rcl@{}} \boldsymbol{u} & =& \boldsymbol{0} \quad \text{on} \ {\varGamma}_{\mathrm{D} 0}, \end{array} $$
(13)
$$ \begin{array}{@{}rcl@{}} \boldsymbol{\Sigma} \left( \boldsymbol{u} \right) \boldsymbol{\nu} \left( \boldsymbol{u} \right) & =& - p \boldsymbol{\nu} \left( \boldsymbol{u} \right) \\ && \qquad \text{on} \ {\varGamma}_{\mathrm{M}} \left( \boldsymbol{0}, \boldsymbol{u} \right) \cup {\varGamma}_{\mathrm{M}^{\ast}} \left( \boldsymbol{0}, \boldsymbol{u} \right), \end{array} $$
(14)
$$ \begin{array}{@{}rcl@{}} g \left( \boldsymbol{u} \right) & \le& 0, \quad p \ge 0,\quad p g \left( \boldsymbol{u} \right) = 0 \\ && \qquad \text{on} \ {\varGamma}_{\mathrm{M}} \left( \boldsymbol{0}, \boldsymbol{u} \right). \end{array} $$
(15)

Equation (15) gives the KKT (Karush-Kuhn-Tucker) conditions for the contact on \({\varGamma }_{\mathrm {M}} \left (\boldsymbol {0}, \boldsymbol {u} \right )\). \(\boldsymbol {p}_{\mathrm {N}} \left (\boldsymbol {u} \right )\) in (11) is defined as varying with the boundary measure in a domain variation, which is defined by

$$ \boldsymbol{p}_{\mathrm{N}} \mathrm{d}\gamma = \boldsymbol{p}_{\mathrm{N}} \left( \boldsymbol{u} \right) \mathrm{d}\gamma \left( \boldsymbol{u} \right), $$
(16)

where dγ and \(\mathrm {d}\gamma \left (\boldsymbol {u} \right )\) denote the respective infinitesimal boundary measures before and after deformations.

For later use, we define the Lagrange function with respect to Problem 1 as

$$ \begin{array}{@{}rcl@{}} &&\mathcal{L}_{\mathrm{P}} \left( \boldsymbol{u}, p, \boldsymbol{v} \right) \\ &=& - {\int}_{\varOmega \left( \boldsymbol{\phi}, \boldsymbol{u} \right)} \boldsymbol{S} \left( \boldsymbol{u} \right) \cdot \boldsymbol{E}^{\prime} \left( \boldsymbol{u} \right) \left[ \boldsymbol{v} \right] \mathrm{d}x \\ &&+ {\int}_{{\varGamma}_{p} \left( \boldsymbol{0}, \boldsymbol{u} \right)} \boldsymbol{p}_{\mathrm{N}} \left( \boldsymbol{u} \right) \cdot \boldsymbol{v} \left( \boldsymbol{u} \right) \mathrm{d}\gamma \left( \boldsymbol{u} \right) \\ &&+ {\int}_{{\varGamma}_{12} \left( \boldsymbol{\phi}, \boldsymbol{0} \right)} \left[ \boldsymbol{u}_{1} \cdot \left\{ \left( \boldsymbol{\Pi}^{\prime} \left( \boldsymbol{u}_{1} \right) \left[ \boldsymbol{v}_{1} \right] + \boldsymbol{\Pi}^{\prime} \left( \boldsymbol{u}_{2} \right) \left[ \boldsymbol{v}_{1} \right] \right) \boldsymbol{\nu}_{1} \right\}\right.\\ && \left. + \boldsymbol{v}_{1} \cdot \left\{ \left( \boldsymbol{\Pi} \left( \boldsymbol{u}_{1} \right) + \boldsymbol{\Pi} \left( \boldsymbol{u}_{2} \right) \right) \boldsymbol{\nu}_{1} \right\} \right] \mathrm{d}\gamma \\ &&- {\int}_{{\varGamma}_{\mathrm{M}} \left( \boldsymbol{0}, \boldsymbol{u} \right)} p \boldsymbol{\nu} \left( \boldsymbol{u} \right) \cdot \left( \boldsymbol{v}_{\mathrm{M}} \left( \boldsymbol{u} \right) - \boldsymbol{v}_{\mathrm{M}^{\ast}} \left( \boldsymbol{u} \right) \right) \mathrm{d}\gamma \left( \boldsymbol{u} \right). \end{array} $$
(17)

Here, vU was introduced as the Lagrange multiplier and ν1 is the outward unit normal to Ω10 on \({\varGamma }_{12} \left (\boldsymbol {\phi }, \boldsymbol {u} \right )\) (see Fig. 1). To obtain (17), we multiplied (10) by v, integrated it over \(\varOmega \left (\boldsymbol {\phi }, \boldsymbol {0} \right )\), and used (8) and the boundary conditions. In this process, the notations

$$ \begin{array}{@{}rcl@{}} \boldsymbol{E}^{\prime} \left( \boldsymbol{u} \right) \left[ \boldsymbol{v} \right] &=& \boldsymbol{E}_{\mathrm{L}} \left( \boldsymbol{v} \right) + \boldsymbol{E}_{\mathrm{B}} \left( \boldsymbol{u} , \boldsymbol{v} \right) = \boldsymbol{E}^{\prime \top} \left( \boldsymbol{u} \right) \left[ \boldsymbol{v} \right], \\ \boldsymbol{\Pi}^{\prime} \left( \boldsymbol{u} \right) \left[ \boldsymbol{v} \right] &=& \boldsymbol{F}^{\prime} \left[ \boldsymbol{v} \right] \boldsymbol{S} \left( \boldsymbol{u} \right) + \boldsymbol{F} \left( \boldsymbol{u} \right) \boldsymbol{S}^{\prime} \left( \boldsymbol{u} \right) \left[ \boldsymbol{v} \right], \\ &&\boldsymbol{F}^{\prime} \left[ \boldsymbol{v} \right] = \frac{\partial \boldsymbol{v}}{\partial \boldsymbol{x}^{\top}}, \\ \boldsymbol{S}^{\prime} \left( \boldsymbol{u} \right) \left[ \boldsymbol{v} \right] &=& \boldsymbol{D} \boldsymbol{E}^{\prime} \left( \boldsymbol{u} \right) \left[ \boldsymbol{v} \right] = \boldsymbol{S}^{\prime \top} \left( \boldsymbol{u} \right) \left[ \boldsymbol{v} \right], \end{array} $$

were used. The operator \(\boldsymbol {E}^{\prime } \left (\boldsymbol {u} \right ) \left [ \boldsymbol {v} \right ]\) denotes \({\sum }_{i \in \left \{ 1, 2, 3 \right \}}\left (\partial \boldsymbol {E} /\right .\)\( \left .\partial u_{i} \right ) v_{i}\). Moreover, ui and vi (\(i \in \left \{ 1, 2, \mathrm {M}, \mathrm {M}^{\ast } \right \}\)) denote the vectors u and v in \({\varOmega }_{i} \left (\boldsymbol {\phi }, \boldsymbol {0} \right )\) or on \({\varGamma }_{i} \left (\boldsymbol {0}, \boldsymbol {u} \right )\), respectively. In the right-hand side of (17), the integral on the internal boundary \({\varGamma }_{12} \left (\boldsymbol {\phi }, \boldsymbol {0} \right )\) was added to later evaluate the shape derivative on the boundary. Moreover, \(g^{\prime } \left (\boldsymbol {u} \right ) \left [ \boldsymbol {v}_{\mathrm {M}} \left (\boldsymbol {u} \right ) - \boldsymbol {v}_{\mathrm {M}^{\ast }} \left (\boldsymbol {u} \right ) \right ] = \boldsymbol {\nu } \left (\boldsymbol {u} \right ) \cdot \left (\boldsymbol {v}_{\mathrm {M}} \left (\boldsymbol {u} \right ) - \boldsymbol {v}_{\mathrm {M}^{\ast }} \left (\boldsymbol {u} \right ) \right )\) was used in the last term. Using \({\mathcal{L}}_{\mathrm {P}}\), the weak form of Problem 1 can be written as

$$ \mathcal{L}_{\mathrm{P}} \left( \boldsymbol{u}, p, \boldsymbol{v} \right) = 0 \quad \forall \boldsymbol{v} \in U, $$
(18)

combined with (15). This condition can be replaced by a variational inequality as follows. When \({\varGamma }_{\mathrm {M}} \left (\boldsymbol {0}, \boldsymbol {u} \right ) \) and \({\varGamma }_{\mathrm {M}^{\ast }} \left (\boldsymbol {0}, \boldsymbol {u} \right )\) contact-impact one another, the conditions p > 0 and \(g \left (\boldsymbol {u} \right ) = 0\) hold. To satisfy the inequality \(g \left (\boldsymbol {u} \right ) \le 0\), we require the condition

$$ \begin{array}{@{}rcl@{}} &&g^{\prime} \left( \boldsymbol{u} \right) \left[ \boldsymbol{v}_{\mathrm{M}} \left( \boldsymbol{u} \right) - \boldsymbol{v}_{\mathrm{M}^{\ast}} \left( \boldsymbol{u} \right) \right] \\ &=& \boldsymbol{\nu} \left( \boldsymbol{u} \right) \cdot \left( \boldsymbol{v}_{\mathrm{M}} \left( \boldsymbol{u} \right) - \boldsymbol{v}_{\mathrm{M}^{\ast}} \left( \boldsymbol{u} \right) \right) \le 0 \end{array} $$

to hold. Therefore, defining

$$ U_{\mathrm{C}} = \left\{ \left. \boldsymbol{u} \in U \right| g \left( \boldsymbol{u} \right) \le 0 \ \text{on} \ {\varGamma}_{\mathrm{M}} \left( \boldsymbol{u} \right) \right\}, $$
(19)

we can rewrite (18) combined with (15) to obtain the variational inequality given by

$$ \begin{array}{@{}rcl@{}} &&{\int}_{\varOmega \left( \boldsymbol{\phi}, \boldsymbol{u} \right)} \boldsymbol{S} \left( \boldsymbol{u} \right) \cdot \boldsymbol{E}^{\prime} \left( \boldsymbol{u} \right) \left[ \boldsymbol{v} \right] \mathrm{d}x \\ &&- {\int}_{{\varGamma}_{12} \left( \boldsymbol{\phi}, \boldsymbol{0} \right)} \left[ \boldsymbol{u}_{1} \cdot \left\{ \left( \boldsymbol{\Pi}^{\prime} \left( \boldsymbol{u}_{1} \right) \left[ \boldsymbol{v}_{1} \right] + \boldsymbol{\Pi}^{\prime} \left( \boldsymbol{u}_{2} \right) \left[ \boldsymbol{v}_{1} \right] \right) \boldsymbol{\nu}_{1} \right\}\right.\\ && \left. + \boldsymbol{v}_{1} \cdot \left\{ \left( \boldsymbol{\Pi} \left( \boldsymbol{u}_{1} \right) + \boldsymbol{\Pi} \left( \boldsymbol{u}_{2} \right) \right) \boldsymbol{\nu}_{1} \right\} \right] \mathrm{d}\gamma \\ &\ge& {\int}_{{\varGamma}_{p} \left( \boldsymbol{0}, \boldsymbol{u} \right)} \boldsymbol{p}_{\mathrm{N}} \left( \boldsymbol{u} \right) \cdot \boldsymbol{v} \left( \boldsymbol{u} \right) \mathrm{d}\gamma \left( \boldsymbol{u} \right) \quad \forall \boldsymbol{v} \in U_{\mathrm{C}}. \end{array} $$
(20)

4 Approximate planes for sole deformation

The objective of this paper is to improve the properties of cushioning and shoe stability. In this section, we define how to evaluate those properties. To do so, we introduce approximate planes of sole’s deformations and show the way to calculate them.

4.1 Definition of approximate planes

Figure 2 shows a solemodel, coordinate system \(\left (x_{1}, x_{2}, x_{3} \right )\)\(\in \mathbb {R}^{3}\), and one of the approximate planes of deformation at time tr with cost functions fr (\(r \in \left \{ \mathrm {S}, \mathrm {C} \right \}\)) which will be defined later.

Fig. 2
figure 2

a, b The least squares planes wr of displacement at tr (\(r \in \left \{ \mathrm {S}, \mathrm {C} \right \}\))

Before showing the definition of the planes, we will explain conventional methods to evaluate the shoe stability and cushioning property. Shoe stability is evaluated by the angle between the heel and lower extremity or between the heel and the ground at the time of minimum of ground reaction force in the foot length direction. Cushioning property, on the other hand, is evaluated using the derivative of the vertical ground reaction force at the time of the first peak of vertical ground reaction force. According to experimental researches, it is thought that these values depend on the deformation of the sole. In particular, the displacement in x3-direction on top surface of the sole is dominant.

Based on experience and information, we propose to evaluate the cushioning property and shoe stability using the parameters of the least squares approximate planes of the displacements in x3-direction at characteristic timings during running motion.

The foot pressure distribution on each timing is measured experimentally using F-Scan (Tekscan, Inc.). The results are shown in Fig. 3. Among them, we use the pressure distributions at the times tS (Fig. 3c) and tC (Fig. 3a) for shoe stability and cushioning property, respectively, for pN in the static deformation problem (Problem 1). Appropriate contact condition between the bottom surface \({\varGamma }_{\mathrm {M}} \left (\boldsymbol {0}, \boldsymbol {u} \right )\) of the sole and the ground \({\varGamma }_{\mathrm {M}^{\ast }} \left (\boldsymbol {0}, \boldsymbol {u} \right )\) is considered at each time. We will write the two displacements obtained as the solutions of Problem 1 as ur (\(r \in \left \{ \mathrm {S}, \mathrm {C} \right \}\)) and components in x3-direction as ur3.

Fig. 3
figure 3

ae Running motion (upper) and pressure distributions (lower) measured on the top surface of sole

We define the least squares approximate plane of ur3 at each time by

$$ w_{r} \left( {\alpha}_{r}, {\beta}_{r}, {\delta}_{r} \right) = {\alpha}_{r} x_{1} + {\beta}_{r} x_{2} + {\delta}_{r}, $$
(21)

for \(\left (x_{1}, x_{2} \right ) \in \mathbb {R}^{2}\). Here, αr, βr, and δr are constants to express the gradients in x1- and x2-directions and the average of sinking in x3-direction of the approximate plane of ur3, respectively. Those parameters are functions of ur. So, we express them as \({\alpha }_{r} \left (\boldsymbol {u}_{r} \right )\), \({\beta }_{r} \left (\boldsymbol {u}_{r} \right )\), and \({\delta }_{r} \left (\boldsymbol {u}_{r} \right )\), respectively.

In this study, we will use \({\alpha }_{\mathrm {S}} \left (\boldsymbol {u}_{\mathrm {S}} \right )\) and \({\delta }_{\mathrm {C}} \left (\boldsymbol {u}_{\mathrm {C}} \right )\) for cost functions with respect to shoe stability and cushioning property, respectively.

4.2 Calculation of approximate planes

The parameters αr, βr, and δr can be obtained as a solution of a least square problem between ur3 and wr. Here, the r is omitted for simplicity. We define the objective function for this problem as

$$ \begin{array}{@{}rcl@{}} f_{\mathrm{U}} \left( \alpha, \beta, \delta \right) & =& {\int}_{{\varGamma}_{\mathrm{U} 0}} \left( u_{3} - w \left( \alpha, \beta, \delta \right) \right)^{2} \mathrm{d}\gamma \\ & =& {\int}_{{\varGamma}_{\mathrm{U} 0}} \left\{{u_{3}^{2}} + \alpha^{2} {x_{1}^{2}} + \beta^{2} {x_{2}^{2}} + \delta^{2}\right.\\ && \left. - 2 u_{3} \left( \alpha x_{1} + \beta x_{2} + \delta \right)\right.\\ && \left. + 2 \alpha x_{1} \beta x_{2} + 2 c \alpha x_{1} + 2 \delta \beta x_{2}\vphantom{{u_{3}^{2}} + \alpha^{2} {x_{1}^{2}}}\right\} \mathrm{d}\gamma, \end{array} $$
(22)

where \({\varGamma }_{\mathrm {U}} \left (\boldsymbol {0}, \boldsymbol {u} \right )\) is the boundary to observe sole deformation (refer to Figs. 1 and 2). The least square problem can then be written as follows.

Problem 2 (Approximate plane)

For a given u3, find α, β and δ satisfying

$$ \min_{\left( \alpha, \beta, \delta \right) \in \mathbb{R}^{3}} f_{\mathrm{U}} \left( \alpha, \beta, \delta \right). $$

Using the stationary conditions with partial differentiations of fS by those parameters, the solution of Problem 2 can be obtained as

$$ \begin{array}{@{}rcl@{}} \alpha &=& \left. {\int}_{{\varGamma}_{\mathrm{U} 0}} x_{1} \left( u_{3} - \beta x_{2} - \delta \right) \mathrm{d}\gamma \right/ {\int}_{{\varGamma}_{\mathrm{U} 0}} {x_{1}^{2}} \ \mathrm{d}\gamma,\\ \beta &=& \left. {\int}_{{\varGamma}_{\mathrm{U} 0}} x_{2} \left( u_{3} - \alpha x_{1} - \delta \right) \mathrm{d}\gamma \right/ {\int}_{{\varGamma}_{\mathrm{U} 0}} {x_{2}^{2}} \ \mathrm{d}\gamma,\\ \delta &=& \left. {\int}_{{\varGamma}_{\mathrm{U} 0}} \left( u_{3} - \alpha x_{1} - \beta x_{2} \right) \mathrm{d}\gamma \right/ {\int}_{{\varGamma}_{\mathrm{U} 0}} \ \mathrm{d}\gamma. \end{array} $$

Solving the above system of equations, the parameters α, β, and δ of the least squares planes can be expressed as

$$ \begin{array}{@{}rcl@{}} \alpha & =& \frac{1}{\gamma} \left\{ \left( c_{0} c_{22} - {c_{2}^{2}} \right) {\int}_{{\varGamma}_{\mathrm{U} 0}} x_{1} u_{3} \mathrm{d}\gamma\right. \\ &&+ \left( c_{1} c_{2} - c_{0} c_{12} \right) {\int}_{{\varGamma}_{\mathrm{U} 0}} x_{2} u_{3} \mathrm{d}\gamma \\ && \left. + \left( c_{2} c_{12} - c_{1} c_{22} \right) {\int}_{{\varGamma}_{\mathrm{U} 0}} u_{3} \mathrm{d}\gamma \right\} \\ & =& \sum\limits_{j \in \left\{ 0, 1, 2 \right\}} \bar{a}_{j} h_{j} \left( \boldsymbol{u} \right), \end{array} $$
(23)
$$ \begin{array}{@{}rcl@{}} \beta & =& \frac{1}{\gamma} \left\{ \left( c_{1} c_{2} - c_{0} c_{12} \right) {\int}_{{\varGamma}_{\mathrm{U} 0}} x_{1} u_{3} \mathrm{d}\gamma\right.\\ &&+ \left( c_{0} c_{11} - {c_{1}^{2}} \right) {\int}_{{\varGamma}_{\mathrm{U} 0}} x_{2} u_{3} \mathrm{d}\gamma \\ &&\left. + \left( c_{1} c_{12} - c_{2} c_{11} \right) {\int}_{{\varGamma}_{\mathrm{U} 0}} u_{3} \mathrm{d}\gamma \right\} \\ & =& \sum\limits_{j \in \left\{ 0, 1, 2 \right\}} \bar{b}_{j} h_{j} \left( \boldsymbol{u} \right), \end{array} $$
(24)
$$ \begin{array}{@{}rcl@{}} \delta & =& \frac{1}{\gamma} \left\{ \left( c_{2} c_{12} - c_{1} c_{22} \right) {\int}_{{\varGamma}_{\mathrm{U} 0}} x_{1} u_{3} \mathrm{d}\gamma\right.\\ &&+ \left( c_{1} c_{12} - c_{2} c_{11} \right) {\int}_{{\varGamma}_{\mathrm{U} 0}} x_{2} u_{3} \mathrm{d}\gamma \\ && \left. + \left( c_{11} c_{22} - c_{12}^{2} \right) {\int}_{{\varGamma}_{\mathrm{U} 0}} u_{3} \mathrm{d}\gamma \right\} \\ & =& \sum\limits_{j \in \left\{ 0, 1, 2 \right\}} \bar{d}_{j} h_{j} \left( \boldsymbol{u} \right) , \end{array} $$
(25)

where

$$ \begin{array}{@{}rcl@{}} c_{0} & =& {\int}_{{\varGamma}_{\mathrm{U} 0}} \mathrm{d}\gamma, \quad c_{1} = {\int}_{{\varGamma}_{\mathrm{U} 0}} x_{1} \mathrm{d}\gamma, \\ c_{2} & =& {\int}_{{\varGamma}_{\mathrm{U} 0}} x_{2} \mathrm{d}\gamma, \quad c_{11} = {\int}_{{\varGamma}_{\mathrm{U} 0}} {x_{1}^{2}} \mathrm{d}\gamma, \\ c_{22} & =& {\int}_{{\varGamma}_{\mathrm{U} 0}} {x_{2}^{2}} \mathrm{d}\gamma, \quad c_{12} = {\int}_{{\varGamma}_{\mathrm{U} 0}} x_{1} x_{2} \mathrm{d}\gamma, \\ \gamma & =& c_{0} c_{11} c_{22} + 2 c_{1} c_{2} c_{12} - {c_{1}^{2}} c_{22} - {c_{2}^{2}} c_{11} - c_{0} c_{12}^{2} \end{array} $$

and

$$ \begin{array}{@{}rcl@{}} h_{0} \left( \boldsymbol{u} \right) & =& {\int}_{{\varGamma}_{\mathrm{U} 0}} u_{3} \mathrm{d}\gamma,\\ h_{1} \left( \boldsymbol{u} \right) & =& {\int}_{{\varGamma}_{\mathrm{U} 0}} x_{1} u_{3} \mathrm{d}\gamma,\\ h_{2} \left( \boldsymbol{u} \right) & =& {\int}_{{\varGamma}_{\mathrm{U} 0}} x_{2} u_{3} \mathrm{d}\gamma. \end{array} $$

From here, we will denote α, β, and δ of (23), (24), and (25) at time tr (\(r \in \left \{ \mathrm {S}, \mathrm {C} \right \}\)) by \(\alpha \left (\boldsymbol {u}_{r} \right )\), \(\beta \left (\boldsymbol {u}_{r} \right )\), and \(\delta \left (\boldsymbol {u}_{r} \right )\), respectively.

5 Shape optimization problem

Using the definitions given in the previous section, we will now formulate the shape optimization problem that we will examine in this section. Considering the design process of shoes, we assume that there is an ideal value δI for the cushioning property \(\delta \left (\boldsymbol {u}_{\mathrm {C}} \right )\). Therefore, we define the objective and constraint cost functions as

$$ \begin{array}{@{}rcl@{}} f_{\mathrm{S}} \left( \boldsymbol{u}_{\mathrm{S}} \right) & =& \alpha \left( \boldsymbol{u}_{\mathrm{S}} \right), \end{array} $$
(26)
$$ \begin{array}{@{}rcl@{}} f_{\mathrm{C}} \left( \boldsymbol{u}_{\mathrm{C}} \right) & =&\delta \left( \boldsymbol{u}_{\mathrm{C}} \right) - {\delta}_{\mathrm{I}}, \end{array} $$
(27)

respectively. Using these cost functions, we construct a shape optimization problem as follows.

Problem 3 (Shape optimization)

For fS and fC of (26) and (27), respectively, find \(\varOmega \left (\boldsymbol {\phi } \right )\) such that

$$ \begin{array}{@{}rcl@{}} & \underset{\left( \boldsymbol{\phi}, \boldsymbol{u}_{\mathrm{S}}, \boldsymbol{u}_{\mathrm{C}} \right) \in \mathcal{D} \times \mathcal{S}^{2}}{\min} \left\{ f_{\mathrm{S}} \left( \boldsymbol{u}_{\mathrm{S}} \right) | f_{\mathrm{C}} \left( \boldsymbol{u}_{\mathrm{C}} \right) = 0, \boldsymbol{u}_{r} (r \in \left\{ \mathrm{S}, \mathrm{C} \right\})\right.\\ & \quad \text{is the solution of Problem 1}, ~\alpha \left( \boldsymbol{u}_{r} \right), \beta \left( \boldsymbol{u}_{r} \right), ~\text{and} \\ & \quad \left. \delta \left( \boldsymbol{u}_{r} \right) \text{are calculated by (23)}, (24), \text{and} (25) \right\}. \end{array} $$

6 Shape derivatives of cost functions

In order to solve the shape optimization problem by a gradient-based method, the Fréchet derivatives of the cost functions with respect to variation of the design variable are required. We will derive them with the Lagrange multiplier method (the adjoint method). Using the Lagrange function \({\mathcal{L}}_{\mathrm {P}}\) with respect to Problem 1 defined in (17), the Lagrange function of fr (\(r \in \left \{ \mathrm {S}, \mathrm {C} \right \}\)) can be defined as

$$ \begin{array}{@{}rcl@{}} \mathcal{L}_{r} \left( \boldsymbol{\phi}, \boldsymbol{u}_{r}, p_{r}, \boldsymbol{v}_{r} \right) = f_{r} \left( \boldsymbol{u}_{r} \right) + \mathcal{L}_{\mathrm{P}} \left( \boldsymbol{\phi}, \boldsymbol{u}_{r}, p_{r}, \boldsymbol{v}_{r} \right), \end{array} $$

where vr was introduced as the Lagrange multiplier with respect to Problem 1 for fr. In the Lagrange multiplier method, the shape derivative (Fréchet derivative with respect to domain variation) of fr is given by \(\tilde {f}_{r}^{\prime } \left (\boldsymbol {\phi } \right ) \left [ \boldsymbol {\varphi } \right ]\) using the notation \(\tilde {f}_{r} \left (\boldsymbol {\phi } \right ) = f_{r} \left (\boldsymbol {u}_{r} \left (\boldsymbol {\phi } \right ) \right )\), which is referred to as the reduced cost function, and calculated via the functional \({\mathcal{L}}_{r \boldsymbol {\phi }} \left (\boldsymbol {\phi }, \boldsymbol {u}_{r}, p_{r}, \boldsymbol {v}_{r} \right ) \left [ \boldsymbol {\varphi } \right ]\).

The shape derivative of \({\mathcal{L}}_{r}\) with respect to an arbitrary variation \(\left (\boldsymbol {\varphi }, \hat {\boldsymbol {u}}, \hat {p}, \hat {\boldsymbol {v}} \right ) \in X \times U \times P \times U\) of \(\left (\boldsymbol {\phi }, \boldsymbol {u}_{r}, p_{r}, \boldsymbol {v}_{r} \right )\) can be written as

$$ \begin{array}{@{}rcl@{}} &&\mathcal{L}_{r}^{\prime} \left( \boldsymbol{\phi}, \boldsymbol{u}_{r}, p_{r}, \boldsymbol{v}_{r} \right) \left[ \boldsymbol{\varphi}, \hat{\boldsymbol{u}}, \hat{p}, \hat{\boldsymbol{v}} \right] \\ &=& \mathcal{L}_{r \boldsymbol{\phi}} \left( \boldsymbol{\phi}, \boldsymbol{u_{r}}, p_{r}, \boldsymbol{v}_{r} \right) \left[ \boldsymbol{\varphi} \right] + \mathcal{L}_{r \boldsymbol{u}_{r} p_{r}} \left( \boldsymbol{\phi}, \boldsymbol{u}_{r}, p_{r}, \boldsymbol{v}_{r} \right) \left[ \hat{\boldsymbol{u}}, \hat{p} \right] \\ &&+ \mathcal{L}_{r \boldsymbol{v}_{r}} \left( \boldsymbol{\phi}, \boldsymbol{u}_{r}, p_{r}, \boldsymbol{v}_{r} \right) \left[ \hat{\boldsymbol{v}} \right]. \end{array} $$
(28)

Here, the third term of the right-hand side of (28) becomes

$$ \mathcal{L}_{r \boldsymbol{v}} \left( \boldsymbol{\phi}, \boldsymbol{u}_{r}, p_{r}, \boldsymbol{v}_{r} \right) \left[ \hat{\boldsymbol{v}} \right] = \mathcal{L}_{\mathrm{P}} \left( \boldsymbol{\phi}, \boldsymbol{u}_{r}, p_{r}, \hat{\boldsymbol{v}} \right). $$

Then, if \(\left (\boldsymbol {u}_{r}, p_{r} \right )\) is the solution of Problem 1, this term becomes zero. The second term of the right-hand side of (28) becomes

$$ \begin{array}{@{}rcl@{}} &&\mathcal{L}_{r \boldsymbol{u}_{r} p_{r}} \left( \boldsymbol{\phi}, \boldsymbol{u}_{r}, p_{r}, \boldsymbol{v}_{r} \right) \left[ \hat{\boldsymbol{u}}, \hat{p} \right] \\ &=& - {\int}_{\varOmega \left( \boldsymbol{\phi} \right)} \left( \boldsymbol{S}^{\prime} \left( \boldsymbol{u}_{r} \right) \left[ \hat{\boldsymbol{u}} \right] \cdot \boldsymbol{E}^{\prime} \left( \boldsymbol{u}_{r} \right) \left[ \boldsymbol{v}_{r} \right]\right.\\ && \left. + \boldsymbol{S} \left( \boldsymbol{u}_{r} \right) \cdot \boldsymbol{E}_{\mathrm{B}} \left( \hat{\boldsymbol{u}}, \boldsymbol{v}_{r} \right) \right) \mathrm{d}x \\ &&- {\int}_{{\varGamma}_{\mathrm{M} +} \left( \boldsymbol{0}, \boldsymbol{u}_{r} \right)} \left( \boldsymbol{v}_{r \mathrm{M}} \left( \boldsymbol{u}_{r} \right) - \boldsymbol{v}_{r \mathrm{M}^{\ast}} \left( \boldsymbol{u}_{r} \right) \right) \\ & &\cdot \hat{p} \boldsymbol{\nu} \left( \boldsymbol{u}_{r} \right) \mathrm{d}\gamma \left( \boldsymbol{u}_{r} \right) \\ && + \left\{\begin{array}{l} {\sum}_{j \in \left\{ 0, 1, 2 \right\}} \bar{a}_{j} h_{j} \left( \hat{\boldsymbol{u}} \right) \quad (r = \mathrm{S}) \\ {\sum}_{j \in \left\{ 0, 1, 2 \right\}} \bar{d}_{j} h_{j} \left( \hat{\boldsymbol{u}} \right) \quad (r = \mathrm{C}) \end{array}\right., \end{array} $$
(29)

where we used the notation

$$ {\varGamma}_{\mathrm{M} +} \left( \boldsymbol{0}, \boldsymbol{u}_{r} \right) = \left\{ \boldsymbol{x} \in {\varGamma}_{\mathrm{M}} \left( \boldsymbol{0}, \boldsymbol{u}_{r} \right) | p \left( \boldsymbol{x} \right) > 0 \right\}, $$

and the coefficients aj and dj defined in (23) and (25). Noticing that \({\mathcal{L}}_{r \boldsymbol {u}_{r} p_{r}} = 0\), for an arbitrary \(\left (\hat {\boldsymbol {u}}, \hat {p} \right ) \in U \times P\), is the weak form of the adjoint problem below, the second term on the right-hand side of (28) becomes zero when vr is the solution of the following problem.

Problem 4 (Adjoint problem forfr)

Let ur be the solution of Problem 1 for \(\boldsymbol {\phi } \in \mathcal {D}\), find \(\boldsymbol {v}_{r} \in \mathcal {S}\) such that

$$ \begin{array}{@{}rcl@{}} -\boldsymbol{\nabla}^{\top} \boldsymbol{\Pi}^{\prime \top} \left( \boldsymbol{u}_{r} \right) \left[ \boldsymbol{v}_{r} \right] & =& \boldsymbol{0}^{\top} \quad \text{in} \ \varOmega \left( \boldsymbol{\phi} \right), \\ \boldsymbol{\Pi}^{\prime} \left( \boldsymbol{u}_{r} \right) \left[ \boldsymbol{v}_{r} \right] \boldsymbol{\nu} & =& \left\{\begin{array}{l} \left( \bar{a}_{0} + \bar{a}_{1} x_{1} + \bar{a}_{2} x_{2} \right) \nu_{3} \quad (r = \mathrm{S}) \\ \left( \bar{d}_{0} + \bar{d}_{1} x_{1} + \bar{d}_{2} x_{2} \right) \nu_{3} \quad (r = \mathrm{C}) \end{array}\right. \\ && \text{on} \ {\varGamma}_{\mathrm{U}}, \\ \boldsymbol{\Pi}^{\prime} \left( \boldsymbol{u}_{r} \right) \left[ \boldsymbol{v}_{r} \right] \boldsymbol{\nu} & =& \boldsymbol{0} \quad \text{on} \ {\varGamma}_{\mathrm{N}} \left( \boldsymbol{\phi} \right) \setminus \bar{\varGamma}_{\mathrm{U}}, \\ \boldsymbol{v}_{r} & =& \boldsymbol{0} \quad \text{on} \ {\varGamma}_{\mathrm{D} 0}, \\ \boldsymbol{v}_{\mathrm{M}} \left( \boldsymbol{u}_{r} \right) & =& \boldsymbol{v}_{\mathrm{M}^{\ast}} \left( \boldsymbol{u}_{r} \right) \quad \text{on} \ {\varGamma}_{\mathrm{M} +} \left( \boldsymbol{0}, \boldsymbol{u}_{r} \right). \end{array} $$

If \(\left (\boldsymbol {u}_{r}, p_{r} \right )\) and vr are the solutions of Problem 1 and Problem 4, using the formula for shape derivative of \({\mathcal{L}}_{r}\) (see, for instance Delfour and Zolésio (2011, equations (4.7) and (4.16)), we obtain the shape derivative of \( \tilde {f}_{r} \left (\boldsymbol {\phi } \right )\) by

$$ \begin{array}{@{}rcl@{}} \tilde{f}_{r}^{\prime} \left( \boldsymbol{\phi} \right)\! \left[ \boldsymbol{\varphi} \right] \!&=& \mathcal{L}_{r \boldsymbol{\phi}} \left( \boldsymbol{\phi}, \boldsymbol{u}_{r}, p_{r}, \boldsymbol{v}_{r} \right) \left[ \boldsymbol{\varphi} \right] = \left\langle \boldsymbol{g}_{r}, \boldsymbol{\varphi} \right\rangle \\ \!&=& {\int}_{\partial \varOmega \left( \boldsymbol{\phi} \right) \setminus \bar{\varGamma}_{\mathrm{C} 0}} \boldsymbol{g}_{r \partial \varOmega} \cdot \boldsymbol{\varphi} \ \mathrm{d}\gamma + {\int}_{{\varGamma}_{12} \left( \boldsymbol{\phi} \right)} \boldsymbol{g}_{r 12} \cdot \boldsymbol{\varphi} \mathrm{d}\gamma_{1},\\ \end{array} $$
(30)

where ΓC0 was defined in (1) and dγ1 denotes the infinitesimal boundary measure on \(\partial {\varOmega }_{1} \left (\boldsymbol {\phi }, \boldsymbol {0}_{\mathbb {R}^{3}} \right )\). Here, the shape gradient for \(\tilde {f}_{r} \left (\boldsymbol {\phi } \right )\) (\(r \in \left \{ \mathrm {S}, \mathrm {C} \right \}\)) is given by

$$ \begin{array}{@{}rcl@{}} \boldsymbol{g}_{r \partial \varOmega} & =& - \left( \boldsymbol{S} \left( \boldsymbol{u}_{r} \right) \cdot \boldsymbol{E}^{\prime} \left( \boldsymbol{u}_{r} \right) \left[ \boldsymbol{v}_{r} \right] \right) \boldsymbol{\nu}, \end{array} $$
(31)
$$ \begin{array}{@{}rcl@{}} \boldsymbol{g}_{r 12} & = &\partial_{\nu_{1}} \left[\boldsymbol{u}_{r 1} \cdot \left\{ \left( \boldsymbol{\Pi}^{\prime} \left( \boldsymbol{u}_{r 1} \right) \left[ \boldsymbol{v}_{r 1} \right] + \boldsymbol{\Pi}^{\prime} \left( \boldsymbol{u}_{r 2} \right) \left[ \boldsymbol{v}_{r 1} \right] \right) \boldsymbol{\nu}_{1} \right\}\right.\\ && \left. + \boldsymbol{v}_{r 1} \cdot \left\{ \left( \boldsymbol{\Pi} \left( \boldsymbol{u}_{r 1} \right) + \boldsymbol{\Pi} \left( \boldsymbol{u}_{r 2} \right) \right) \boldsymbol{\nu}_{r 1} \right\}\vphantom{\boldsymbol{\Pi}^{\prime}} \right] \boldsymbol{\nu}_{1}, \end{array} $$
(32)

where ν1 denotes the outward unit normal on \(\partial {\varOmega }_{1} \left (\boldsymbol {\phi }, \boldsymbol {0} \right )\) and uri (\(i \in \left \{ 1, 2 \right \}\)) and vr1 denote ur and vr on \({\varOmega }_{i} \left (\boldsymbol {\phi }, \boldsymbol {0} \right )\) and \({\varOmega }_{1} \left (\boldsymbol {\phi }, \boldsymbol {0} \right )\), respectively. In the process to obtain the result of (28) with (29) and (30), the integrals defined over the boundary \({\varGamma }_{\mathrm {C} 0} = {\varGamma }_{\mathrm {D} 0} \cup {\varGamma }_{\mathrm {U} 0} \cup {\varGamma }_{\mathrm {M} 0} \cup {\varGamma }_{\mathrm {M}^{\ast } 0}\) in (28) vanished since these boundaries are held fixed during domain deformation φX. Moreover, the terms including the mean curvature on \({\varGamma }_{12} \left (\boldsymbol {\phi }, \boldsymbol {0}_{\mathbb {R}^{3}} \right )\) also disappears due to the fact that the terms on \(\partial {\varOmega }_{1} \left (\boldsymbol {\phi }, \boldsymbol {0}_{\mathbb {R}^{3}} \right )\) and \(\partial {\varOmega }_{2} \left (\boldsymbol {\phi }, \boldsymbol {0}_{\mathbb {R}^{3}} \right )\) which have the unit normal vectors are oppositely directed.

7 Solution to shape optimization problem

Finally, we show the solution to the shape optimization problem given in Problem 3. Using the shape gradient gr (\(r \in \left \{ \mathrm {S}, \mathrm {C} \right \}\)) in (30), we can write the Lagrange function for Problem 3 and its shape derivative as

$$ \begin{array}{@{}rcl@{}} &&\mathcal{L} \left( \boldsymbol{\phi}, \boldsymbol{u}_{r}, p_{r}, \boldsymbol{v}_{r}, \boldsymbol{v}_{r} ; r \in \left\{ \mathrm{S}, \mathrm{C} \right\} \right) \\ &=& \mathcal{L}_{\mathrm{S}} \left( \boldsymbol{\phi}, \boldsymbol{u}_{\mathrm{S}}, p_{\mathrm{S}}, \boldsymbol{v}_{\mathrm{S}} \right) + \lambda_{\mathrm{C}} \mathcal{L}_{\mathrm{C}} \left( \boldsymbol{\phi}, \boldsymbol{u}_{\mathrm{C}}, p_{\mathrm{C}}, \boldsymbol{v}_{\mathrm{C}} \right), \end{array} $$
(33)
$$ \begin{array}{@{}rcl@{}} &&\mathcal{L}_{\boldsymbol{\phi}} \left( \boldsymbol{\phi}, \boldsymbol{u}_{r}, p_{r}, \boldsymbol{v}_{r}, \boldsymbol{v}_{r} ; r \in \left\{ \mathrm{S}, \mathrm{C} \right\} \right) \left[ \boldsymbol{\varphi} \right] \\ &=& \left\langle \boldsymbol{g}_{\mathrm{S}}, \boldsymbol{\varphi} \right\rangle + \lambda_{\mathrm{C}} \left\langle \boldsymbol{g}_{\mathrm{C}}, \boldsymbol{\varphi} \right\rangle \end{array} $$
(34)

with respect to an arbitrary φX. Here, \(\lambda _{\mathrm {C}} \in \mathbb {R}\) is the Lagrange multiplier for the constraint \(f_{\mathrm {C}} \left (\boldsymbol {u}_{\mathrm {C}} \right ) = 0\). The H1 gradient method of domain variation type is formulated by seeking φgrX that decreases fr with respect to iterations \(k \in \left \{0, 1, {\ldots } \right \}\) by the following methods.

Problem 5 (H1gradient method forfr)

Let \(a_{X} : {X} \times {X} \to \mathbb {R}\) be a bounded and coercive bilinear form in X, and ca be a positive constant to control the magnitude of φgr (\(r \in \left \{ \mathrm {S}, \mathrm {C} \right \}\)). For \(\boldsymbol {g}_{r} \left (\boldsymbol {\phi }_{k} \right ) \in {X}^{\prime }\), find φgrX such that

$$ c_{a} a_{X} \left( \boldsymbol{\varphi}_{g r}, \boldsymbol{\psi} \right) = - \left\langle \boldsymbol{g}_{r}, \boldsymbol{\psi} \right\rangle \quad \forall \boldsymbol{\psi} \in {X}. $$
(35)

In this paper, we use

$$ a_{X} \left( \boldsymbol{\varphi}, \boldsymbol{\psi} \right) = {\int}_{\varOmega \left( \boldsymbol{\phi} \right)} \left\{ \left( \boldsymbol{\nabla} \boldsymbol{\varphi}^{\mathrm{T}} \right) \cdot \left( \boldsymbol{\nabla} \boldsymbol{\psi}^{\mathrm{T}} \right) + c_{\varOmega} \boldsymbol{\varphi} \cdot \boldsymbol{\psi} \right\} \mathrm{d}x, $$

where cΩ is a positive constant to guarantee the coerciveness of the bilinear form aX. A simple algorithm for solving Problem 3 by the H1 gradient method is shown next.

figure a

We developed a computer program based on Algorithm 7. In the program, a commercial finite element program Abaqus 2018 (Dassault Systèmes) is used to solve state determination and adjoint problems (Problems 1 and 4). Moreover, OPTISHAPE-TS 2018 (Quint Corporation) is used to solve the boundary value problem (Problem 5) using the H1 gradient method.

Table 1 Parameters of hyper foam used in the cubic model

8 Numerical example

To confirm the solvability of the shape optimization problem (Problem 3) by the method shown in the previous section, we will show a numerical result using a cubic model. After that, a simple sole model will be used to demonstrate the validity of the presented method in the design of shoe sole such that the parameter for stability is maximized while the parameter for cushioning property keeps an ideal value.

In the following sections, we will show the necessity of considering the material nonlinearity in the analysis of the cubic model, as well as the necessity of using the contact condition in the case of a simple sole model.

8.1 Cubic model

Figure 4 shows a finite element model of a cubic body consisting of Ω1 = (0,0.05) × (0,0.05) × (0.025,0.05) [m3] and Ω2 = (0,0.05) × (0,0.05) × (0,0.025) [m3] defined in Fig. 1. The loading boundary Γp0 is assumed on the upper boundary of Ω1. The pressure distributions at the times tS and tC are assumed as follows:

$$ \begin{array}{@{}rcl@{}} \boldsymbol{p}_{\mathrm{N}} &=& \left\{\begin{array}{l} - 78 \boldsymbol{e}_{3} \text{[kPa]} \ \text{on} \ (0,0.025) \times (0,0.05) \times \{ 0.05 \} \\ \boldsymbol{0}_{\mathbb{R}^{3}} \ \text{on} \ (0.025,0.05) \times (0,0.05) \times \{ 0.05 \} \end{array}\right. \\ &&\text{at time }t_{\mathrm{S}}, \\ \boldsymbol{p}_{\mathrm{N}} & =& \left\{\begin{array}{l} - 78 \boldsymbol{e}_{3} [kPa] \ \text{on} \ (0,0.05) \!\times\! (0.025,0.05) \times \{ 0.05 \} \\ \boldsymbol{0}_{\mathbb{R}^{3}} \ \text{on} \ (0,0.05) \times (0,0.025) \times \{ 0.05 \} \end{array}\right. \\ &&\text{at time }t_{\mathrm{C}}, \end{array} $$

where e3 denotes the unit vector on x3-coordinate. The magnitude of the pressure is decided as much as equivalent to that of the actual pressure in the running motion. The material parameters used in ABAQUS are shown in Table 1 assuming that Ω1 and Ω2 are made of hyper foams. The Young’s modulus eY used in the linear elastic analysis is calculated using the material parameters in Table 1 and Poisson’s ratio νP by \(2 \left (1 + \nu _{\mathrm {P}} \right ) \left (\mu _{1} + \mu _{2} + \mu _{3} \right )\) (eY = 0.78 MPa and νP = 0.3 in Ω1, and eY = 2.60 MPa and νP = 0.3 in Ω2). The finite element model is constructed with 5304 ten-node tetrahedron elements and 8485 nodes. In this analysis, we assumed that \({\varGamma }_{\mathrm {M} 0} = {\varGamma }_{\mathrm {M}^{\ast } 0}\) is set as ΓD0 (i.e., fixed), and only the material boundary Γ120 = Ω10Ω20 varies.

Fig. 4
figure 4

A cubic model simplified sole

Figure 5 shows the optimized shapes of the cubic model. Figure 5a is the result obtained by considering the finite deformation and material nonlinearity, while (b) is the result obtained through linear elastic analysis. The iteration histories of cost functions are shown in Fig. 6. The notation fSinit represents the value of fS at the initial shape. From the graphs, it can be confirmed that both the objective cost functions fS decreased monotonically while keeping the constraint condition fC ≤ 0. However, the amount of reduction is greater in the case considering the nonlinearities than the case of linear analysis. This result demonstrates that the linear analysis cannot follow the deformation sufficiently (too stiff) and cannot extend to the range of the deformation which we consider for the shoe design.

Fig. 5
figure 5

a, b Optimized shapes of the cubic model

Fig. 6
figure 6

Iteration history of cost functions in the cubic model

For reference, we examined a finite deformation analysis using the linear material. However, we could not continue the analysis by mesh distortion. In addition, using the optimized model obtained by the linear analysis shown in Fig. 5b, we analyzed the finite deformation with the nonlinear material and obtained the cost values fS/fSinit = 0.64 and 1 + fC/δI = 1.03. From the result, it can be confirmed that the inequality constraint fC ≤ 0 is violated. This violation is unacceptable in the design region of shoes.

8.2 Sole model

A finite element model of a sole is constructed with eight-node hexahedral elements as shown in Fig. 2. The model consists of three domains colored in yellow, light blue, and gray. The domains in yellow and light blue were modeled by hyper foam with different hardness. For the domain in gray, the Neo-Hookean model was used. We assumed that Ω20 consists of the domains in light blue and gray in which the gray domain is fixed in the domain variation. The parameters of these models were identified based on experimental results. We used the foot pressure distributions as shown in Fig. 3a and c for pN. In this analysis, we assumed that the ground Ω30 is a rigid body and fixed in the domain variation, and contact condition between the bottom surface \({\varGamma }_{\mathrm {M}} \left (\boldsymbol {0}, \boldsymbol {u} \right )\) of the sole and the ground \({\varGamma }_{\mathrm {M}^{\ast } 0} = {\varGamma }_{\mathrm {D} 0}\) with friction free is considered. For contact type in Abaqus 2018, the option ‘surface-surface’ was used. In the case using a fixed condition, we assumed that \({\varGamma }_{\mathrm {M} 0} = {\varGamma }_{\mathrm {M}^{\ast } 0}\) is the fixed boundary ΓD0, and only the material boundary Γ120 = Ω10Ω20 varies.

Figure 7a shows the optimized shapes of Ω10 and Ω20 obtained by the developed program using the nonlinear material and aforementioned contact condition. In contrast, Fig. 7b shows the result in which the contact condition is changed to the fixed condition on \({\varGamma }_{\mathrm {M} 0} = {\varGamma }_{\mathrm {M}^{\ast } 0} (= {\varGamma }_{\mathrm {D} 0})\). The iteration histories of cost functions with respect to the number of reshaping are shown in Fig. 8. Here, fSinit denotes the fS at the initial shape, too. From the graphs, it can be confirmed that the objective cost function fS decreased monotonically while keeping the constraint condition fC ≤ 0. This variation means that maintaining the average sinking δI at the time tC in the contact phase, the tilt angle \(\alpha \left (\boldsymbol {u}_{\mathrm {S}} \right )\) at the time tS in the mid stance phase is minimized.

Fig. 7
figure 7

a, b Optimized sole models considering finite deformation with nonlinear material

Fig. 8
figure 8

Iteration history of cost functions in the sole model

Comparing the results between the cases with contact condition and with fixed condition, we obtained a large reduction of fS in the case with contact condition as evident in Fig. 8. A remarkable difference is found at the shape of mid top surface in \({\varOmega }_{2} \left (\boldsymbol {\phi } \right )\). In the contact case, a wavy variation in the thickness from the heel to toe is generated in the process of optimization, while only a small variation is created in the fixed case. Those differences can be considered as an effect of the contact and fixed conditions. When the contact condition is used with respect to the pressure distributions at the times tS (Fig. 3c), the bottom surface of \({\varOmega }_{2} \left (\boldsymbol {\phi } \right )\) contacts with the mid foot from the heel and does not contact at the remaining part (Fig. 9b). This loading condition makes intensely focused variation in the mid top surface in \({\varOmega }_{2} \left (\boldsymbol {\phi } \right )\). On the other hand, when the fixed condition is used, all the bottom surface supports the pressure by tensile and compressible forces which are distributed widely. As a result, it can be considered that the shape variation becomes small and the reduction of fS becomes small, too.

Fig. 9
figure 9

a, b Contacting regions

From the result that a great difference is observed between the contact and fixed conditions, it can be concluded that the contact condition is required in the design of sole.

9 Conclusion

In this paper, an optimized shape design problem for shoe sole improving the shoe stability and cushioning property was formulated using parameters of planes that approximate the deformations analyzed by the finite element method using the pressures measured during the running motion as external boundary forces. In the finite element analysis, finite deformation, nonlinear constitutive equations for hyper-elastic materials, and contact condition between the bottom of sole and the ground were taken into account. Using the approximate planes, the tilt angle in the mid stance phase and the average sinking in the contact phase were chosen as objective and constraint cost functions, respectively. The target boundaries to optimize were the bonded boundary of soft and hard materials and side boundary. Numerical results using a realistic finite element model demonstrated that the optimized shape of the formulated problem can be obtained by the presented method. Regarding the selection of the parameters for objective and constraint cost functions, we have to hear desires of running shoe developers based on evaluation by runners.