update_solder_fatigue_props#

Analysis.update_solder_fatigue_props(project, solder_fatigue_properties)#

Update properties for a solder fatigue analysis.

Available Since: 2024R1

Parameters:
project: str

Name of the Sherlock project.

solder_fatigue_properties: list[dict[str, bool | float | str]]

Mechanical shock properties for a CCA consisting of these properties:

  • cca_name: str

    Name of the CCA.

  • solder_material: str

    Solder material. The default is None.

  • part_temp: float

    Part temperature. The default is None.

  • part_temp_units: str

    Part temperature units. The default is None.

  • use_part_temp_rise_min: bool

    whether to apply min temp rise. The default is None.

  • part_validation_enabled: bool

    Whether to enable part validation. The default is None.

Returns:
:
int

Status code of the response. 0 for success.

Return type:

int

Examples

>>> from ansys.sherlock.core.launcher import launch_sherlock
>>> sherlock = launch_sherlock()
>>> sherlock.project.import_odb_archive(
    "ODB++ Tutorial.tgz",
    True,
    True,
    True,
    True,
    project="Test",
    cca_name="Card",
)
>>> sherlock.analysis.update_solder_fatigue_props(
    "Test",
    [{
        "cca_name": "Card",
        "solder_material": "TIN-LEAD (63SN37PB)",
        "part_temp": 70,
        "part_temp_units": "F",
        "use_part_temp_rise_min": True,
        "part_validation_enabled": True
    },
    ]
)