PyTOPress: Python code for topology optimization with design-dependent pressure loads
Fuente:
arXiv
Saved in:
| Main Authors: | , , |
|---|---|
| Format: | Preprint |
| Published: |
2024
|
| Subjects: | |
| Online Access: | |
| Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
| _version_ | 1866915134018945024 |
|---|---|
| author | Saxena, Shivajay Sarkar, Swagatam Islam Kumar, Prabhat |
| author_facet | Saxena, Shivajay Sarkar, Swagatam Islam Kumar, Prabhat |
| contents | Python is a low-cost and open-source substitute for the MATLAB programming language. This paper presents ``\texttt{PyTOPress}", a compact Python code meant for pedagogical purposes for topology optimization for structures subjected to design-dependent fluidic pressure loads. \texttt{PyTOPress}, based on the ``\texttt{TOPress}" MATLAB code \cite{kumar2023topress}, is built using the \texttt{NumPy} and \texttt{SciPy} libraries. The applied pressure load is modeled using the Darcy law with the conceptualized drainage term. From the obtained pressure field, the constant nodal loads are found. The employed method makes it easier to compute the load sensitivity using the adjoint-variable method at a low cost. The topology optimization problems are solved herein by minimizing the compliance of the structure with a constraint on material volume. The method of moving asymptotes is employed to update the design variables. The effectiveness and success of \texttt{PyTOPress} code are demonstrated by optimizing a few design-dependent pressure loadbearing problems. The code is freely available at https://github.com/PrabhatIn/PyTOPress. |
| format | Preprint |
| id |
arxiv_https___arxiv_org_abs_2410_22131 |
| institution | arXiv |
| publishDate | 2024 |
| record_format | arxiv |
| spellingShingle | PyTOPress: Python code for topology optimization with design-dependent pressure loads Saxena, Shivajay Sarkar, Swagatam Islam Kumar, Prabhat Computational Engineering, Finance, and Science Python is a low-cost and open-source substitute for the MATLAB programming language. This paper presents ``\texttt{PyTOPress}", a compact Python code meant for pedagogical purposes for topology optimization for structures subjected to design-dependent fluidic pressure loads. \texttt{PyTOPress}, based on the ``\texttt{TOPress}" MATLAB code \cite{kumar2023topress}, is built using the \texttt{NumPy} and \texttt{SciPy} libraries. The applied pressure load is modeled using the Darcy law with the conceptualized drainage term. From the obtained pressure field, the constant nodal loads are found. The employed method makes it easier to compute the load sensitivity using the adjoint-variable method at a low cost. The topology optimization problems are solved herein by minimizing the compliance of the structure with a constraint on material volume. The method of moving asymptotes is employed to update the design variables. The effectiveness and success of \texttt{PyTOPress} code are demonstrated by optimizing a few design-dependent pressure loadbearing problems. The code is freely available at https://github.com/PrabhatIn/PyTOPress. |
| title | PyTOPress: Python code for topology optimization with design-dependent pressure loads |
| topic | Computational Engineering, Finance, and Science |
| url | https://arxiv.org/abs/2410.22131 |