Topology optimization

About the development of the FEM module/workbench.

Moderator: bernd

bek_ad
Posts: 1
Joined: Sat Nov 18, 2017 11:33 am

Re: Topology optimization

Postby bek_ad » Sat Nov 18, 2017 12:12 pm

my first topology optimized part using "bezo" , this tool is awesome, thank you "fandaL", (i want to send picture but as it is my first post on the forum i don’t know how)
jmaustpc
Posts: 9532
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Topology optimization

Postby jmaustpc » Sun Nov 19, 2017 12:38 am

bek_ad wrote:
Sat Nov 18, 2017 12:12 pm
(i want to send picture but as it is my first post on the forum i don’t know how)
The forum rules link above the help forum shows you how and other useful tips.
Matael
Posts: 82
Joined: Tue Mar 01, 2016 10:50 pm
Location: France

Re: Topology optimization

Postby Matael » Mon Mar 05, 2018 1:29 pm

Hi!

it sounds to me there is a difference between topology optimization and shape optimization am I wrong?
fandaL
Posts: 333
Joined: Thu Jul 24, 2014 8:29 am

Re: Topology optimization

Postby fandaL » Mon Mar 05, 2018 10:25 pm

Matael wrote:
Mon Mar 05, 2018 1:29 pm
Hi!

it sounds to me there is a difference between topology optimization and shape optimization am I wrong?
Yes, but sometimes it is not so clear if you look at specific method.
Frequent classification in structural optimization is to
  • Size optimization - e.g. searching for width and high of cantilevered beam
  • Shape optimization - searching for outer shape, e.g. by moving surface nodes
  • Topology optimization - to find distribution of material in the space, i.e. each element is there or not
Matael
Posts: 82
Joined: Tue Mar 01, 2016 10:50 pm
Location: France

Re: Topology optimization

Postby Matael » Tue Mar 06, 2018 1:18 pm

fandaL wrote:
Mon Mar 05, 2018 10:25 pm
Yes, but sometimes it is not so clear if you look at specific method.
Frequent classification in structural optimization is to
  • Size optimization - e.g. searching for width and high of cantilevered beam
  • Shape optimization - searching for outer shape, e.g. by moving surface nodes
  • Topology optimization - to find distribution of material in the space, i.e. each element is there or not
Thank's for your answer!
Is there an order to run each optimization?
fandaL
Posts: 333
Joined: Thu Jul 24, 2014 8:29 am

Re: Topology optimization

Postby fandaL » Tue Mar 06, 2018 10:18 pm

Matael wrote:
Tue Mar 06, 2018 1:18 pm
Is there an order to run each optimization?
It depends on your task, tools available, and manufacturing possibilities. It's hard to generalize.
When you are only improving existing model (solving some specific issue) you can use sizing optimization to vary radii, thickness of some features and so. If you are starting from a scratch you could use topology optimization, smooth results and then use shape optimization - maybe you can directly 3D print it, but if you would like to get rather inspired for drawing part by yourself, e.g. for milling, you can jump from topology optimization over shape optimization and use size optimization to get "human" readable or normalized dimensions instead of organic shapes.
Matael
Posts: 82
Joined: Tue Mar 01, 2016 10:50 pm
Location: France

Re: Topology optimization

Postby Matael » Wed Mar 07, 2018 9:50 am

@fandal

Thank's for your answers ! it's really interresting =)
Ehn
Posts: 1
Joined: Thu Nov 22, 2018 1:30 pm

Re: Topology optimization

Postby Ehn » Thu Nov 22, 2018 1:45 pm

I was wondering what is the status of the topology optimization using CalcliX FEM solver at this present time? its been 2 years, I was wondering if there are other topology optimization tools for FreeCAD
fandaL
Posts: 333
Joined: Thu Jul 24, 2014 8:29 am

Re: Topology optimization

Postby fandaL » Fri Nov 23, 2018 4:44 pm

I can speak only according to my project https://github.com/fandaL/beso I don‘t know if someone else is planning to implement topology optimization to FreeCAD (e.g. https://github.com/DMST1990/ToOptiX )
I was thinking already long time ago about making a simple GUI for FreeCAD which would be easier to use for a basic task (in compare to setting manually all parameters in the python configuration file), but as you can see… I have not started yet. :|
DMST1990
Posts: 7
Joined: Fri Jun 24, 2016 7:43 am

Re: Topology optimization

Postby DMST1990 » Tue Dec 11, 2018 1:42 pm

fandaL wrote:
Fri Nov 23, 2018 4:44 pm
I can speak only according to my project https://github.com/fandaL/beso I don‘t know if someone else is planning to implement topology optimization to FreeCAD (e.g. https://github.com/DMST1990/ToOptiX )
I was thinking already long time ago about making a simple GUI for FreeCAD which would be easier to use for a basic task (in compare to setting manually all parameters in the python configuration file), but as you can see… I have not started yet. :|
I created a macro for FreeCAD, so you can define a model in FreeCAD and start an optimization run by using a simple macro. The process will start externally, so that a termianl will pop up. There you have to wait for the results (which are located in the ToOptix folder 'work'). (You can use FreeCAD during the analysis)


This works for simple 3D models with the first material definition as design space and the second material definition as the non design space by default.

Image

https://github.com/DMST1990/ToOptixUpdate
You can use MayAvi as a post processor during the analysis as well (I would not recommend this and you have to install VTK).
The optimization settings can be defined in the file 'run_optimization_freeCAD.py'.

So in may case you have to specify everything in a configuration file like in "fandaL"´s project.