ArticlePublisher preview available

TOPress3D: 3D topology optimization with design-dependent pressure loads in MATLAB

Authors:
To read the full-text of this research, you can request a copy directly from the author.

Abstract and Figures

This paper introduces “TOPress3D," a 3D topology optimization MATLAB code for structures subjected to design-dependent pressure loads. With a primary focus on pedagogical objectives, the code provides an easy learning experience, making it a valuable tool and practical gateway for newcomers, students, and researchers towards this topic. TOPress3D uses Darcy’s law with a drainage term to link the given pressure load to design variables that, in turn, is converted to consistent nodal loads. Optimization problems focused on compliance minimization under volume constraints with pressure loads are solved. Load sensitivities arising due to design-dependent nature of the loads are evaluated using the adjoint-variable approach. The method of moving asymptotes is used to update the design variables. TOPress3D is constituted by six main parts. Each is described in detail. The code is also tailored to solve different problems. The robustness and success of the code are demonstrated in designing a few pressure load-bearing structures. The code is provided in Appendix B and is available with extensions in the supplementary material and publicly at https://github.com/PrabhatIn/TOPress3D.
Element i nomenclature. Lface, Rface, BTface, Tface, Fface and Bface represent left, right, bottom, top, front, and back faces, respectively. Herein, these faces respectively contain 1,2,5,6\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\left\{ 1,\,2,\,5,\,6\right\} $$\end{document}, 3,4,7,8\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\left\{ 3,\,4,\,7,\,8\right\} $$\end{document}, 1,2,3,4\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\left\{ 1,\,2,\,3,\,4\right\} $$\end{document}, 5,6,7,8\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\left\{ 5,\,6,\,7,\,8\right\} $$\end{document}, 2,3,6,7\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\left\{ 2,\,3,\,6,\,7\right\} $$\end{document} and 1,4,5,8\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\left\{ 1,\,4,\,5,\,8\right\} $$\end{document} nodes
… 
This content is subject to copyright. Terms and conditions apply.
Optimization and Engineering
https://doi.org/10.1007/s11081-024-09931-2
RESEARCH ARTICLE
TOPress3D: 3D topology optimization with
design-dependent pressure loads in MATLAB
Prabhat Kumar1
Received: 11 April 2024 / Revised: 26 August 2024 / Accepted: 20 September 2024
© The Author(s), under exclusive licence to Springer Science+Business Media, LLC, part of Springer Nature 2024
Abstract
This paper introduces TOPress3D," a 3D topology optimization MATLAB code
for structures subjected to design-dependent pressure loads. With a primary focus
on pedagogical objectives, the code provides an easy learning experience, making
it a valuable tool and practical gateway for newcomers, students, and researchers
towards this topic. TOPress3D uses Darcy’s law with a drainage term to link the
given pressure load to design variables that, in turn, is converted to consistent nodal
loads. Optimization problems focused on compliance minimization under volume
constraints with pressure loads are solved. Load sensitivities arising due to design-
dependent nature of the loads are evaluated using the adjoint-variable approach. The
method of moving asymptotes is used to update the design variables. TOPress3D is
constituted by six main parts. Each is described in detail. The code is also tailored to
solve different problems. The robustness and success of the code are demonstrated in
designing a few pressure load-bearing structures. The code is provided in Appendix B
and is available with extensions in the supplementary material and publicly at https://
github.com/PrabhatIn/TOPress3D.
Keywords Topology optimization ·Design-dependent pressure loads ·MATLAB
code ·Compliance minimization
1 Introduction
This paper introduces “TOPress3D," a MATLAB code (158-line) designed for per-
forming 3D topology optimization on structures subjected to design-dependent fluidic
pressure loads. While such loads are prevalent in various applications, addressing
them within a topology optimization framework presents distinct challenges as they
change direction, location and/or magnitude with design evolution (Hammer and
Olhoff 2000; Kumar et al. 2020). These challenges become more pronounced for 3D
BPrabhat Kumar
pkumar@mae.iith.ac.in
1Department of Mechanical and Aerospace Engineering, Indian Institute of Technology Hyderabad,
Telangana 502285, India
123
Content courtesy of Springer Nature, terms of use apply. Rights reserved.
ResearchGate has not been able to resolve any citations for this publication.
Article
Full-text available
Soft grippers are ideal for grasping delicate, deformable objects with complex geometries. Universal soft grippers have proven effective for grasping common objects, however complex objects or environments require bespoke gripper designs. Multi‐material printing presents a vast design‐space which, when coupled with an expressive computational design algorithm, can produce numerous, novel, high‐performance soft grippers. Finding high‐performing designs in challenging design spaces requires tools that combine rapid iteration, simulation accuracy, and fine‐grained optimization across a range of gripper designs to maximize performance, no current tools meet all these criteria. Herein, a diversity‐based soft gripper design framework combining generative design and topology optimization (TO) are presented. Compositional pattern‐producing networks (CPPNs) seed a diverse set of initial material distributions for the fine‐grained TO. Focusing on vacuum‐driven multi‐material soft grippers, several grasping modes (e.g. pinching, scooping) emerging without explicit prompting are demonstrated. Extensive automated experimentation with printed multi‐material grippers confirms optimized candidates exceed the grasp strength of comparable commercial designs. Grip strength, durability, and robustness is evaluated across 15,170 grasps. The combination of fine‐grained generative design, diversity‐based design processes, high‐fidelity simulation, and automated experimental evaluation represents a new paradigm for bespoke soft gripper design which is generalizable across numerous design domains, tasks, and environments.
Article
Full-text available
Demands for pneumatic-driven soft robots are constantly rising for various applications. However, they are often designed manually due to the lack of systematic methods. Moreover, design-dependent characteristics of pneumatic actuation pose distinctive challenges. This paper provides a compact MATLAB code, named SoRoTop, and its various extensions for designing pneumatic-driven soft robots using topology optimization. The code uses the method of moving asymptotes as the optimizer and builds upon the approach initially presented in Kumar et al. (Struct Multidiscip Optim 61(4):1637–1655, 2020). The pneumatic load is modeled using Darcy’s law with a conceptualized drainage term. Consistent nodal loads are determined from the resultant pressure field using the conventional finite element approach. The robust formulation is employed, i.e., the eroded and blueprint design descriptions are used. A min–max optimization problem is formulated using the output displacements of the eroded and blueprint designs. A volume constraint is imposed on the blueprint design, while the eroded design is used to apply a conceptualized strain energy constraint. The latter constraint aids in attaining optimized designs that can endure the applied load without compromising their performance. Sensitivities required for optimization are computed using the adjoint-variable method. The code is explained in detail, and various extensions are also presented. It is structured into pre-optimization, MMA optimization, and post-optimization operations, each of which is comprehensively detailed. The paper also illustrates the impact of load sensitivities on the optimized designs. SoRoTop is provided in “Appendix A” and is available with extensions in the supplementary material and publicly at https://github.com/PrabhatIn/SoRoTop.
Article
Full-text available
Topology optimization can generate the innovative material layout to meet the performance demands. Meanwhile, the computational programs with educational purposes were also released for topology optimization. However, few educational papers concerning topology optimization focused on three-dimensional structures considering the geometrical nonlinearity. Therefore, this paper presents complete MATLAB codes for three-dimensional geometrically nonlinear topology optimization for the educational purposes. Two sets of MATLAB codes can be downloaded from the attachments: the 230-line code using the SIMP method and the 280-line code using the moving morphable bars. The 280-line code using the moving morphable bars in the Appendix is composed of 59 lines for the parameter initialization, 59 lines for the main loop of the optimization loop, 64 lines for the relative intermediate subfunctions, and 96 lines for the finite element analysis considering the geometrical nonlinearity. The validity of the codes is confirmed by the numerical examples during the MATLAB implementation.
Article
This paper presents a computationally efficient MATLAB implementation of two-dimensional/three-dimensional (2D/3D) topology optimization in non-uniform rational basis spline (NURBS) framework for educational purposes. The pseudo-densities and the related weights at control points define the NURBS-based density surface and are also simultaneously taken as the design variables, which extremely increases the computational expense due to the iterative numerical operations at Gauss integration points for isogeometric analysis (IGA) and sensitivity calculation. Thus, this paper designs the page-wise matrix operation and its implementation on graphics processing unit (GPU) to replace the element loop-based iteration to improve the computational efficiency. For the 2D problems, the main program of valid 34 lines of code (Appendix 1) is mainly divided by initialization of lines 3–11, IGA and sensitivity analysis of lines 13–30, and optimizer of lines 32–34. The sensitivity analysis function of valid 51 lines of code (Appendix 2) is programmed by the page-wise matrix operation. The optimization problems are solved by the Method of Moving Asymptotes (MMA) algorithm. The computational efficiency is largely improved in terms of the performance evaluation of the benchmark cases between the page-wise matrix-based procedure structure and the conventional element loop-based iteration algorithm. All programs that support the results of this study are completely provided and serve educational purposes for students and newcomers.
Article
In the realm of engineering design, structures grappling with fluidic pressure loads within precise frequency constraints necessitate innovative approaches. This study introduces a method to address the intricacies of design-dependent load-based structures, focusing on three key aspects: (i) managing structures constrained by frequency under fluidic pressure loads dependent on the design, (ii) integrating the use of multiple materials, and (iii) dealing with nearly incompressible materials. The proposed approach, detailed in this paper, employs polytopal composite finite elements (PCEs) to overcome the inherent volumetric locking phenomenon in incompressible materials. By incorporating Darcy's law and a drainage term alongside the representative-solid phase, this approach ensures consistent treatment of fluidic pressure loads, dynamically adjusting their direction and location during the multi-material design process. The porosity of each element, intricately linked to its density variable through a Heaviside function, facilitates a smooth transition between solid and void phases. The application of Darcy's law establishes a specific pressure field, solved using PCEs, enabling the computation of consistent nodal loads. This method simplifies the assessment of load sensitivities through the adjoint-variable technique. The method's effectiveness and reliability are validated through numerical examples, demonstrating its capability to optimize compliance within specific volume constraints for frequency-limited structures subjected to design-dependent pressure loading and considering a diverse range of materials from compressible to nearly incompressible.
Article
This paper presents a 3D material mask overlay topology optimization approach using truncated octahedron elements and spheroidal masks. Truncated octahedron elements provide face connectivity between two juxtaposed elements, thus, eliminating singular solutions inherently. A novel meshing scheme with Tetra-Kai-Decaheral or TKD (generic case of truncated octahedron) elements is proposed. The scheme is extended to parameterized generic-shape domains. Various benefits of implementing the elements are also highlighted, and the corresponding finite element is introduced. Spheroidal negative masks are employed to determine the material within the elements. Seven design variables define each mask. A material density formulation is proposed, and sensitivity analysis for gradient-based optimization is developed. fmincon MATLAB function is used for the optimization. The efficacy and success of the approach are demonstrated by solving structures and compliant mechanism design problems. Compliance is minimized for the former, whereas a multi-criteria arising due to flexibility and stiffness measures is extremized for optimizing the mechanisms. Convergence of the optimization is smooth. The volume constraint is satisfied and remains active at the end of the optimization.
Article
In a topology optimization (TO) setting, design-dependent fluidic pressure loads pose several challenges as their direction, magnitude, and location alter with topology evolution. This paper offers a compact 100-line MATLAB code, TOPress, for TO of structures subjected to fluidic pressure loads using the method of moving asymptotes. The code is intended for pedagogical purposes and aims to ease the beginners’ and students’ learning toward the TO with design-dependent fluidic pressure loads. TOPress is developed per the approach first reported in Kumar et al. (Struct Multidisc Optim 61(4):1637–1655, 2020). The Darcy law, in conjunction with the drainage term, is used to model the applied pressure load. The consistent nodal loads are determined from the obtained pressure field. The employed approach facilitates inexpensive computation of the load sensitivities using the adjoint-variable method. Compliance minimization subject to volume constraint optimization problems is solved. The success and efficacy of the code are demonstrated by solving benchmark numerical examples involving pressure loads, wherein the importance of load sensitivities is also demonstrated. TOPress contains six main parts, is described in detail, and is extended to solve different problems. Steps to include a projection filter are provided to achieve loadbearing designs close to 0-1. The code is provided in Appendix 2 and can also be downloaded along with its extensions from https://github.com/PrabhatIn/TOPress.
Chapter
Soft robots are made of compliant materials that perform their tasks by deriving motion from elastic deformations. They are used in various applications, e.g., for handling fragile objects, navigating sensitive/complex environments, etc., and are typically actuated by Pneumatic/hydraulic loads. Though demands for soft robots are continuously increasing in various engineering sectors, due to the lack of systematic approaches, they are primarily designed manually. This paper presents a systematic density-based topology optimization approach to designing soft robots while considering the design-dependent behavior of the actuating loads. We use the Darcy law with the conceptualized drainage term to model the design-dependent nature of the applied pressure loads. The standard finite element is employed to evaluate the consistent nodal loads from the obtained pressure field. The robust topology optimization formulation is used with the multi-criteria objective. The success of the presented approach is demonstrated by designing a member/soft robot of the pneumatic networks (PneuNets). The optimized member is combined in several series to get different PneuNets. Their CAD models are generated, and they are studied with high-pressure loads in a commercial software. Depending upon the number of members in the PneuNets, different output motions are noted.KeywordsSoft robotsTopology optimizationDesign-dependent loadsCompliant mechanisms