Release 2022 R1

Task Definition Templates
  • Task Definition Templates are new resources introduced by DCS 2022 R1. Default templates are supplied for Ansys products like MAPDL and LS-DYNA, and additional templates can be created.

  • The Python Client lets you query, modify, create and delete Task Definition Templates.

Project Archive and Restore
  • You can now easily archive and restore projects using the functions Client.archive_project() and Client.restore_project(). Example usage:

    from ansys.dcs.client.dps import Client
    
    dcs1 = Client(dcs_url="https://localhost/dcs")
    project = client.get_project(id="my-project")
    
    # Save project archive to disk
    archive_path = client.archive_project(project, r"C:\my_backup_folder")
    
    # Restore project on a different DCS server
    dcs2 = Client(dcs_url="https://remote_host/dcs")
    project = client.restore_project(archive_path, "my-project-restored")
    

The following changes were made to adapt to the release 2022 R1 of the DCS APIs.

File resource
  • New property collect_interval: You can now specify a collect frequency for output files. This lets you collect intermediate result files while a task is running.

Evaluator resource
  • New property configuration: Details of the evaluator configuration, including hardware information and available applications.