get_mechanical_shock_input_fields#
- Analysis.get_mechanical_shock_input_fields(model_source=None)#
Get mechanical shock property fields based on the user configuration.
Available Since: 2024R1
- Parameters:
- model_source: ModelSource, optional
Model source to get the random vibe property fields from. Only GENERATED is supported. Default is
None.
- Returns:
- Return type:
Examples
>>> from ansys.sherlock.core import launcher >>> sherlock, install_dir = launcher.launch_and_connect(transport_mode="wnua") >>> sherlock.project.import_odb_archive( >>> "ODB++ Tutorial.tgz", >>> True, >>> True, >>> True, >>> True, >>> project="Test", >>> cca_name="Card", >>> ) >>> sherlock.analysis.get_mechanical_shock_input_fields(ModelSource.GENERATED)