GithubHelp home page GithubHelp logo

batmanabcdefg / tosse Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vlatorre847/tosse

0.0 0.0 0.0 31 KB

An Efficient 51 lines Matlab code for topology optimization.

License: GNU General Public License v3.0

MATLAB 100.00%

tosse's Introduction

TOSSE

An Efficient 51 lines Matlab code for topology optimization.

TOSSE (Topology Optimization Same Size Elements) is a Matlab code for 2D and 3D topology design problems. The code uses the classic 88 lines code known as TOP88 as basis in order to develop an hard 0-1 evolutionary algorithm that, at every iteration, hard kills the elements. The new code is comprised of 51 lines without sacrificing any readability, making it useful for practitioners who want to approach the field.

The algorithm shows an efficiency on averange superior to TOP88 and structures with almost none checkered board patterns.

For more details on the theory and the numerical results you can check the paper available on: https://arxiv.org/abs/1902.00877

Usage

On this project three codes are available:

tosse.m
tosse_cant.m
tosse3d.m

The first is a topology optimization code for the Messerschmitt-Bolkow-Blohm (MBB) beam. The code can be launched by typing in the Matlab terminal the following command:

tosse(nelx,nely,volfrac,mu)

where nelx is the number of elements on the x-axis, nely is the number of elements on the y axis, volfrac is the desired volume in the final design and mu is the volume reduction parameter.

A practical example of a call is:

tosse(180,60,0.5,0.97)

For a 180X60 design domain with half of the original volume.

tosse_cant.m

This code solves 2D topologies for the cantilever beam. The code can be launched in a similar fashion to tosse.m:

tosse_cant(nelx,nely,volfrac,mu,sym)

where the parameter sym indicates if the algorithm has to enforce symmetry in the final design.

tosse3d.m

This code solved 3D topologies for the cantilever beam. The launch command on the terminal is:

tosse3d(nelx,nely,nelz,volfrac,vc,mu)

where nelz is the number of elements on the z-axis.

Extensions

This code can be considered as a basis for future more complex codes in topology optimization. Many of the extensions that can be found in literature like other boundary conditions, passive elements, displacement constraints and so on (see for example 1,2,3) can be applied with small modifications to this code as well.

License

The software is distribuited under the GNU License. Check the License.md file for more information.

tosse's People

Contributors

vlatorre847 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.