Topology Optimization - How to apply load at different nodes

조회 수: 13 (최근 30일)
I am working on a standard code for the topology optimization of a MBB beam as in the figure.The force has to be defined at the upper left corner. The design domain is descretized into finite elements, say 100 elements in the x-direction and 10 elements in the y-direction. Both node numbers and element numbers are numbered column wise from left to right.Now, I want to change the position of code the midpoint of right side end of the beam. How do I do that?

채택된 답변

Anderson Pereira
Anderson Pereira 2021년 1월 27일
Hi Sagar,
If you are refering to the 99-line code, available at https://www.topopt.mek.dtu.dk/Apps-and-software/A-99-line-topology-optimization-code-written-in-MATLAB, the corner nodes are labeled as
upper left corner = 1
bottom left corner = nely+1
upper right corner = (nelx)*(nely+1)+1
bottom left corner = (nelx+1)*(nely+1)
Finally, considering that nely is even, the middle node of the right edge is
midpoint = (nelx)*(nely+1)+1+nely/2
Best,
Anderson
  댓글 수: 4
Anderson Pereira
Anderson Pereira 2021년 2월 3일
Hi Sagar,
Lines 37–48 are related to the Optimality criteria based optimizer. Please take a look at the code article:
Sigmund, O. A 99 line topology optimization code written in Matlab. Struct Multidisc Optim 21, 120–127 (2001). https://doi.org/10.1007/s001580050176
Best,
Anderson
Sagar Gupta Satrasala
Sagar Gupta Satrasala 2021년 3월 14일
Hi,
I am trying to calculate stress at each element of the beam in the same code and included the code to calculate that inside the while loop(lines 46-48). But I am getting very high stress values. Can anyone please help me to find the reason for that,

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by