Commit 95c512a7 authored by Amira Abdel-Rahman's avatar Amira Abdel-Rahman
Browse files

3d slices concurrent top opt

parent 8d7bca89
Pipeline #12125 passed with stage
in 27 seconds
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
%% Cell type:markdown id: tags:
 
# MGCG ANALYSIS
 
%% Cell type:code id: tags:
 
``` julia
include("./julia/include/_topologyOptimization.jl")
include("./julia/include/topmgcg.jl")
# include("./julia/include/top3mgcg.jl")
```
 
%% Output
 
Loaded Topology Optimization Library!
 
prepcoarse3 (generic function with 1 method)
 
%% Cell type:code id: tags:
 
``` julia
using Makie
AbstractPlotting.inline!(true)
```
 
%% Output
 
false
 
%% Cell type:code id: tags:
 
``` julia
t=1/1
nelx=Int(360*t)
nely=Int(240*t)
volfrac=0.2
penal=3.0
rmin=1.5
ft=2
nl=4
cgtol=1e-10
cgmax=100
 
 
top2dmgcg(nelx,nely,volfrac,penal,rmin,ft,nl,cgtol,cgmax)
 
```
 
%% Output
 
 
It: 1 Comp.: 2623.26 Vol.: 0.2 Chg.: 0.2 CGres: 0.0 CGits: 18.0 Penal: 3.0
 
 
It: 2 Comp.: 1508.32 Vol.: 0.2 Chg.: 0.2 CGres: 0.0 CGits: 21.0 Penal: 3.0
 
 
It: 3 Comp.: 1037.44 Vol.: 0.2 Chg.: 0.2 CGres: 0.0 CGits: 19.0 Penal: 3.0
 
 
It: 4 Comp.: 819.05 Vol.: 0.2 Chg.: 0.2 CGres: 0.0 CGits: 19.0 Penal: 3.0
 
 
It: 5 Comp.: 669.63 Vol.: 0.2 Chg.: 0.2 CGres: 0.0 CGits: 20.0 Penal: 3.0
 
 
It: 6 Comp.: 529.41 Vol.: 0.2 Chg.: 0.2 CGres: 0.0 CGits: 21.0 Penal: 3.0
 
 
It: 7 Comp.: 427.77 Vol.: 0.2 Chg.: 0.2 CGres: 0.0 CGits: 23.0 Penal: 3.0
 
 
It: 8 Comp.: 337.1 Vol.: 0.2 Chg.: 0.2 CGres: 0.0 CGits: 25.0 Penal: 3.0
 
 
It: 9 Comp.: 266.54 Vol.: 0.2 Chg.: 0.2 CGres: 0.0 CGits: 26.0 Penal: 3.0
 
 
It: 10 Comp.: 206.94 Vol.: 0.2 Chg.: 0.2 CGres: 0.0 CGits: 26.0 Penal: 3.0
 
 
It: 11 Comp.: 164.9 Vol.: 0.2 Chg.: 0.2 CGres: 0.0 CGits: 26.0 Penal: 3.0