A class holding constitutive and other material parameters.
Example input:
material_2 = {
'name' : 'm',
'values' : {'E' : 1.0},
}
Material parameters are passed to terms using the dot notation, i.e. ‘m.E’ in our example case.
name can be a dict - then a Struct instance with data as attributes named as the dict keys is returned.
Get all data keys.
Parameters: | region_name : str
|
---|
Iterate terms for which the material data should be evaluated.
Set the material data in quadrature points.
Parameters: | key : tuple
qps : Struct
data : dict
|
---|
Evaluate material parameters in physical quadrature points.
Parameters: | ts : TimeStepper instance
equations : Equations instance
mode : ‘normal’, ‘update’ or ‘force’
problem : Problem instance, optional
|
---|
Update the material parameters in quadrature points.
Parameters: | key : tuple
ts : TimeStepper
equations : Equations
term : Term
problem : Problem, optional
|
---|
Construct Materials instance from configuration.
Clear material data so that next materials.time_update() is performed even for stationary materials.
Update material parameters for given time, problem, and equations.
Parameters: | ts : TimeStepper instance
equations : Equations instance
mode : ‘normal’, ‘update’ or ‘force’
problem : Problem instance, optional
verbose : bool
|
---|