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, default: 'ACP Model') – The name of the model.

  • use_nodal_thicknesses (bool, default: False) – Defines whether to use nodal thicknesses or element thicknesses.

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

  • angle_tolerance (float, default: 1.0) – Section computation angle tolerance (in degree).

  • relative_thickness_tolerance (float, default: 0.01) – Section computation relative thickness tolerance.

  • minimum_analysis_ply_thickness (float, default: 1e-06) – Section computation minimum analysis ply thickness (in length unit of model).

Methods

Model.create_boolean_selection_rule(*args, ...)

Instantiate a Boolean Selection Rule.

Model.create_cad_geometry(*args, **kwargs)

Instantiate a CAD Geometry.

Model.create_cutoff_selection_rule(*args, ...)

Instantiate a Cutoff Selection Rule.

Model.create_cylindrical_selection_rule(...)

Instantiate a Cylindrical Selection Rule.

Model.create_edge_set(*args, **kwargs)

Instantiate an edge set.

Model.create_element_set(*args, **kwargs)

Instantiate an Element Set.

Model.create_fabric(*args, **kwargs)

Instantiate a Fabric.

Model.create_geometrical_selection_rule(...)

Instantiate a Geometrical Selection Rule.

Model.create_lookup_table_1d(*args, **kwargs)

Instantiate a 1D Look-Up Table.

Model.create_lookup_table_3d(*args, **kwargs)

Instantiate a 3D Look-Up Table.

Model.create_material(*args, **kwargs)

Instantiate a Material.

Model.create_modeling_group(*args, **kwargs)

Instantiate a modeling group.

Model.create_oriented_selection_set(*args, ...)

Instantiate an Oriented Selection Set.

Model.create_parallel_selection_rule(*args, ...)

Instantiate a Parallel Selection Rule.

Model.create_rosette(*args, **kwargs)

Instantiate a Rosette.

Model.create_sensor(*args, **kwargs)

Instantiate a Sensor.

Model.create_spherical_selection_rule(*args, ...)

Instantiate a Spherical Selection Rule.

Model.create_stackup(*args, **kwargs)

Instantiate a Stackup.

Model.create_sublaminate(*args, **kwargs)

Instantiate a SubLaminate.

Model.create_tube_selection_rule(*args, **kwargs)

Instantiate a Tube Selection Rule.

Model.create_variable_offset_selection_rule(...)

Instantiate a Variable Offset Selection Rule.

Model.create_virtual_geometry(*args, **kwargs)

Instantiate a Virtual Geometry.

Model.delete()

Delete the object.

Model.export_analysis_model(path)

Save the analysis model to a CDB file.

Model.export_materials(path)

Write materials to a XML (MatML) file.

Model.export_shell_composite_definitions(path)

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

Model.from_fe_file(*, path, channel, format)

Load the model from an FE file.

Model.from_file(*, path, channel)

Instantiate a Model from an ACPH5 file.

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

Save ACP Model (.acph5).

Model.update(*[, relations_only])

Update the model.

Attributes

Model.angle_tolerance

Model.average_element_size

Model.boolean_selection_rules

Model.cad_geometries

Model.cutoff_selection_rules

Model.cylindrical_selection_rules

Model.draping_offset_correction

Model.edge_sets

Model.element_sets

Model.elemental_data

Model.fabrics

Model.geometrical_selection_rules

Model.lookup_tables_1d

Model.lookup_tables_3d

Model.materials

Model.mesh

Mesh on which the model is defined.

Model.minimum_analysis_ply_thickness

Model.modeling_groups

Model.name

The name of the object.

Model.nodal_data

Model.oriented_selection_sets

Model.parallel_selection_rules

Model.relative_thickness_tolerance

Model.rosettes

Model.sensors

Model.spherical_selection_rules

Model.stackups

Model.sublaminates

Model.tube_selection_rules

Model.unit_system

Model.use_nodal_thicknesses

Model.variable_offset_selection_rules

Model.virtual_geometries