create_dataset_transient_assignment#

Icepak.create_dataset_transient_assignment(ds_name: str, scale: str | float | None = 1) PieceWiseLinearDictionary#

Create a transient assignment from a dataset.

Parameters:
ds_namestr

Name of the dataset.

scalefloat or str, optional

Value for scaling the y value of the dataset. The default is 1.

Returns:
ansys.aedt.core.modules.boundary.icepak_boundary.PieceWiseLinearDictionary

Boundary dictionary object that can be passed to boundary condition assignment functions.

Examples

>>> from ansys.aedt.core.icepak import Icepak
>>> obj = Icepak()
>>> obj.create_dataset1d_design("PowerProfile", [0, 1, 2], [0, 5, 10])
>>> obj.create_dataset_transient_assignment("PowerProfile", scale=1)