Topology Optimization of Pneumatic Soft Actuators Based on Porohyperelasticity Sumit Mehta, Konstantinos Poulios Abstract This paper introduces a new nonlinear topology optimization framework which employs porohyperelasticity for providing computational design of pneumatic soft actuators. Density-based topology optimization is used with the objective of maximizing the bending response in a soft actuator made of an elastomer, for given actuation pressure and external resistance. Pressurization of interconnected cavities is modeled via an extension of the Darcy flow theory that is valid for large deformations. Essential for the good performance of the framework is a carefully chosen interpolation scheme for the permeability between void and solid regions, as well as a suitable definition of a drainage term in the solid regions. Results are shown for a variety of actuation pressures and maximum allowable strain energy density levels, covering a wide range of system responses from small to rather large deformations. Keywords : pneumatic soft actuator, nonlinear topology optimization, porohyperelasticity † † ∗ Corresponding author: kopo@dtu.dk 1 Introduction Soft robots, typically made of elastomers, are fundamentally different than rigid link robots, offering distinct advantages compared to the latter. Their kinematic response upon actuation may not be as precisely controlled as in rigid robots, but their inherent adaptability to a less well-defined environment results in a more forgiving interaction with their surroundings. They are typically made of gels and elastomers [ 1 ] , which in general have a compliance comparable to biological tissue, making soft robots a particularly attractive choice for interacting with the human body. Common actuation mechanisms in soft robotics devices are pneumatic, hydraulic, piezoelectric, thermomechanical, or even purely mechanical by means of tendons/cables. Among these options, pneumatic actuation is a very attractive one due to its simplicity, but at the same time it is inherently difficult to design and optimize for. This difficulty stems from the fact that the provided gas pressure acts on structure walls, whose position and orientation change significantly upon activation. The present work focuses on the design and optimization of pneumatically activated soft actuators, especially motivated by the bright outlook on possible uses for robot-human interaction, e.g., in the medical sector. So far, due to the lack of automated approaches, the design of soft robotics actuators heavily relies on either the designer’s intuition or biomimetic techniques [ 1 , 2 , 3 ] . Inspiration from nature is certainly very useful for discovering new concepts, nevertheless, it is not sufficient for making quantitative decisions or for optimizing a certain design type. Further parameter or shape optimization is necessary to reach a concrete high-performing design [ 4 ] . Topology optimization, on the other side, spans a design space which is typically large enough to contain the solutions found in nature and, at the same time, offers a systematic fully automated process. It generates structural designs, without human intervention, by optimizing the material distribution in a given domain with respect to prescribed performance metrics, while fulfilling any imposed design constraints [ 5 ] . Significant efforts in using topology optimization for designing pneumatically activated soft robots do exist, but they either assume small strains [ 6 ] , or a fixed pressurized chamber geometry [ 7 ] . Developing a general topology optimization framework for pneumatically activated soft actuators, entails certain difficulties. The main difficulty stems from the fact that the wall surfaces of the structure, upon which the activation pressure is exerted, are a priori unknown. An early intent to solve this problem, at least in 2D, was by extracting an explicitly defined surface from the implicit, i.e., density-based, description of the structure [ 8 , 9 ] . Despite more recent improvements to this approach, such as [ 10 , 11 ] , the two main drawbacks of this approach remain. Extracting an explicit surface is relatively easy in 2D, but it becomes significantly less straightforward and less numerically robust in 3D. Moreover, the problem of detecting the connectivity between a pressure source and potentially pressurized surfaces is still left untreated by this approach. One approach that actually deals with the connectivity to the pressure source is the three-phase (solid/fluid/void) topology optimization model proposed in reference [ 12 ] , which employs a displacement-pressure mixed formulation and different interpolation functions for the bulk and shear moduli. Apart from the usual solid and void regions, this method additionally relies on an incompressible fluid region which can transfer the applied pressure to the surrounding solid, without excessive deformation in the fluid. Later, reference [ 13 ] improved on the numerical stability of the mixed finite element formulation for incompressibility. Incompressibility, however, is not really essential for transferring pressure to a solid structure. In fact, a compressible fluid like air can transfer pressure to a surrounding structure as effectively as a nearly incompressible fluid like water. The essential difference between the two in a Lagrangian numerical setting is the extent of deformations observed in the fluid region. For the case of a soft robotics actuator though, even if the actuation fluid is modeled as entirely incompressible, a quite large feedstock volume will still be necessary in order to effectuate the large deformations met in these types of applications. This would inevitably result in severe displacements within the fluid region. In order to avoid this, rather than treating the fluid as incompressible, it is advantageous from a modeling point of view, to use an expansible medium. This was basically done already in reference [ 14 ] for linearized elasticity and more recently for finite-strain elasticity in reference [ 15 ] . Both works impose a prescribed pressure in the fluid region, which in turn results in volumetric expansion to the necessary extent for reaching the imposed pressure. A further refinement of this approach, valid for large strains and supporting also self-contact by means of the third medium approach, can be found in [ 16 ] . Nevertheless, the last three references lack a general procedure for identifying whether a cavity is connected to a given pressure source. To allow for an expansible medium, unlike the incompressible condition from [ 12 ] , and at the same time track the connectivity to the pressure source, Kumar et al. [ 17 , 6 ] proposed to use poroelasticity theory, with the only limitation of the small strain assumption. According to this approach, void regions in the design domain are treated as a very permeable and extremely low volume fraction sponge, while solid regions are treated as impermeable and stiff. A mixed formulation is used with displacement and pressure fields in a coupled system of partial differential equations. The propagation of pressure in highly permeable void regions is governed by the Darcy flow equations, and is through the theory of poroelasticity coupled to the mechanical equilibrium equations. In addition to the use of standard poroelasticity, references [ 17 , 6 ] propose a drainage term in solid regions, in order to avoid leaking of pressure to neighboring cavities through solid walls, which is otherwise inevitably independent of how low the solid permeability is set. This drainage term does not have a physical world equivalent that is easy to imagine, but it is an essential component of the proposed model. The main limitation of the topology optimization framework from [ 17 , 6 ] is its small strain assumption. Although the authors have demonstrated that designs optimized using the small strain approximation, perform also well when they are post-evaluated with finite-strain simulations, the limitation is still severe because soft actuators typically exhibit very large deformations. These should certainly be accounted for during the optimization. The present work extends the aforementioned topology optimization approach from poroelasticity to porohyperelasticity, thereby extending its validity to large deformations. The proposed framework makes use of the drainage term from [ 6 ] , it adopts the mixed Lagrangian porohyperelasticity theory by [ 18 ] , and incorporates both of these models into the nonlinear topology optimization framework by [ 19 ] . Regarding the porohyperelasticity formulation in particular, a two-field continuous Galerkin model is used, based only on displacement and pressure fields. It is known that this simple two-field model might lead to oscillations across abrupt changes in permeability [ 20 ] , however, the numerical examples included in the present work demonstrate that it is sufficiently accurate despite its simplicity. Regarding the parametrization of the design, the same approach is followed as in [ 19 ] , where a level-set function is optimized, which is mapped to a density field with a diffuse solid-void boundary. RAMP interpolation is used for stiffness and a new interpolation scheme is proposed for the permeability and drainage coefficients, between void and solid. Using the HuHu void regularization from [ 19 ] turned out to be essential in order to avoid excessive mesh distortion in void regions. Moreover, a p-norm strain energy density constraint is employed in order to control the amount of allowable elastomer deformation in the pneumatic soft actuators obtained by the optimization algorithm. 2 Model foundations 2.1 Design parametrization Density-based topology optimization relies on the concept of varying material density field that determines the presence and absence of material in a fictitious design domain \Omega . The goal is to find the best material distribution for a structure by minimizing a user-defined objective function, under certain geometric and deformation constraints. There are different ways for parametrizing the material distribution in \Omega . In this work, following [ 19 , 21 ] , a level-set function field \chi\in(-\infty,\infty) is used as the primary design variable. The field \chi is then mapped to a physical density field \rho through the logistic function \rho{(\chi)}=\dfrac{1}{1+e^{-\chi}}. (1) By its definition, \rho remains between 0 to 1 in the design domain. In this parametrization, no box constraints are required to enforce these limits on \rho . Instead, a maximum slope constraint is applied on the level-set field \chi in order to enforce a minimum interface width between void and solid regions. This constraint is imposed by including the p-norm penalization term C_{i}(\chi)=\mathop{{{\int}}}_{\Omega}\dfrac{c_{i}}{6}\left\langle\left\lVert\nabla\chi\right\rVert-\dfrac{8}{L_{i}}\right\rangle^{\!6}d\Omega, (2) in the objective function, with a sufficiently large weight constant c_{i} . The Macaulay brackets notation \langle x\rangle\!=\!\max(0,x) is used for compactness. With the term C_{i}(\chi) included in the objective, the spatial gradient (slope) of the level-set field \chi will not exceed 8/L_{i} significantly. As the optimization converges towards a black-white design, the interface between solid and void will attain an approximately constant width L_{i} , in the final design. A minimum interface width L_{i} should be chosen in the order of few finite elements to ensure that the solid-void transition will not be sharper than the discretization can represent. 2.2 Porohyperelastic model As explained in the introduction, poroelasticity based topology optimization elegantly implements design dependent pressure loads, ensuring at the same time connectivity to a pressurization source [ 17 , 6 ] . The only drawback of the standard Darcy flow theory, used in the aforementioned works, is that it is limited to small deformations, which is a too strict constraint when considering soft robotics. Fortunately, a mathematically rigorous extension of poroelasticity to large deformations is readily available in the theory of porohyperelasticity, presented in detail in [ 18 ] . Among the different formulations described in [ 18 ] , the present work adopts the two-field Lagrangian formulation, with pressure and displacement fields over the undeformed domain \Omega , respectively denoted as p and \mathbf{u} . Similar to references [ 17 , 6 ] , only the steady state of the flow problem and isotropic permeability are required. Hence, any time derivatives in the porohyperelasticity model from [ 18 ] are dropped, and the permeability tensor is replaced by a scalar value. Moreover, the two-field formulation from [ 18 ] was adapted to the very common Neo-Hookean constitutive law from [ 22 ] , also used in [ 19 ] . These simplifications and adaptations lead after a few algebraic manipulations to the following weak form equations \displaystyle\mathcal{R}_{p}(\chi,p,\mathbf{u})\!\left[\delta p\right]= \displaystyle~\int_{\Omega}k(\chi)J\left(\mathbf{F}^{-1}\mathbf{F}^{-T}\nabla p\right)\!\cdot\!\nabla\delta p+\big(Q_{\mathrm{in}}\!(\mathbf{X})\left(p\!-\!p_{\mathrm{in}}\right)+Q_{\mathrm{out}}\!(\chi)\left(p\!-\!p_{\mathrm{out}}\right)\big)\delta p~d\Omega \displaystyle\!\!\!\!\!\!=0~~~\forall~\delta p, (3) \displaystyle\mathcal{R}_{\mathbf{u}}(\chi,p,\mathbf{u},\mathbf{q})[\boldsymbol{\delta}\mathbf{u}]= \displaystyle~\int_{\Omega}\left(\left(K(\chi)\ln{J}\!-\!Jp\right)\mathbf{I}+G(\chi)J^{-2/3}\,\text{dev}\!\left(\mathbf{F}\mathbf{F}^{T}\right)\right)\!:\!\left(\nabla\boldsymbol{\delta}\mathbf{u}\,\mathbf{F}^{-1}\right)+c_{r}~\mathbb{H}\mathbf{u}\vbox{\hbox{.}\hbox{.}\hbox{.}}\mathbb{H}\boldsymbol{\delta}\mathbf{u}~d\Omega \displaystyle~~+\int_{\Gamma}\mathbf{q}\cdot\boldsymbol{\delta}\mathbf{u}~d\Gamma \displaystyle\!\!\!\!\!\!=0~~~\forall~\boldsymbol{\delta}\mathbf{u}, (4) where \mathbf{F}\!=\!\mathbf{I}+\nabla\mathbf{u} is the deformation gradient for the displacement field \mathbf{u} , and J\!=\!\left|\mathbf{F}\right| . The spatially varying coefficients k(\chi) , K(\chi) , and G(\chi) are respectively, the Eulerian permeability, and the initial bulk and shear moduli of the porohyperelastic ersatz material model. Choosing suitable definitions for these three coefficients as a function of the design variable field \chi is an important modeling task discussed in the next subsection in detail. In the context of topology optimization, K(\chi) and G(\chi) are typically 6 orders of magnitude smaller in the void than in the solid, while for the permeability k(\chi) the present work will use a value in the solid which is 6 orders of magnitude smaller than in the void. The vector field \mathbf{q} appearing in Eq. ( 4 ) is a traction acting on part \Gamma of the boundary of the design domain \Omega , to be defined in more detail later. If necessary, homogeneous Dirichlet conditions can also be imposed on part of the domain boundary by restricting the solution space for fields \mathbf{u} and \delta\mathbf{u} accordingly. In addition to the terms adopted from [ 18 ] , Eqs. ( 3 ) and ( 4 ) contain three terms, multiplied with Q_{\mathrm{in}}(\mathbf{X}) , Q_{\mathrm{out}}(\chi) , and c_{r} respectively, which require some further clarifications. Source and drainage terms The coefficient Q_{\mathrm{in}} , is a fixed function of the position vector \mathbf{X} in the undeformed domain \Omega . In most of the domain it is zero, apart from a small region where a pressurization source is defined with a high pressure p_{\mathrm{in}} . A sufficiently large value of Q_{\mathrm{in}} within the pressurization source region, means that fluid volume is generated within this region until the target source pressure p_{\mathrm{in}} is approached. One could alternatively define a source at the boundary of \Omega as is the standard case in [ 18 ] , however here we prefer to define a volumetric source, because it leads to smoother flow velocities close to the source region. Similarly, the term multiplied with Q_{\mathrm{out}} corresponds to the drainage term proposed in [ 17 ] . Unlike Q_{\mathrm{in}} , the distribution of Q_{\mathrm{out}} over the domain \Omega is a priori unknown, i.e., it is design-dependent in the context of topology optimization. Following [ 17 ] , the drainage term is added to all regions occupied by solid material. A zero pressure p_{\mathrm{out}}\!=\!0 used in this term, means that fluid will vanish as soon as it reaches the solid walls of a pressurized cavity. This is an elegant solution for the problem of leaking of pressure between neighboring cavities, that was proposed and treated in detail in [ 17 ] . The exact definition of Q_{\mathrm{out}}(\chi) follows [ 17 ] and will be provided in the next subsection. Void regularization The HuHu void regularization term in Eq. ( 4 ), involving the Hessian \mathbb{H}\mathbf{u} of the displacement field and scaled with c_{r} , is known from [ 19 ] , where it was introduced in order to regularize void elements for modeling frictionless contact by the third medium approach. It turns out that the same approach is very useful for regularizing the deformation of the extremely high porosity void in the proposed porohyperelastic formulation. The regularization term, corresponds to the higher-order strain energy density \frac{1}{2}\,c_{r}\,\mathbb{H}\mathbf{u}\vbox{\hbox{.}\hbox{.}\hbox{.}}\mathbb{H}\mathbf{u} , added to the hyperelastic potential. However, a deliberate exploitation of notation should be pointed out. After discretization of the displacements field with standard Lagrange elements, the term c_{r}\,\mathbb{H}\mathbf{u}\vbox{\hbox{.}\hbox{.}\hbox{.}}\mathbb{H}\boldsymbol{\delta}\mathbf{u} is not resolved consistently anymore, due to lack of C¹ continuity in the \mathbf{u} field. In that sense, the method should not be considered as a regularization of the void continuum, but a regularization of the finite elements in the void region. Following [ 19 ] , a value of c_{r}\!=\!10^{-6}L^{2}K_{\mathrm{s}} is used throughout this work, where L is a characteristic dimension of the domain introduced later, and K_{\mathrm{s}}\!=\!K(\infty) is the initial bulk modulus in the solid. Due to the relatively small value of the c_{r} constant, the effect of the respective term is insignificant in the solid regions where the terms involving the stiffness parameters K and G become dominant. 2.3 Material interpolation scheme Essential for the topology optimization model is the definition of the ersatz material properties k(\chi) , K(\chi) , and G(\chi) , as well as the drainage term Q_{\mathrm{out}}(\chi) , as a function of the design field variable \chi . For the stiffness parameters K(\chi) and G(\chi) , the present work uses the standard RAMP interpolation scheme [ 23 , 19 ] , so that \begin{Bmatrix}K(\chi)\\ G(\chi)\end{Bmatrix}=\begin{Bmatrix}K_{\mathrm{s}}\\ G_{\mathrm{s}}\end{Bmatrix}\left(\mathcal{E}_{0}+(1-\mathcal{E}_{0})\dfrac{\rho(\chi)}{1+\hat{p}(1-\rho(\chi))}\right), (5) where K_{\mathrm{s}} and G_{\mathrm{s}} are the initial bulk and shear moduli in the solid, \hat{p} is the RAMP penalization parameter, and \mathcal{E}_{0} is the small positive void-to-solid stiffness contrast value. The rather common values, \mathcal{E}_{0}\!=\!10^{-6} and \hat{p}\!=\!3 are used in all numerical examples throughout the present work. The RAMP interpolation is illustrated in Figure 1 as a function of the level-set value \chi by means of the green color curve. For the permeability parameter k(\chi) , in units of length 4 \times force -1 \times time -1 , the following interpolation between a large void permeability k_{\mathrm{v}} and a tiny solid permeability k_{\mathrm{s}} is used, k(\chi)=k_{\mathrm{v}}+(k_{\mathrm{s}}-k_{\mathrm{v}})\,\rho\!\left(\chi+\dfrac{8}{L_{i}}\ell_{k}\right). (6) As illustrated in Figure 1 , offsetting the level-set value with 8\ell_{k}/L_{i} shifts the permeability transition by \ell_{k} length units into the void, i.e., \ell_{k} can be interpreted as a dilation dimension. The choice of this new parameter \ell_{k} is crucial for an accurate modeling of the design-dependent pressure load. Parametric studies have shown that the choice k_{\mathrm{s}}=10^{-6}k_{\mathrm{v}}~~~\text{and}~~~\ell_{k}=L_{i}, (7) results in the pressure drop from the void into the solid occurring approximately at the conventional void-solid interface contour for \rho\!=\!0.5 . These values for the permeability contrast of 10^{-6} and the permeability dilation equal to L_{i} are used for all examples in the present work. Changing the permeability contrast would require adapting \ell_{k} as well, i.e., these two parameters cannot be defined independently. Void Solid [formula] [formula] [formula] [formula] [formula] [formula] [formula] [formula] Figure 1: Material interpolation for the density \rho(\chi) , stiffness parameters K(\chi),G(\chi) , permeability k(\chi) , and drainage term Q_{\mathrm{out}}(\chi) as a function of the level-set variable \chi . A rather simple choice is made for the drainage term function Q_{\mathrm{out}}(\chi) . As shown in Figure 1 , Q_{\mathrm{out}} has been made proportional to the density \rho(\chi) . Its scaling with a constant Q_{s} follows [ 17 ] , leading to the definition Q_{\mathrm{out}}(\chi)=\underbrace{\left(\dfrac{-\ln(0.1)}{L_{p0.1}}\right)^{2}k_{\mathrm{s}}}_{\displaystyle Q_{s}}~\rho\left(\chi\right), (8) where L_{p0.1} is a length parameter, which corresponds to a penetration depth into the solid material. From the definition of Q_{s} in Eq. ( 8 ) follows that the quantities Q_{\mathrm{out}} and Q_{s} have units in length 2 \times force -1 \times time -1 . The penetration depth L_{p0.1} is defined as the distance from the pressurized surface of the solid to the point where the pressure has dropped to 10% of the external pressure. The choice of this parameter is essential for the performance of the model. A too large value will lead to a slow decrease of the pressure from the surface into the solid, and in the case of a thin walled structure this can even lead to pressure leakage. On the contrary, a too small value will lead to a transition which is too sharp to capture with a certain discretization. Reference [ 17 ] recommends a large penetration depth equal to the size of two finite elements. In the present work we define this depth as a fraction of the minimum interface width L_{i} , in particular L_{p0.1}=0.02\,L_{i}. This is normally considerably smaller than an element size. Results are not as sensitive to this parameter as for the parameters k_{s} amd \ell_{k} discussed above, but higher L_{p0.1} values than this recommendation will shift the pressure transition slightly towards the interior of the solid. 2.4 Strain energy density constraint The strain energy density for the Neo-Hookean material from Eq. ( 4 ), is a function of the design variable \chi and the displacements field \mathbf{u} , defined as \Psi(\chi,\mathbf{u})=\dfrac{K(\chi)}{2}\left(\ln{J}\right)^{2}+\dfrac{G(\chi)}{2}\left(J^{-2/3}\,\left\lVert\mathbf{F}\right\rVert^{2}-3\right), (9) where the two elasticity moduli K(\chi) and G(\chi) are based on the RAMP interpolation Eq. ( 5 ). In order to formulate a well-posed optimization problem, it is essential to exclude mechanism-like structures with infinitesimal hinges, either by a geometrical length scale constraint, or by limiting the allowable stresses or strains in the design. In the present work, a limit is imposed on the strain level in the solid as well as in some portion of the gray interface between solid and void, by means of a strain energy constraint on a dilated version of the design. Because of the level-set-like nature of the field \chi , it is easy to obtain a dilated version of the solid, simply by adding a constant offset to \chi . A dilation of the converged design by a length \ell_{\Psi} corresponds to adding the constant 8\ell_{\Psi}/L_{i} to the level-set variable \chi . Based on these arguments, the following dimensionless p-norm term is added to the objective function C_{\Psi}(\chi,\mathbf{u})=\mathop{{{\int}}}_{\Omega}\dfrac{c_{\Psi}}{6}\Biggl\langle\dfrac{\Psi\!\left(\chi\!+\!\dfrac{8}{L_{i}}\ell_{\Psi},\mathbf{u}\right)}{\Psi_{\mathrm{lim}}}-1\Biggr\rangle^{\!6}d\Omega, (10) which penalizes any exceeding of the allowable strain energy density \Psi_{\mathrm{lim}} . The penalization weight c_{\Psi} is a positive dimensionless constant large enough for this term to be significant compared to the main term in the objective function. 2.5 Leak pressure constraint When optimizing an internally pressurized structure, it is important to be able to detect leaking of the pressurized fluid and exclude leaky designs. Assuming that there is an external boundary of the domain, denoted with \Gamma_{\mathrm{ext}} , that should remain at ambient pressure, it is easy to track leakage by monitoring the pressure on such a boundary. Due to the nature of the porohyperelastic model, with the permeability of the solid being tiny but not zero, there will always be some degree of leaking. Therefore, imposing a strict constraint on \Gamma_{\mathrm{ext}} is not an option. Instead, pressure values above the ambient pressure p_{\mathrm{out}} can simply be penalized. This is done in the present work by adding the penalization term C_{p}(p)=\dfrac{1}{\left|\Gamma_{\mathrm{ext}}\right|}\int_{\Gamma_{\mathrm{ext}}}\dfrac{c_{p}}{2}\left(\dfrac{p-p_{\mathrm{out}}}{p_{\mathrm{in}}-p_{\mathrm{out}}}\right)^{2}d\Gamma, (11) to the objective function, with a sufficiently large penalization factor c_{p} . In the numerical examples of the present work, the actuation pressure p_{\mathrm{in}} will always be larger than the environment pressure p_{\mathrm{out}} , but this is not strictly necessary. The presented formulation would still work for a negative pressure actuation, i.e. for p_{\mathrm{in}}\!\Delta t_{\max} ? \Delta t\leftarrow\Delta t/2 yes no \chi_{\mathrm{old}}\leftarrow\chi t\leftarrow t\!+\!\Delta t N-R iterations <\!6 \geq\!6 \Delta t\leftarrow 2\Delta t Optimization completed Figure 4: Adaptive pseudo-time step update scheme for the monolithic optimization algorithm. To kickstart the optimization, an initial design \chi(t\!=\!0) is necessary, as well as the equilibrium solution p , \mathbf{u} , \mathbf{q} , and \mathbf{T} for this design, according to equilibrium Eq. ( 18 ). Due to large deformations, the mechanical problem is itself highly nonlinear; hence, finding such equilibrium will typically require incrementation of the source pressure p_{\mathrm{in}} , cf. Eq. ( 3 ), in several steps toward its desired value. Once an equilibrium solution has been determined for the initial design \chi , a small enough initial pseudo-time step \Delta t can be chosen, and the optimization can be started by solving the system of Eqs. ( 18 ) and ( 26 ) repeatedly, after substituting \chi into \chi_{\mathrm{old}} for each pseudo-time step. The number of necessary Newton-Raphson iterations for each solution provides a good measure of the nonlinearity in the design increment problem. If \Delta t is small, the added damping term dominates and the design converges fast within a few Newton-Raphson iterations indicating that larger time steps can be performed to get the next design. In total, in order to reach infinite pseudo-time, where the optimization is completed, in a finite number of pseudo-time steps, requires an adaptive pseudo-time stepping scheme like the one from Figure 4 , used in the present work. The topology optimization model described here has been implemented using the Python API of the C++ library GetFEM, leveraging the general weak form language available in this software [ 25 ] . The linearization of all nonlinear PDEs contained in Eqs. ( 18 ) and ( 26 ) is performed in GetFEM symbolically. GetFEM is also responsible for the assembly of the necessary residual vector and tangent matrix of the monolithic system treated in the algorithm from Figure 4 , while all linear system solutions are performed using the linear solver MUMPS [ 26 ] . Linear 4-node Lagrange elements are used for the level-set field \chi and the pressure field p . Incomplete quadratic, 8-node Lagrange elements are used for the discretization of the displacement field \mathbf{u} and the multiplier field \mathbf{q} , with the latter limited within the boundary \Gamma . Gauss integration with 3\!\times\!3 integration points per quadrilateral is used for the assembly of all terms. 4 Results and discussion [formula] Source [formula] [formula] [formula] [formula] [formula] [formula] [formula] [formula] [formula] [formula] [formula] [formula] [formula] Figure 5: Initial design in undeformed configuration, with position vector \mathbf{X}\!=\!(X_{1},X_{2}) . To demonstrate the robustness of the porohyperelasticity-based topology optimization framework introduced in the previous sections, a simple 2D soft pneumatic actuator, shown in Figure 5 , will serve as a benchmark. Extensive parametric studies will be presented and discussed, both with regard to physical and numerical parameters of the benchmark problem. Figure 5 defines the design domain \Omega of the benchmark problem, as an L\!\times\!H rectangle. It also shows the initial design in terms of the density field \rho , corresponding to the level-set function \chi(t\!=\!0)=\dfrac{8}{L_{i}}\min\left(\dfrac{0.45H-\left|X_{2}\right|}{3},~\dfrac{\left|X_{2}\right|-0.25H}{3},~\left|X_{2}\right|\!-\!H_{\mathrm{v}}/2\right)\!-\!0.05\langle X_{2}\rangle. (27) This initial design consists of two horizontal plates at a vertical distance of 0.7H with a thickness of approximately 0.2H and a rather diffuse transition between the void and solid regions. Subtraction of the term 0.05\langle X_{2}\rangle introduces an asymmetry in the initial design, making the upper wall somewhat thinner. The passive void region height H_{\mathrm{v}} will be defined and explained below. The left edge of the design domain \Omega is fixed, while its right edge \Gamma is attached to the rigid arm. The placement of the actuated arm is controlled by the placement variables T_{x} , T_{y} , and T_{\theta} , introduced in Section 3.1 . Now, for the specific geometry of the actuated rigid arm, the displacement field \bar{\mathbf{u}} at the right edge \Gamma of the domain, can be specified as the following nonlinear function of T_{x} , T_{y} , and T_{\theta} \bar{\mathbf{u}}=\begin{pmatrix}T_{x}-X_{2}\sin(T_{\theta})\\ T_{y}-X_{2}\left(1-\cos(T_{\theta})\right)\end{pmatrix}, (28) which can be substituted into Eqs. ( 15 ), and ( 17 ). With the displacement of the end point of the arm given as T_{y}\!+\!L_{\mathrm{arm}}\sin(T_{\theta}) , the elastic potential energy for the attached spring can be specified, for use in Eq. ( 17 ), as W_{\mathrm{sp}}=\dfrac{1}{2}k_{\mathrm{sp}}\left(T_{y}+L_{\mathrm{arm}}\sin(T_{\theta})\right)^{2}. (29) A linear spring with stiffness k_{\mathrm{sp}} is considered for simplicity, but any other rate-independent mechanical resistance from the environment could, as easily, be implemented for the quasi static state captured by the physical model. Another term to be specified is the pressurization source term Q_{\mathrm{in}}(\mathbf{X}) present in Eq. ( 3 ). In this benchmark example, the pressurized region extends over a height H_{\mathrm{in}}\!=\!0.25H across the center of the design domain, with the respective term defined as Q_{\mathrm{in}}(\mathbf{X})=10\,Q_{s}\left(1-\sin^{2}\left(\dfrac{\pi}{2}\Biggl\langle\dfrac{5}{2}\dfrac{\left|X_{2}\right|}{H_{\mathrm{in}}}-\dfrac{3}{2}\Biggr\rangle_{\!\!0\dots 1}\right)\right), (30) where Q_{s} is the drainage intensity in the solid, defined previously in Eq. ( 8 ). The notation \langle x\rangle_{\!a\dots b}\!=\!\max(a,\min(x,b)) is used for compactness in the definition of a sinusoidal smooth Heaviside function attaining the value of one in the interior of the pressurized region. Scaling the inlet intensity in the pressurized region with a factor 10 compared to the drainage intensity in the solid, ensures an inflow which is strong enough in order for the target pressure p_{\mathrm{in}} to be reached within good approximation. At the same time, this moderate inflow intensity avoids a too strong fluid flow through the pressurized void regions, which could lead to excessive element deformations. With the void regularization described in Section 2.2 , increasing the scaling of the inlet intensity to 100Q_{s} , or even higher, should not be a problem. In order to avoid the presence of any solid material in the pressurized region of the domain, a passive void region with a height H_{\mathrm{v}}\!=\!0.3H across the center of the domain is defined. This is done by enforcing the condition \chi\leq 8/L_{i}(\left|X_{2}\right|\!-\!H_{\mathrm{v}}/2) to the level-set field, with the slope 8/L_{i} chosen for compatibility with Eq. ( 2 ). In a similar manner, in order to avoid boundary effects like the ones treated in [ 27 ] , the level-set field can be forced to be non-positive at the bottom and top of the domain, with the condition \chi\leq 8/L_{i}(H/2\!-\!\left|X_{2}\right|) . Both of these constraints are enforced through the following penalization term, added to the overall objective function C^{*} , \dfrac{1000}{2}\left\langle\chi-\dfrac{8}{L_{i}}\min\left(H/2\!-\!\left|X_{2}\right|,~\left|X_{2}\right|\!-\!H_{\mathrm{v}}/2\right)\right\rangle^{2}. (31) The analytic treatment of this term in the overall optimization scheme is fully equivalent to the terms C_{A}(\chi) and C_{i}(\chi) already present in C^{*} , cf. Eq. ( 25 ), and will therefore not be discussed further. Unlike C_{A}(\chi) , but similar to the penalized level-set slope constraint C_{i}(\chi) , the passive void region constraint from Eq. ( 31 ) is feasible. Hence, once sufficiently enforced, further increase of its scaling should practically not affect the result of the optimization. It should also be noted that the term involving H_{\mathrm{v}} in Eq. ( 27 ), ensures that the initial design, defined in this equation, complies with the passive void region constraint. The last and most important component necessary in order to complete the problem definition is the specification of the main objective function C_{0}(\mathbf{T}) . In general, it is desired to maximize the compression of the actuated spring, i.e., to minimize the function T_{y}+L_{\mathrm{arm}}\sin(T_{\theta}) , involving the two rigid arm placement components T_{y} and T_{\theta} . Since all other contributions in C^{*} are dimensionless, the spring compression should also be expressed in dimensionless form. This is achieved by dividing the aforestated expression with L_{\mathrm{arm}} . Moreover, the optimized design should exhibit significant shear stiffness, in the sense that the origin of the rigid arm should not move upwards, i.e. the condition T_{y}\!\leq\!0 should be fulfilled, at least in a weak sense. All these considerations together motivate a definition of the main objective function as C_{0}(\mathbf{T})=\dfrac{1000}{2}\left\langle\dfrac{T_{y}}{L_{\mathrm{arm}}}\right\rangle^{2}+\dfrac{T_{y}}{L_{\mathrm{arm}}}+\sin(T_{\theta}). (32) The quadratic term penalizes any positive, i.e. upwards, displacement T_{y} of the actuated rigid arm, while the remaining part maximizes the compression of the actuated spring. The rigid arm length L_{\mathrm{arm}} in the objective function is a rather essential parameter affecting the relative importance between shear and bending deformations. The longer the rigid arm, the higher the ratio of bending-to-shear loading. At this point, the optimization problem is fully defined. All specific parameter values involved in the model equations, as well as in the discretization, are according to Table 1 unless explicitly stated otherwise in the text. The elasticity constants E and \nu of the solid material, listed in Table 1 , correspond to a typical 3D-printed elastomer [ 28 ] , and they were used to calculate the initial elastic moduli K_{\mathrm{s}} and G_{\mathrm{s}} appearing in Eq. ( 5 ). Table 1: Default model and discretization parameters for optimized pneumatic soft actuator. \left|\Omega\right|=L\!\times\!H=15\!\times\!30 Domain dimensions {\mathrm{mm}}^{2} N_{L}\!\times\!N_{H}=48\!\times\!74 Mesh size \mathrm{-} E=2.736,~\nu=0.499 Young’s modulus and Poisson’s ratio for the solid \mathrm{N}\text{/}{\mathrm{mm}}^{2} , \mathrm{-} k_{\mathrm{sp}}=HE/2000 Spring stiffness \mathrm{N}\text{/}\mathrm{mm} L_{\mathrm{arm}}=60 Length of actuated rigid arm \mathrm{m}\mathrm{m} p_{\mathrm{in}}=0.02E Source pressure \mathrm{N}\text{/}{\mathrm{mm}}^{2} c_{A}=0.02 Penalization of estimated total surface area \mathrm{-} L_{i}=2 Void-solid interface width \mathrm{m}\mathrm{m} c_{i}=1 Penalization of interface width constraint \mathrm{-} L_{t}=5L_{i} Design diffusivity length \mathrm{m}\mathrm{m} k_{\mathrm{v}}=$1000\text{\,}\text{/}\mathrm{s}$\times L^{2}/E Void permeability \mathrm{mm} k_{\mathrm{s}}=10^{-6}~k_{\mathrm{v}} Solid permeability \mathrm{mm} \ell_{k}=L_{i} Offset of solid-void permeability transition \mathrm{mm} c_{p}=1000 Penalization of leaking pressure constraint \mathrm{-} \Psi_{\mathrm{lim}}=\tfrac{1}{2}\,0.17^{2}E Max. allowable strain energy density \mathrm{N}\text{/}{\mathrm{mm}}^{2} c_{\Psi}=10^{6} Penalization for strain energy density constraint \mathrm{-} \ell_{\Psi}=0.5 Design dilation for strain energy density constraint \mathrm{m}\mathrm{m} 4.1 Parametric studies To show the efficacy and robustness of the proposed nonlinear topology optimization framework, the benchmark optimization problem introduced above, was solved for a wide range of parameters. The optimized designs obtained, depend on various input parameters including the actuation pressure p_{\mathrm{in}} , spring stiffness k_{\mathrm{sp}} , rigid arm length L_{\mathrm{arm}} , allowable strain energy density \Psi_{\mathrm{lim}} , and surface area penalization c_{A} . Starting with the same initial design in all cases considered, the effect of all these parameters on the optimized actuator design will be presented and discussed individually. Actuation pressure and allowable strain energy density \dfrac{p_{\mathrm{in}}}{E} \sqrt{2\Psi_{\mathrm{lim}}/E} 0.03 0.07 0.11 0.17 0.23 0.34 0.68 -0.0024, 0.0371 -0.0024, 0.037 -0.0024, 0.037 [formula] -0.0053, 0.0375 -0.0239, 0.0266 -0.0255, 0.024 -0.0259, 0.0234 [formula] deformed -0.0047, 0.0397 -0.0393, 0.0151 -0.0501, 0.0023 -0.0586, -0.0056 -0.063, -0.0099 [formula] deformed -0.0131, 0.0311 -0.0561, 0.0061 -0.1016, -0.0422 -0.126, -0.0653 -0.168, -0.104 [formula] deformed -0.0185, 0.0287 -0.054, -0.0022 -0.158, -0.0923 -0.208, -0.14 -0.254, -0.181 [formula] deformed Figure 6: Optimized soft actuator designs for different levels of actuation pressure p_{\mathrm{in}} and strain energy density constraint \Psi_{\mathrm{lim}} . The values above each undeformed design correspond to the main objective C_{0} and the overall objective function C , respectively. Figure 6 presents results from a parametric study with respect to the actuation pressure p_{\mathrm{in}} and the maximum allowable strain energy density \Psi_{\mathrm{lim}} . The five rows of images cover a pressure range between 0.1\% and 4\% of the solid material initial Young’s modulus E , while the seven columns of images cover allowable strain energy densities corresponding to strain levels between 3% and 68%. For the convenience of the reader, allowable strain energy densities \Psi_{\mathrm{lim}} are reported in terms of the dimensionless quantity \sqrt{2\Psi_{\mathrm{lim}}/E} which is easier to interpret as a linearly approximated allowable strain value. All other parameters are kept fixed at their default values according to Table 1 . In total, Figure 6 reports 22 optimization results. All respective designs are presented in their undeformed configuration, with an overlay mesh colored according to the pressure field p , where blue corresponds to zero and red corresponds to p\!=\!p_{\mathrm{in}} . Although, pressure fields are shown in the undeformed domain, they are still obtained based on the extended Darcy flow Eq. ( 3 ) which applies to the deformed configuration, as explained in the theory Section 2.2 . For four selected cases, deformed configurations are also included in Figure 6 alongside the respective undeformed designs. These results demonstrate how the finite strain capable optimization framework of this work yields distinct optimized designs depending on the actuation pressure p_{\mathrm{in}} , which is in contrast to small strain frameworks [ 17 , 6 ] . Moreover, the results also demonstrate how essential the inclusion of a strain energy density constraint is, especially for cases of relatively high actuation pressure. For the highest pressure p_{\mathrm{in}}\!=\!0.04E , for example, the optimized designs exhibit very large deformations when the strain energy density constraint is relaxed by increasing \Psi_{\mathrm{lim}} . Figure 7: Achieved spring compression for optimized designs under different actuation pressure and allowable strain energy density levels. The graph in Figure 7 presents the achieved spring compression as a function of the allowable strain energy density \Psi_{\mathrm{lim}} , for different values of the actuation pressure p_{\mathrm{in}} . Thereby it provides a good overview of the performance of all designs from Figure 6 . As one would expect, for any given actuation pressure, increasing the allowable strain limit leads in general to larger spring compression. All curves in Figure 7 increase monotonically, apart from the entirely flat curve for the lowest actuation pressure, where the strain energy density constraint is simply not active at all. Interestingly enough though, for a given level of allowable strain energy density, there seems to be some intermediate actuation pressure level that yields the largest spring compression. For \Psi_{\mathrm{lim}}\!=\!\tfrac{1}{2}\,0.07^{2}E , for example, the structure designed to operate with p_{\mathrm{in}}\!=\!0.01E performs best, while for \Psi_{\mathrm{lim}}\!=\!\tfrac{1}{2}\,0.11^{2}E or \Psi_{\mathrm{lim}}\!=\!\tfrac{1}{2}\,0.17^{2}E , the best-performing actuation pressure level is p_{\mathrm{in}}\!=\!0.02E . Of course, the optimized designs correspond most likely to local minima, nevertheless it is interesting to observe that the performance is not increasing monotonically with the applied actuation pressure. Higher actuation pressure levels can only be exploited if correspondingly higher levels of deformation are allowed in the elastomer material. [formula] [formula] [formula] [formula] Figure 8: Soft actuator design optimized for p_{\mathrm{in}}\!=\!0.02E and \Psi_{\mathrm{lim}}\!=\!\tfrac{1}{2}\,0.17^{2}E , shown in undeformed and deformed configurations. The graph shows spring compression as a function of actuation pressure in a post-simulation between p_{\mathrm{in}}\!=\!0 and p_{\mathrm{in}}\!=\!0.02E . Figure 8 presents some additional details for one selected design out of the 22 cases of the parametric study, in particular for the design optimized for p_{\mathrm{in}}\!=\!0.02E and \Psi_{\mathrm{lim}}\!=\!\tfrac{1}{2}\,0.17^{2}E . The optimized design is shown in undeformed and deformed state, including the actuated rigid arm, in order to give a better visual impression of the benchmark result. The graph at the bottom of Figure 8 , shows how the spring compression increases as a function of the source pressure, when the latter is incremented in a post-simulation from zero to the target pressure, that the structure has been optimized for. The system response is moderately nonlinear. In general, it is expected that designs obtained with larger allowable strain levels, will also exhibit stronger nonlinear responses. Convergence history For the same representative case discussed above, Figure 9 provides further details about the optimization convergence history. The graph shows, on a logarithmic scale, how the pseudo-time step \Delta t evolves during the 417 performed design iterations. The higher \Delta t , the weaker the damping applied to the optimality condition for the respective design increment. For most of the optimization history, \Delta t remains within a limited range. After approximately 350 design iterations, the current solution is already so close to the optimality point, that the overall system of nonlinear equations requires no more than a few Newton-Raphson iterations to converge. Consequently, the algorithm from Figure 4 leads to a rapidly increasing \Delta t , until the temporary damping is practically eliminated from the optimality condition. Figure 9: Evolution of the design pseudo-time step \Delta t during the optimization and snapshots of the design at different optimization increments (50, 100, 200, 350). [formula] [formula] [formula] [formula] Figure 10: Evolution of the total objective C , the main objective C_{0} , and the individual constraint contributions C_{A} , C_{i} , C_{p} , C_{\Psi} to the total objective, as a function of pseudo-time. Figure 10 presents the evolution of the objective function during the optimization, as a function of pseudo-time t , shown on a logarithmic scale. The Hessian and gradient-based optimization algorithm ensures a monotonically decreasing total objective value until the optimality condition is achieved. Furthermore, Figure 10 also depicts the individual contributions in the total objective function, namely the main objective C_{0} , the surface area penalization C_{A} , and the penalized constraints C_{i} , C_{p} , and C_{\Psi} . The primary contribution of C_{0} arises from the spring compression, making it a dominating factor for the overall objective, together with the penalization C_{A} of the total surface area of the design. In terms of multi-objective optimization, one should imagine a typical Pareto front between C_{0} and C_{A} . As it will be demonstrated later, increasing the scaling of C_{A} will lead to geometrically simpler designs at the cost of smaller spring compression. On the contrary, increasing the scaling of all other contributions, C_{i} , C_{p} , and C_{\Psi} , has, after some point, a diminishing effect, because these penalized constraints are feasible. The respective weights c_{i} , c_{p} , and c_{\Psi} , reported in Table 1 , were chosen in a range where the respective Pareto fronts have flattened out. Their exact values are therefore not as essential for the optimization problem as the scaling factor c_{A} . The graph in the lower right corner of Figure 10 shows that soon after the beginning of the optimization, all penalized constraints, C_{i} , C_{p} , and C_{\Psi} , are satisfied within good approximation. The surface area penalization term C_{A} is initially rather high, because of the larger portions of gray material in the non-converged design. As the void-solid boundary becomes sharper, converging towards an interface thickness equal to L_{i} , the term C_{A} begins to better represent the total surface area of the design. Significant geometric changes in the design occur approximately until a pseudo-time t\!\approx\!10^{6} , reached after ca. 300 design iterations. After that point, the curve for the total objective, as well as all curves for the individual contributions, flatten out, despite the large pseudo-time steps \Delta t . Effect of c_{A} , k_{\mathrm{sp}} , and L_{\mathrm{arm}} Figure 11 illustrates the effect of the estimated surface area penalization factor c_{A} on the optimized design. The design shown in the middle is the reference case discussed previously, obtained with the default value c_{A}\!=\!0.02 . The two designs shown to the left and right of the reference design were obtained with reduced c_{A}\!=\!0.004 and increased c_{A}\!=\!0.1 , respectively. Decreasing c_{A} by a factor of five has a minimal effect, but increasing c_{A} by a factor of five leads indeed, as expected, to a design with smaller surface area, at the cost of a larger C_{0} value and smaller spring compression. It is important to note that some minimal penalization of the total surface area of the design is mandatory for a well-posed optimization problem. This is because, in the absence of any material volume constraint, clumps of disconnected solid material could be added arbitrarily, without any deterioration of the objective value. [formula] [formula] [formula] c_{A} C_{0} spring compression surface area 0.04 -0.1023 6.14\text{\,}\mathrm{mm} 64.3\text{\,}\mathrm{mm} 0.02 -0.1016 6.10\text{\,}\mathrm{mm} 62.2\text{\,}\mathrm{mm} 0.1 -0.0733 4.40\text{\,}\mathrm{mm} 52.8\text{\,}\mathrm{mm} Figure 11: Effect of surface area penalization factor c_{A} on the optimized design for p_{\mathrm{in}}\!=\!0.02E and \Psi_{\mathrm{lim}}\!=\!\tfrac{1}{2}\,0.17^{2}E . For the 2D domain, surface area is reported in [ \mathrm{mm} ] because it is per out-of-plane thickness. k_{\mathrm{sp}}\!=\!EH/2000 k_{\mathrm{sp}}\!=\!EH/400 k_{\mathrm{sp}}\!=\!EH/80 undeformed deformed k_{\mathrm{sp}} C_{0} spring compression \dfrac{EH}{2000} -0.1016 6.10\text{\,}\mathrm{mm} \dfrac{EH}{400} -0.0205 1.23\text{\,}\mathrm{mm} \dfrac{EH}{80} -0.0023 0.14\text{\,}\mathrm{mm} Figure 12: Effect of spring stiffness k_{\mathrm{sp}} on the optimized actuator design. [formula] [formula] [formula] L_{\mathrm{arm}} k_{\mathrm{sp}} C_{0} spring compression 4L \dfrac{EH}{2000} -0.1016 6.10\text{\,}\mathrm{mm} 16L \dfrac{EH}{32000} -0.1112 26.81\text{\,}\mathrm{mm} 32L \dfrac{EH}{128000} -0.1139 54.69\text{\,}\mathrm{mm} Figure 13: Effect of the rigid arm length L_{\mathrm{arm}} on the optimised actuator design. The next study, presented in Figure 12 , addresses the impact of the spring stiffness k_{\mathrm{sp}} on the optimized actuator design. The design shown in the first column, in both undeformed and deformed configurations, is the representative case with p_{\mathrm{in}}\!=\!0.02E , \Psi_{\mathrm{lim}}\!=\!\tfrac{1}{2}\,0.17^{2}E and c_{A}\!=\!0.02 , discussed extensively above. The second and third columns show two new optimized designs, obtained for spring stiffness values increased by a factor of 5 and 25, respectively, relative to the reference case. Increasing the spring stiffness leads to significant changes in the actuator design, showcasing again that the finite deformation capable framework provides optimized designs accounting for the specific compliance of the actuator’s environment. Unfortunately, in the case with the largest spring stiffness k_{\mathrm{sp}}\!=\!EH/80 , the optimization procedure has switched to a different local minimum, that performs notably worse than the previous two cases. Nevertheless, a cross-check between the remaining two cases, demonstrates that the design optimized for k_{\mathrm{sp}}\!=\!EH/400 indeed outperforms the original design optimized for k_{\mathrm{sp}}\!=\!EH/2000 , when both designs are used in a post-simulation against the spring with stiffness k_{\mathrm{sp}}\!=\!EH/400 . Finally, Figure 13 presents a study regarding the effect of the rigid arm length L_{\mathrm{arm}} on the actuator design. In this study, the arm length L_{\mathrm{arm}} and the spring stiffness k_{\mathrm{sp}} are changed simultaneously, so that the output bending stiffness, proportional to L_{\mathrm{arm}}^{2}k_{\mathrm{sp}} , is kept constant. This is in order to obtain different shear-to-bending load ratios, but without significantly affecting the bending load. As the length L_{\mathrm{arm}} increases, the obtained designs converge towards the case of a purely bending-dominated structure. 5 Concluding remarks This work successfully established a new nonlinear density-based topology optimization framework for the computational design of pneumatically driven soft actuators subjected to large deformations. The theory of porohyperelasticity was leveraged in order to transfer the actuation pressure to all surfaces of the structure that are connected to the pressurization source. The proposed formulation fully addresses the case of design-dependent follower loads and is, to the best of the authors’ knowledge, the first to incorporate the theory of porohyperelasticity within a framework of topology optimization. To avoid pressure leakage through solid walls, the existing method of drainage in the solid was refined and incorporated in the proposed framework. Additionally, a third-medium void regularization scheme, known from the third medium contact literature, turned out to be necessary in order to effectively prevent extreme mesh distortion around pressurized void regions. A simple 2D benchmark problem was used to demonstrate the capabilities of the proposed framework. The main objective of the optimization, was to maximize the compression of a spring by a rigid arm attached to the benchmark actuator. However, in order to achieve a well-posed problem, a term penalizing the total surface area of the design, was essential to include in the overall objective. Moreover, imposing an upper strain energy limit proved to be necessary in order to avoid excessively thin structure members. A basic but systematic dimensional analysis allowed to express the overall objective function in dimensionless form, so that any scaling factors provided in this work are not problem specific. Parametric studies were performed with regard to the actuation pressure, the strain energy density limit, the surface area penalization, the rigid arm length, and the spring stiffness. For the 2D benchmark problem, the proposed topology optimization framework resulted in rather simple designs that could have also been obtained with shape optimization. Nevertheless, the obtained load-dependent designs for a wide range of parameters, demonstrate the potential of the method, especially with the perspective of its future applications to 3D problems. Such 3D applications of great interest are e.g. those concerning pneumatic actuators that interact with biological tissues, such as devices for laparoscopic surgery. Appendices A. Reference solution for the two-chamber structure Figure A.1 shows a comparison between the deformed porohyperelastic model with drainage reported in Figure 2 c, and a reference solution obtained with a body fitted mesh. The geometry of the body fitted mesh was extracted at the isoline \chi\!=\!1 , which is equivalent to \rho\!=\!0.731 , in order to account for the RAMP interpolation of the material stiffness. The superimposed magenta contour in the Figure A.1 corresponds to the surface of the deformed body fitted mesh and is captured rather accurately by the fictitious domain porohyperelastic solution. The source code for both cases compared in Figure A.1 is available at https://data.mendeley.com/datasets/58cstgmrg9/1 . Figure A.1: Comparison between porohyperelastic solution in the fictitious domain and reference solution with follower pressure load applied to body fitted mesh. B. Remaining terms for the adjoint and optimality system Variations with respect to the design variable \chi (in addition to Eq. ( 24 )): C_{A,\chi}[\delta\chi]\!=\!\int_{\Omega}\dfrac{c_{A}}{|\Omega|^{1/2}}\dfrac{8}{L_{i}}\left(1-2\rho(\chi)\right)\rho^{\prime}(\chi)\delta\chi~d\Omega (B.1) C_{i,\chi}[\delta\chi]\!=\!\int_{\Omega}c_{i}\left<\!\left\lVert\nabla\chi\right\rVert\!-\dfrac{8}{L_{i}}\right>^{\!5}\dfrac{\nabla\chi}{\left\lVert\nabla\chi\right\rVert}\cdot\nabla\delta\chi~d\Omega (B.2) \displaystyle C_{\Psi,\chi}[\delta\chi]\!=\!\mathop{{{\int}}}_{\Omega}\Biggl<\dfrac{\Psi\!\left(\chi\!+\!\dfrac{8}{L_{i}}\ell_{\Psi},\mathbf{u}\right)}{\Psi_{\mathrm{lim}}}-1\Biggr>^{\!5}\Bigg( \displaystyle K^{\prime}\!\left(\!\chi\!+\!\dfrac{8}{L_{i}}\ell_{\Psi}\!\right)\dfrac{(\ln J)^{2}}{2} \displaystyle+G^{\prime}\!\left(\!\chi\!+\!\dfrac{8}{L_{i}}\ell_{\Psi}\!\right)\dfrac{J^{-2/3}\left\lVert\mathbf{F}\right\rVert^{2}-3}{2}\Bigg)\delta\chi~d\Omega (B.3) \displaystyle\mathcal{R}_{,\chi}\left[\Lambda_{p},\mathbf{\Lambda}_{\mathbf{u}}\right]\left[\delta\chi\right]\!=\!\mathop{{\int}}_{\Omega}\bigg( \displaystyle k^{\prime}(\chi)J\left(\left(\mathbf{F}^{T}\mathbf{F}\right)^{-1}\nabla p\right)\cdot\nabla\Lambda_{p}+Q_{s}\rho^{\prime}(\chi)(p-p_{\mathrm{out}})\Lambda_{p} \displaystyle+\Big(K^{\prime}(\chi)\ln J~\mathbf{I}+G^{\prime}(\chi)J^{-2/3}\text{dev}\!\left(\mathbf{F}\mathbf{F}^{T}\right)\Big)\!:\!\left(\nabla\mathbf{\Lambda}_{\mathbf{u}}\mathbf{F}^{-1}\right)\bigg)\delta\chi~d\Omega (B.4) Variations with respect to the adjoint pressure variable \Lambda_{p} : C_{p,p}[\delta\mkern-1.0mu\Lambda_{p}]\!=\dfrac{1}{\left|\Gamma_{\mathrm{ext}}\right|}\!\int_{\Gamma_{\mathrm{ext}}}\dfrac{c_{p}}{p_{\mathrm{in}}^{2}}\,p\,\delta\mkern-1.0mu\Lambda_{p}~d\Gamma (B.5) \displaystyle\mathcal{R}_{,p}\left[\Lambda_{p},\mathbf{\Lambda}_{\mathbf{u}}\right]\left[\delta\mkern-1.0mu\Lambda_{p}\right]\!=\!\mathop{{\int}}_{\Omega} \displaystyle~k(\chi)J\left(\mathbf{F}^{-1}\mathbf{F}^{-T}\nabla\delta\mkern-1.0mu\Lambda_{p}\right)\!\cdot\!\nabla\Lambda_{p} \displaystyle+\bigg(\Big(Q_{\mathrm{in}}(\mathbf{X})+Q_{\mathrm{out}}(\chi)\Big)\Lambda_{p}-J~\mathbf{F}^{-T}\!:\!\nabla\mathbf{\Lambda}_{\mathbf{u}}\bigg)\delta\mkern-1.0mu\Lambda_{p}~d\Omega (B.6) Variations with respect to the adjoint displacement variable \mathbf{\Lambda}_{\mathbf{u}} : \displaystyle C_{\Psi,\mathbf{u}}\left[\boldsymbol{\delta}\mkern-2.0mu\mathbf{\Lambda}_{\mathbf{u}}\right]\!=\!\!\mathop{{{\int}}}_{\Omega}\! \displaystyle\dfrac{c_{\Psi}}{\Psi_{\mathrm{lim}}}\Biggl<\dfrac{\Psi\!\left(\chi\!+\!\dfrac{8}{L_{i}}\ell_{\Psi},\mathbf{u}\right)}{\Psi_{\mathrm{lim}}}-1\Biggr>^{\!5} \displaystyle+ \displaystyle\bigg(\!K\!\left(\!\chi\!+\!\dfrac{8}{L_{i}}\ell_{\Psi}\!\right)\ln J~\mathbf{I}+G\!\left(\!\chi\!+\!\dfrac{8}{L_{i}}\ell_{\Psi}\!\right)J^{-2/3}\text{dev}\!\left(\mathbf{F}\mathbf{F}^{T}\right)\!\bigg)\!:\!\left(\nabla\boldsymbol{\delta}\mkern-2.0mu\mathbf{\Lambda}_{\mathbf{u}}\mathbf{F}^{-1}\right)~d\Omega (B.7) \displaystyle\mathcal{R}_{,\mathbf{u}}\left[\Lambda_{p},\mathbf{\Lambda}_{\mathbf{u}},\mathbf{\Lambda}_{\mathbf{q}}\right]\left[\boldsymbol{\delta}\mkern-2.0mu\mathbf{\Lambda}_{\mathbf{u}}\right]\!=\!\mathop{{\int}}_{\Omega}k(\chi)\left(\left(\Big(J\,\mathbf{F}^{-1}\mathbf{F}^{-T}\Big)_{\!,\nabla\mathbf{u}}\!:\!\nabla\boldsymbol{\delta}\mkern-2.0mu\mathbf{\Lambda}_{\mathbf{u}}\right)\nabla p\right)\!\cdot\!\nabla\Lambda_{p}+\mathbf{\Lambda}_{\mathbf{q}}\!\cdot\!\boldsymbol{\delta}\mkern-2.0mu\mathbf{\Lambda}_{\mathbf{u}} \displaystyle+\bigg(\Big(\big(K(\chi)\ln J\!-\!Jp\big)\mathbf{I}+G(\chi)J^{-2/3}\text{dev}\!\left(\mathbf{F}\mathbf{F}^{T}\right)\Big)_{\!,\nabla\mathbf{u}}\!:\!\nabla\boldsymbol{\delta}\mkern-2.0mu\mathbf{\Lambda}_{\mathbf{u}}\bigg)\!:\!\left(\nabla\mathbf{\Lambda}_{\mathbf{u}}\mathbf{F}^{-1}\right) \displaystyle+c_{r}~\mathbb{H}\boldsymbol{\delta}\mkern-2.0mu\mathbf{\Lambda}_{\mathbf{u}}\vbox{\hbox{.}\hbox{.}\hbox{.}}\mathbb{H}\mathbf{\Lambda}_{\mathbf{u}} \displaystyle~d\Omega (B.8) Variations with respect to the adjoint displacement variable \mathbf{\Lambda}_{\mathbf{q}} : \mathcal{R}_{,\mathbf{q}}\left[\mathbf{\Lambda}_{\mathbf{u}},\mathbf{\Lambda}_{\mathbf{T}}\right]\left[\boldsymbol{\delta}\mkern-2.0mu\mathbf{\Lambda}_{\mathbf{q}}\right]\!=\!\mathop{{\int}}_{\Gamma}\biggl(\mathbf{\Lambda}_{\mathbf{u}}-\begin{pmatrix}\Lambda_{T_{x}}\\ \Lambda_{T_{y}}\end{pmatrix}+X_{2}\begin{pmatrix}\cos(T_{\theta})\\ \sin(T_{\theta})\end{pmatrix}\Lambda_{T_{\theta}}\biggr)\cdot\boldsymbol{\delta}\mkern-2.0mu\mathbf{\Lambda}_{\mathbf{q}}~d\Gamma (B.9) Variations with respect to the adjoint rigid arm motion variables \mathbf{\Lambda}_{\mathbf{T}} : C_{0,\mathbf{T}}\left[\boldsymbol{\delta}\mkern-2.0mu\mathbf{\Lambda}_{\mathbf{T}}\right]\!=\!\left(\dfrac{1000}{L_{\mathrm{arm}}^{2}}\left+\dfrac{1}{L_{\mathrm{arm}}}\right)\delta\mkern-1.0mu\Lambda_{T_{y}}+\cos(T_{\theta})~\delta\mkern-1.0mu\Lambda_{T_{\theta}} (B.10) \displaystyle\mathcal{R}_{,\mathbf{T}}\left[\mathbf{\Lambda}_{\mathbf{q}},\mathbf{\Lambda}_{\mathbf{T}}\right]\left[\boldsymbol{\delta}\mkern-2.0mu\mathbf{\Lambda}_{\mathbf{T}}\right]\!= \displaystyle~~~~k_{\mathrm{sp}}\left(\Lambda_{T_{y}}+L_{\mathrm{arm}}\cos(T_{\theta})\Lambda_{T_{\theta}}\right)\left(\delta\mkern-1.0mu\Lambda_{T_{y}}+L_{\mathrm{arm}}\cos(T_{\theta})\delta\mkern-1.0mu\Lambda_{T_{\theta}}\right) \displaystyle-k_{\mathrm{sp}}\left(T_{y}+L_{\mathrm{arm}}\sin(T_{\theta})\right)L_{\mathrm{arm}}\sin(T_{\theta})\,\Lambda_{T_{\theta}}\,\delta\mkern-1.0mu\Lambda_{T_{\theta}} \displaystyle+\mathop{{{\int}}}_{\Gamma}\left(-\begin{pmatrix}\delta\mkern-1.0mu\Lambda_{T_{x}}\\ \delta\mkern-1.0mu\Lambda_{T_{y}}\end{pmatrix}+X_{2}\begin{pmatrix}\cos(T_{\theta})\\ \sin(T_{\theta})\end{pmatrix}\delta\Lambda_{T_{\theta}}\right)\cdot\mathbf{\Lambda}_{\mathbf{q}} \displaystyle~~~~~~~~~~~~~~~~~~~~~~~~+X_{2}\begin{pmatrix}-\sin(T_{\theta})\\ \cos(T_{\theta})\end{pmatrix}\cdot\mathbf{q}\,\Lambda_{T_{\theta}}\,\delta\mkern-1.0mu\Lambda_{T_{\theta}}~d\Gamma (B.11)