Télécharger topoptim_03_Thermal.dgibi
* fichier topoptim_03_Thermal.dgibi ************************************************************************ ************************************************************************ ************************************************************************ ** Topology optimization of a simple 2D structure subjected to a ** thermal loading. ** ** Author: ** Guenhael Le Quilliec (LaMe - Polytech Tours) ** ** Version: ** V3.0 2025/11/13 Updated to make it compatible with TOPOPTIM V4.0 ** V2.0 2017/04/18 Updated to make it compatible with TOPOPTIM V2.0 ** V1.0 2014/04/28 Original version compatible with TOPOPTIM V1.0 ************************************************************************ * Plot results graph0 = FAUX ; * General options * Number of elements nelx0 = 40 ; nely0 = 40 ; * Dimensions l0 = nelx0 * 1.0 ; h0 = nely0 * 1.0 ; u0 = 2.0 ; * Mesh p0 = 0.0 0.0 ; p1 = 0.0 h0 ; p2 = l0 0.0 ; * Model and material * Boundary conditions and loading * Finite element model table mdl0.'MODELE' = mod0 ; mdl0.'CARACTERISTIQUES' = mat0 ; mdl0.'BLOCAGES_THERMIQUES' = bc0 ; mdl0.'CHARGEMENT' = load0 ; * Optimization table tab0.'RESOLUTION_LINEAIRE' = mdl0 ; tab0.'FRACTION_VOLUME_LIMITE' = 0.4 ; tab0.'RAPPORT_RAIDEURS_THERMIQUES' = 26.0e-3 / 50.0 ; *tab0.'FILTRE' = MOT 'EDP' ; *tab0.'FILTRE_EDP_RAYON' = 3.0 * l0 / (FLOT nelx0) ; *tab0.'FILTRE' = MOT 'CHAPEAU' ; *tab0.'FILTRE_CHAPEAU_RAYON' = 3.0 * l0 / (FLOT nelx0) ; *tab0.'FILTRER' = MOT 'DENSITE' ; *tab0.'OPTIMISEUR' = MOT 'MMA' ; * Optimization TOPOPTIM tab0 ; * Plot final topology (physical density) topo0 = tab0.'TOPOLOGIE'.(tab0.'CYCLE') ; topomsh0 = tab0.'MAILLAGE'.(tab0.'CYCLE') ; SI graph0 ; 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