DynaSettings
#
- class ansys.health.heart.settings.settings.DynaSettings(lsdyna_path: pathlib.Path = 'lsdyna.exe', dynatype: Literal['smp', 'intelmpi', 'platformmpi', 'msmpi'] = 'intelmpi', num_cpus: int = 1, platform: Literal['windows', 'wsl', 'linux'] = 'windows', dyna_options: str = '', mpi_options: str = '')#
Class for collecting, managing, and validating LS-DYNA settings.
Overview#
Get command line arguments from the defined settings. |
Path to LS-DYNA executable. |
|
Type of DYNA executable. |
|
Number of CPU’s requested. |
|
Platform DYNA is executed on. |
|
Additional command line options for dyna. |
Represent self as string. |
Import detail#
from ansys.health.heart.settings.settings import DynaSettings
Attribute detail#
- DynaSettings.lsdyna_path: pathlib.Path = 'lsdyna.exe'#
Path to LS-DYNA executable.
- DynaSettings.dyna_options = ''#
Additional command line options for dyna.
Method detail#
- DynaSettings.get_commands(path_to_input: pathlib.Path) List[str] #
Get command line arguments from the defined settings.
- Parameters:
- path_to_input
pathlib.Path
Path to the LS-DYNA input file.
- path_to_input
- Returns:
List
[str
]List of strings of each of the commands.
- DynaSettings.__repr__()#
Represent self as string.