Télécharger topomate.procedur

Retour à la liste

Numérotation des lignes :

  1. * TOPOMATE PROCEDUR FD218221 25/12/18 21:15:08 12429
  2.  
  3. ************************************************************************
  4. ** Procedure called by TOPOPTIM for modifying the material properties to
  5. ** account for a given penalized physical density field (Z).
  6. **
  7. ** Author:
  8. ** Guenhael Le Quilliec (LaMe - Polytech Tours)
  9. **
  10. ** Version:
  11. ** 2.1 2025/11/28 Updated variable names for TOPOPTIM 4.0.
  12. ** 2.0 2024/04/16 List of components is now given as input.
  13. ** 1.0 2017/04/18 Initial version
  14. ************************************************************************
  15.  
  16. DEBP TOPOMATE mod*'MMODEL' mat*'MCHAML' Z*'MCHAML' lstcpn*'LISTMOTS' ;
  17.  
  18. * Extract the other components
  19. lstcpn1 = (mat EXTR 'COMP') SAUF lstcpn ;
  20.  
  21. * Multiply the desired components by the density field
  22. Zmat = (EXCO lstcpn mat) * (CHAN Z mod 'RIGIDITE' '') ;
  23.  
  24. * Add the modified components to the output field
  25. SI ((DIME lstcpn1) > 0) ;
  26. Zmat = Zmat ET (mat EXCO lstcpn1) ;
  27. FINS ;
  28.  
  29. FINP Zmat ;
  30.  
  31.  
  32.  

© Cast3M 2003 - Tous droits réservés.
Mentions légales