Model#

class ansys.acp.core.Model(*, name='ACP Model', use_nodal_thicknesses=False, draping_offset_correction=False, angle_tolerance=1.0, relative_thickness_tolerance=0.01, minimum_analysis_ply_thickness=1e-06)#

Defines an ACP Model.

Wrapper for accessing an ACP Model residing on a server.

Parameters:
  • name (str) – The name of the model.

  • use_nodal_thicknesses (bool) – Defines whether to use nodal thicknesses or element thicknesses.

  • draping_offset_correction (bool) – Defines whether to consider lay-up thickness in draping analysis.

  • angle_tolerance (float) – Section computation angle tolerance (in degree).

  • relative_thickness_tolerance (float) – Section computation relative thickness tolerance.

  • minimum_analysis_ply_thickness (float) – Section computation minimum analysis ply thickness (in length unit of model).

Added in ACP server version 24.2.

Methods

Model.create_boolean_selection_rule(*[, ...])

Instantiate a Boolean Selection Rule.

Model.create_cad_geometry(*[, name, ...])

Instantiate a CAD Geometry.

Model.create_cutoff_selection_rule(*[, ...])

Instantiate a Cutoff Selection Rule.

Model.create_cylindrical_selection_rule(*[, ...])

Instantiate a Cylindrical Selection Rule.

Model.create_edge_set(*[, name, ...])

Instantiate an edge set.

Model.create_element_set(*[, name, ...])

Instantiate an Element Set.

Model.create_fabric(*[, name, material, ...])

Instantiate a Fabric.

Model.create_field_definition(*[, name, ...])

Instantiate a Field Definition.

Model.create_geometrical_selection_rule(*[, ...])

Instantiate a Geometrical Selection Rule.

Model.create_imported_modeling_group(*[, name])

Instantiate an imported modeling group.

Model.create_imported_solid_model(*[, name, ...])

Instantiate an imported solid model.

Model.create_lookup_table_1d(*[, name, ...])

Instantiate a 1D Look-Up Table.

Model.create_lookup_table_3d(*[, name, ...])

Instantiate a 3D Look-Up Table.

Model.create_material(*[, name, ply_type, ...])

Instantiate a Material.

Model.create_modeling_group(*[, name])

Instantiate a modeling group.

Model.create_oriented_selection_set(*[, ...])

Instantiate an Oriented Selection Set.

Model.create_parallel_selection_rule(*[, ...])

Instantiate a Parallel Selection Rule.

Model.create_rosette(*[, name, ...])

Instantiate a Rosette.

Model.create_sampling_point(*[, name, ...])

Instantiate a Sampling Point.

Model.create_section_cut(*[, name, active, ...])

Instantiate a Section Cut.

Model.create_sensor(*[, name, sensor_type, ...])

Instantiate a Sensor.

Model.create_solid_model(*[, name, active, ...])

Instantiate a solid model.

Model.create_spherical_selection_rule(*[, ...])

Instantiate a Spherical Selection Rule.

Model.create_stackup(*[, name, symmetry, ...])

Instantiate a Stackup.

Model.create_sublaminate(*[, name, ...])

Instantiate a SubLaminate.

Model.create_tube_selection_rule(*[, name, ...])

Instantiate a Tube Selection Rule.

Model.create_variable_offset_selection_rule(*)

Instantiate a Variable Offset Selection Rule.

Model.create_virtual_geometry(*[, name, ...])

Instantiate a Virtual Geometry.

Model.delete()

Delete the object.

Model.export_analysis_model(path)

Save the analysis model to a CDB file.

Model.export_hdf5_composite_cae(path, *[, ...])

Export the lay-up to the HDF5 Composite CAE format.

Model.export_materials(path)

Write materials to a XML (MatML) file.

Model.export_modeling_ply_geometries(path, *)

Write ply geometries to a STEP, IGES, or STL file.

Model.export_shell_composite_definitions(path)

Export the lay-up of the shell as HDF5 used by DPF Composites or Mechanical.

Model.import_hdf5_composite_cae(path[, ...])

Import the lay-up from an HDF5 Composite CAE file.

Model.import_materials(matml_path, *[, ...])

Import materials from a MatML file.

Model.save(path, *[, save_cache])

Save ACP Model (.acph5).

Model.update(*[, relations_only])

Update the model.

Attributes

Examples using Model#

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

Advanced PyMAPDL workflow

Advanced PyMAPDL workflow