99 lines of topoly optimization

Adriano_Koga
Adriano_Koga
Altair Employee
edited November 2020 in Community Q&A

Hi everyone,

 

i'd like to share a script slightly modified, based on the very famous 99lines topology optimization script from Ole Sigmund group (http://www.topopt.mek.dtu.dk/).

It brings a topology optimization problem, for miminize compliance, while keeping a limited volume fraction of material. It is a bi-supported beam example.

This runs fine in Compose 2019..3+ I believe.

 

Just load the .oml file, and run the script.

Then for execution type a few parameters while calling the 'top' function.

 

top(20,10,0.5,3.0,1.5)

top(numb elems in x, numb elems y, volume fraction, penalization , minimum radius filter)

 

<?xml version="1.0" encoding="UTF-8"?>image.thumb.png.c382ab7f1448554d8bb17954af546644.png

Unable to find an attachment - read this blog

Tagged:

Answers

  • Joao_21860
    Joao_21860 Altair Community Member
    edited October 2020

    @Adriano A. Koga 

     

    Is it possible to modify this file in order it interfaces with the OptiStruct solver? Or use a model created in HyperMesh?

  • Adriano Koga_20259
    Adriano Koga_20259 New Altair Community Member
    edited October 2020

    Hi João,

     

    I hope you're alright.

    In general terms, it would be possible to modify it to create some couplings, but it would be nice to understand a little better what you are trying to accomplish. Can you describe a little better what you have in mind, and why do you want to include OptiStruct in the loop?

     

    BR

    Adriano

  • Adriano Koga_20259
    Adriano Koga_20259 New Altair Community Member
    edited October 2020

    attaching again the Compose version of 99lines topology optimization.

  • Adriano Koga_20259
    Adriano Koga_20259 New Altair Community Member
    edited November 2020

    attaching again the Compose version of 99lines topology optimization.

    updated version:

     

    after running the script, execute it by using something like this>

    top(20,10,0.5,3.0,1.5)