Télécharger topoptim_10_Non-linear.dgibi
* fichier topoptim_10_Non-linear.dgibi ************************************************************************ ************************************************************************ ************************************************************************ ** Non-linear topology optimization of a simple 2D structure in contact ** with a rigid sphere with prescribed displacement. ** ** Author: ** Guenhael Le Quilliec (LaMe - Polytech Tours) ** ** Version: ** V2.0 2025/11/13 Updated to make it compatible with TOPOPTIM V4.0 ** V1.0 2017/04/18 Original version compatible with TOPOPTIM V2.1 ************************************************************************ * Plot results graph0 = FAUX ; * General options * Number of elements nelp0 = 30 ; nelr0 = 30 ; nelz0 = 30 ; * Dimensions r0 = 20.0e-3 ; l1 = nelr0 * 1.0e-3 ; l2 = nelz0 * 1.0e-3 ; * Bulk mesh p0 = 0.0 0.0 ; p1 = 0.0 (-1.0 * l2) ; p2 = l1 (-1.0 * l2) ; p3 = l1 0.0 ; * Indent mesh p5 = 0.0 r0 ; p6 = r0 r0 ; * Model and material * Time steps nbstp0 = 20 ; time0 = 2.0 ; * Boundary conditions * Loading * Contact * Factor evolutions * Finite element model table mdl0.'MODELE' = mod0 ET modct0 ; mdl0.'CARACTERISTIQUES' = mat0 ET matct0 ; mdl0.'BLOCAGES_MECANIQUES' = bc1 ET bc2 ; mdl0.'CHARGEMENT' = load0 ; mdl0.'TEMPS_CALCULES' = lst_tps0 ; * Optimization table tab0.'RESOLUTION_PASAPAS' = mdl0 ; tab0.'FRACTION_VOLUME_LIMITE' = 0.2 ; tab0.'PENALISATION_P' = pfct0 ; tab0.'OC_Q' = qfct0 ; tab0.'SEUIL_ELEMENTS_ACTIFS' = 1.0e-2 ; tab0.'MES_SAUVEGARDES'.'RESOLUTION' = VRAI ; *tab0.'FILTRE' = MOT 'EDP' ; *tab0.'FILTRE_EDP_RAYON' = 2.0 * l1 / (FLOT nelr0) ; *tab0.'FILTRE' = MOT 'CHAPEAU' ; *tab0.'FILTRE_CHAPEAU_RAYON' = 2.5 * l1 / (FLOT nelr0) ; *tab0.'FILTRER' = MOT 'DENSITE' ; *tab0.'OPTIMISEUR' = MOT 'MMA' ; * Optimization TOPOPTIM tab0 ; * Output data topo0 = tab0.'TOPOLOGIE'.(tab0.'CYCLE') ; topomsh0 = tab0.'MAILLAGE'.(tab0.'CYCLE') ; res0 = tab0.'RESOLUTION'.(tab0.'CYCLE') ; * Deform the mesh * Plot final deformed mesh * and final topology (physical density) SI graph0 ; 'TITR' 'Topologie finale' ; FINS ; * Plot output evolutions SI graph0 ; ' au cours des cycles d''optimisation') ; FIN loop0 ; FINS ; FIN ;
© Cast3M 2003 - Tous droits réservés.
Mentions légales