* TOPOINFO PROCEDUR FD218221 25/12/18 21:15:07 12429 ************************************************************************ ** Procedure called by TOPOPTIM for giving information and remarks ** at the beginning of the optimization loop. ** ** Author: ** Guenhael Le Quilliec (LaMe - Polytech Tours) ** ** Version: ** 2.0 2025/12/05 Made compatible with TOPOPTIM V4.0 ** 1.0 2021/04/15 Initial version ************************************************************************ DEBP TOPOINFO tab*'TABLE' ; * Input data * ********** Wtab = tab.'WTABLE' ; Ltab = Wtab.'LOGIQUE' ; cyc = Wtab.'CYCLE' ; * Informations * ************ SI (Wtab.'ITERATION' EGA 1) ; SI (cyc EGA 1) ; MESS 'Informations sur l''optimisation topologique :' ; * General information * ******************* MESS ' ' ; * Type of problem SINO ; FINS ; SI (Ltab.'MECANIQUE' ET Ltab.'THERMIQUE') ; SINO ; SI Ltab.'MECANIQUE' ; MESS ' d''un probleme mecanique' ; FINS ; SI Ltab.'THERMIQUE' ; MESS ' d''un probleme thermique' ; FINS ; FINS ; * Multicases and/or geometric restrictions SI Ltab.'CAS_MULTIPLES' ; SI Ltab.'RESTRICTIONS' ; FINS ; SINO ; SI Ltab.'RESTRICTIONS' ; MESS ' avec des restrictions geometriques' ; FINS ; FINS ; * Mesh * **** MESS ' ' ; * User-defined procedure call(s) * ****************************** SI tab.'PROCEDURE_TOPOUPDT' ; MESS ' ' ; FINS ; SI tab.'PROCEDURE_TOPOPERS' ; MESS ' ' ; FINS ; * Optimizer * ********* MESS ' ' ; SI (EGA tab.'OPTIMISEUR' 'OC') ; SINO ; FINS ; FINS ; SI Ltab.'ZONE_FIGEE' ; MESS ' avec une portion du domaine initial figee' ; FINS ; * Objective * ********* MESS ' ' ; * Compliance SI Ltab.'OBJECTIF_COMPLIANCE' ; SI Ltab.'MECANISME' ; MESS ' de sortie d''un mecanisme' ; FINS ; SI (Ltab.'MECANIQUE' ET ((ABS tab.'POIDS_ENERGIE_DEFO') > tab.'PRECISION')) ; MESS ' deformation elastique totale' ; FINS ; SI (Ltab.'THERMIQUE' ET ((ABS tab.'POIDS_ENERGIE_DEFO') > tab.'PRECISION')) ; MESS ' thermique totale' ; FINS ; FINS ; * Volume SI Ltab.'OBJECTIF_VOLUME' ; MESS ' de matiere' ; FINS ; * Constraints * *********** SI Ltab.'CONTRAINTE_VOLUME' ; MESS ' ' ; SI (EGA tab.'OPTIMISEUR' 'OC') ; SINO ; FINS ; FINS ; SI Ltab.'CONTRAINTE_SIGMA_VM' ; MESS ' ' ; SI Ltab.'VERBART' ; FINS ; SI Ltab.'CONIGLIO' ; FINS ; SI (EGA Wtab.'AGREGATION' 'KSL') ; FINS ; SI (EGA Wtab.'AGREGATION' 'KSU') ; FINS ; SI (EGA Wtab.'AGREGATION' 'PNOR') ; FINS ; SI (EGA Wtab.'AGREGATION' 'PMOY') ; FINS ; FINS ; * Filter * ****** MESS ' ' ; * Field to be filtered SI Ltab.'FILTRE_SENSIBILITE_OBJECTIF' ; FINS ; SI Ltab.'FILTRE_SENSIBILITES_CONTRAINTES' ; FINS ; SI Ltab.'FILTRE_DENSITE' ; FINS ; * Type of filter SI (EGA tab.'FILTRE' 'EDP') ; FINS ; SI (EGA tab.'FILTRE' 'CHAPEAU') ; FINS ; SI (EGA tab.'FILTRE' 'GIBIANE') ; FINS ; * Binarization * ************ SI Ltab.'PROJECTION' ; MESS ' ' ; SI (EGA tab.'PROJECTION' 'GUEST_2004') ; SINO ; MESS ' avec une fonction sigmoide hyperbolique' ; SI Ltab.'PROJECTION_VOLUME_CONSTANT' ; MESS ' a volume total constant' ' (seuil de projection automatique)' ; FINS ; FINS ; * Alert SI (NON Ltab.'FILTRE_DENSITE') ; MESS ' filtrage de la densite.' ; FINS ; FINS ; SI ((EGA tab.'OPTIMISEUR' 'OC') ET (Wtab.'OC_Q' > 1)) ; MESS ' ' ; FINS ; * Remark(s) * ********* MESS 'Remarque :' ; MESS ' ' ; MESS ' Activez la pour de meilleures performances.' ; SI (EGA tab.'FILTRE' 'EDP') ; FINS ; FINS ; SINO ; * Alert MESS ' pour faciliter la reprise d''une optimisation.' ; FINS ; FINS ; FINS ; FINP ;
© Cast3M 2003 - Tous droits réservés.
Mentions légales