ACPWorkflow#

class ansys.acp.core.ACPWorkflow(*, acp, local_working_directory=None, local_file_path, file_format, **kwargs)#

Instantiate an ACP Workflow.

Use the class methods from_cdb_or_dat_file() and from_acph5_file() to instantiate the workflow.

Parameters:

Methods

ACPWorkflow.add_cad_geometry_from_local_file(path)

Add a local CAD geometry to the ACP model.

ACPWorkflow.from_acph5_file(acp, acph5_file_path)

Instantiate an ACP Workflow from an acph5 file.

ACPWorkflow.from_cdb_or_dat_file(*, acp, ...)

Instantiate an ACP Workflow from a cdb file.

ACPWorkflow.get_local_acph5_file()

Get the ACP Project file (in acph5 format) on the local machine.

ACPWorkflow.get_local_cdb_file()

Get the cdb file on the local machine.

ACPWorkflow.get_local_composite_definitions_file()

Get the composite definitions file on the local machine.

ACPWorkflow.get_local_materials_file()

Get the materials.xml file on the local machine.

ACPWorkflow.refresh_cad_geometry_from_local_file(...)

Refresh the CAD geometry from a local file.

Attributes

ACPWorkflow.model

Get the ACP Model.

ACPWorkflow.working_directory

Get the working directory.

Examples using ACPWorkflow#

Sandwich panel example

Sandwich panel example

Basic selection rules example

Basic selection rules example

Advanced selection rules example

Advanced selection rules example

Thickness definition example

Thickness definition example

Rosette example

Rosette example

Direction definition example

Direction definition example

PyMAPDL workflow

PyMAPDL workflow

Optimizing ply angles

Optimizing ply angles