matflow.param_classes.load.LoadCase#

class matflow.param_classes.load.LoadCase(steps: 'List[LoadStep]')#

Bases: ParameterValue

Methods

biaxial

A single-step biaxial load case.

dump_to_HDF5_group

Write this parameter value to an HDF5 group.

example_uniaxial

A non-parametrisable example single-step uniaxial load case.

multistep

A load case with multiple steps.

planar_2D

A single-step planar 2D load case.

plane_strain

A single-step plane-strain load case.

prepare_JSON_dump

Prepare this parameter value for serialisation as JSON.

random_2D

A single-step random 2D load case.

random_3D

A single-step random 3D load case.

save_from_HDF5_group

Extract a parameter value from an HDF5 group.

save_from_JSON

Extract a parameter value from JSON data.

to_dict

Serialise this parameter value as a dictionary.

uniaxial

A single-step uniaxial load case.

uniaxial_cyclic

Uniaxial cyclic loading.

Attributes

num_steps

type

types

steps

Parameters:

steps (List[LoadStep]) –

classmethod biaxial(**kwargs)#

A single-step biaxial load case.

See LoadStep.biaxial for argument documentation.

Return type:

LoadCase

dump_to_HDF5_group(group)#

Write this parameter value to an HDF5 group.

classmethod example_uniaxial()#

A non-parametrisable example single-step uniaxial load case.

Return type:

LoadCase

classmethod multistep(steps)#

A load case with multiple steps.

Parameters:

steps (List[Dict | 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:

LoadCase

property num_steps#
classmethod planar_2D(**kwargs)#

A single-step planar 2D load case.

See LoadStep.planar_2D for argument documentation.

Return type:

LoadCase

classmethod plane_strain(**kwargs)#

A single-step plane-strain load case.

See LoadStep.plane_strain for argument documentation.

Return type:

LoadCase

prepare_JSON_dump()#

Prepare this parameter value for serialisation as JSON.

Return type:

Dict

classmethod random_2D(**kwargs)#

A single-step random 2D load case.

See LoadStep.random_2D for argument documentation.

Return type:

LoadCase

classmethod random_3D(**kwargs)#

A single-step random 3D load case.

See LoadStep.random_3D for argument documentation.

Return type:

LoadCase

classmethod save_from_HDF5_group(group, param_id, workflow)#

Extract a parameter value from an HDF5 group.

Parameters:

param_id (int) –

classmethod save_from_JSON(data, param_id, workflow)#

Extract a parameter value from JSON data.

Parameters:

param_id (int) –

steps: List[LoadStep]#
to_dict()#

Serialise this parameter value as a dictionary.

property type#
property types#
classmethod uniaxial(**kwargs)#

A single-step uniaxial load case.

See LoadStep.uniaxial for argument documentation.

Return type:

LoadCase

classmethod uniaxial_cyclic(**kwargs)#

Uniaxial cyclic loading.

See LoadStep.uniaxial_cyclic for argument documentation.

Return type:

LoadCase