Metafor

ULiege - Aerospace & Mechanical Engineering

User Tools

Site Tools


doc:user:elements:volumes:user_defined_materials

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:user:elements:volumes:user_defined_materials [2024/06/14 14:17] radermeckerdoc:user:elements:volumes:user_defined_materials [2024/10/22 14:15] (current) radermecker
Line 13: Line 13:
          
 <WRAP center round important 60%> <WRAP center round important 60%>
-So far, global perturbation (of the internal forces) must be used. 
- 
 Selective integration with pressure report ''SRIPR'' for the integration will not work. Selective integration with pressure report ''SRIPR'' for the integration will not work.
 +</WRAP>
 +<WRAP center round info 60%>
 +The material tangent moduli is automatically approximated using finite central difference.
 </WRAP> </WRAP>
  
Line 24: Line 25:
 import numpy as np import numpy as np
 metafor = None metafor = None
- 
-class PythonHyperMaterial: 
-    def __init__(self, _no): 
-        self._no = _no 
  
 class UserMat(PythonHyperMaterial): class UserMat(PythonHyperMaterial):
Line 56: Line 53:
     elementsProps = ElementProperties(Volume2DElement)     elementsProps = ElementProperties(Volume2DElement)
     elementsProps.put(MATERIAL, 1)     elementsProps.put(MATERIAL, 1)
-    elementsProps.put(STIFFMETHOD, STIFF_NUMERIC) 
  
     # ... some code ... #     # ... some code ... #
doc/user/elements/volumes/user_defined_materials.1718367425.txt.gz · Last modified: by radermecker

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki