SimpleLoadSetupPipeline#

Qualified name: api.simulation.load\_cases.load\_setup.SimpleLoadSetupPipeline

class api.simulation.load_cases.load_setup.SimpleLoadSetupPipeline(load_case_setup_pipeline, load)[source]#

Bases: LoadSetupPipeline

Methods

set_dof

Set the DOF with dof_name to the value supplied

set_dof_dict

Sets the load vector of the load to the values supplied in the dof_values_dict

set_dof(dof_name, value)[source]#

Set the DOF with dof_name to the value supplied

set_dof_dict(dof_values_dict: dict)[source]#

Sets the load vector of the load to the values supplied in the dof_values_dict

e.g. dof of with name ‘u’ will be set to the value dof_values_dict[‘u’]

A one-liner to change a vector of values into a dictionary is:

dict(zip(dof_names, value_list))

Parameters:

dof_values_dict (dict[str, float]) – The dictionary mapping dof names to numerical values

Returns:

the setup object this method was called on, this allows pipeline style chaining

Return type:

self