matflow.param_classes.load.LoadCase#
- class matflow.param_classes.load.LoadCase(steps)#
- Bases: - ParameterValue- A loading case, consisting of a sequence of loadings to apply. - Methods - A single-step biaxial load case. - Turn this load case into a DAMASK loading plan. - Write a list (from an element group) of parameter values to an HDF5 group. - Write this parameter value to an HDF5 group. - A non-parametrisable example single-step uniaxial load case. - Importing loadcase from npz file - A load case with multiple steps. - A single-step planar 2D load case. - A single-step plane-strain load case. - Prepare this parameter value for serialisation as JSON. - A single-step random 2D load case. - A single-step random 3D load case. - Extract a parameter value from an HDF5 group. - Extract a parameter value from JSON data. - Serialise this parameter value as a dictionary. - A single-step uniaxial load case. - Uniaxial cyclic loading. - Attributes - The number of steps in the case. - The type of the step if there is only a single step, or the types if there are multiple steps. - The types of the steps. - The steps in the loading case. - Parameters:
- steps (list[matflow.param_classes.load.LoadStep]) – 
 - classmethod biaxial(**kwargs)#
- A single-step biaxial load case. - See - biaxial()for argument documentation.- Return type:
 
 - create_damask_loading_plan()#
- Turn this load case into a DAMASK loading plan. 
 - classmethod dump_element_group_to_HDF5_group(objs, group)#
- Write a list (from an element group) of parameter values to an HDF5 group. - Parameters:
- objs (list[Self]) – 
- group (HDF5Group) – 
 
 
 - dump_to_HDF5_group(group)#
- Write this parameter value to an HDF5 group. - Parameters:
- group (HDF5Group) – 
 
 - classmethod example_uniaxial()#
- A non-parametrisable example single-step uniaxial load case. - Return type:
 
 - classmethod from_npz_file(**kwargs)#
- Importing loadcase from npz file - See - from_npz_file()for argument documentation.- Return type:
 
 - classmethod multistep(steps)#
- A load case with multiple steps. - Parameters:
- steps (list[dict[str, Any] | matflow.param_classes.load.LoadStep]) – A list of LoadStep objects or dict`s representing `LoadStep objects, in which case if a dict has a key type, the corresponding LoadStep classmethod will be invoked with the remainder of the dict items. 
- Return type:
 
 - classmethod planar_2D(**kwargs)#
- A single-step planar 2D load case. - See - planar_2D()for argument documentation.- Return type:
 
 - classmethod plane_strain(**kwargs)#
- A single-step plane-strain load case. - See - plane_strain()for argument documentation.- Return type:
 
 - prepare_JSON_dump()#
- Prepare this parameter value for serialisation as JSON. 
 - classmethod random_2D(**kwargs)#
- A single-step random 2D load case. - See - random_2D()for argument documentation.- Return type:
 
 - classmethod random_3D(**kwargs)#
- A single-step random 3D load case. - See - random_3D()for argument documentation.- Return type:
 
 - classmethod save_from_HDF5_group(group, param_id, workflow)#
- Extract a parameter value from an HDF5 group. 
 - classmethod save_from_JSON(data, param_id, workflow)#
- Extract a parameter value from JSON data. 
 - steps: list[matflow.param_classes.load.LoadStep]#
- The steps in the loading case. 
 - property type: str | list[str]#
- The type of the step if there is only a single step, or the types if there are multiple steps. 
 - classmethod uniaxial(**kwargs)#
- A single-step uniaxial load case. - See - uniaxial()for argument documentation.- Return type:
 
 - classmethod uniaxial_cyclic(**kwargs)#
- Uniaxial cyclic loading. - See - uniaxial_cyclic()for argument documentation.- Return type: