Skip to main content

Mechanical scripting interface

SMARTCrackGrowth

Last update: 14.01.2025

class Ansys.ACT.Automation.Mechanical.SMARTCrackGrowth

Bases: object

Defines a SMARTCrackGrowth.

Overview

Methods

Name Description
Activate Activate the current object.
AddCommandSnippet Creates a new CommandSnippet
AddComment Creates a new child Comment.
AddFigure Creates a new child Figure.
AddImage Creates a new child Image.
CopyTo Copies all visible properties from this object to another.
CreateParameter Creates a new parameter for a Property.
Delete Run the Delete action.
Duplicate Creates a copy of the current DataModelObject.
GetChildren Gets the list of children, filtered by type.
GetParameter Gets the parameter corresponding to the given property.
GroupAllSimilarChildren Run the GroupAllSimilarChildren action.
GroupSimilarObjects Run the GroupSimilarObjects action.
PropertyByAPIName Get a property by its API name.
PropertyByName Get a property by its unique name.
RemoveParameter Removes the parameter from the parameter set corresponding to the given property.

Properties

Name Description
Analysis Gets the Analysis.
AutomaticTimeStepping Gets or sets the AutomaticTimeStepping.
Children Gets the list of children.
Comments Gets the list of associated comments.
CrackGrowthLaw Gets the CrackGrowthLaw.
CrackGrowthMethodology Gets or sets the CrackGrowthMethodology.
CrackGrowthOption Gets or sets the CrackGrowthOption.
CriticalRate Gets or sets the CriticalRate.
DataModelObjectCategory Gets the current DataModelObject’s category.
FailureCriteriaOption Gets or sets the FailureCriteriaOption.
Figures Gets the list of associated figures.
Images Gets the list of associated images.
InitialCrack Gets or sets the InitialCrack.
InitialTimeStep Gets or sets the InitialTimeStep.
InternalObject Gets the internal object. For advanced usage only.
Material Gets or sets the Material.
MaxIncrementOfCrackExtension Gets or sets the MaxIncrementOfCrackExtension.
MaxIncrementValue Gets or sets the MaxIncrementValue.
MaxIncrementValueTreatment Gets or sets the treatment type for the specified value of MaxIncrementValue. Default: Absolute
MaximumTimeStep Gets or sets the MaximumTimeStep.
MeshCoarsening Gets or sets the MeshCoarsening.
Method Gets the Method.
MinIncrementControl Gets or sets the control type for the smaller crack increment values.
MinIncrementOfCrackExtension Gets or sets the MinIncrementOfCrackExtension.
MinIncrementValue Gets or sets the MinIncrementValue.
MinIncrementValueTreatment Gets or sets the treatment type for the specified value of MinIncrementValue. Default: Absolute
MinimumTimeStep Gets or sets the MinimumTimeStep.
NumberOfCycles Gets or sets the NumberOfCycles.
Properties Gets the list of properties for this object.
ReadOnly Gets or sets the ReadOnly.
StopCriterion Gets or sets the StopCriterion.
StopValue Gets or sets the StopValue.
StressRatio Gets or sets the StressRatio.
Suppressed Gets or sets the Suppressed.
VisibleProperties Gets the list of properties that are visible for this object.

Property detail

property SMARTCrackGrowth.Analysis : Ansys.Mechanical.DataModel.Enums.DelaminationType | None

Gets the Analysis.

property SMARTCrackGrowth.AutomaticTimeStepping : Ansys.Mechanical.DataModel.Enums.AutomaticOrManual | None

Gets or sets the AutomaticTimeStepping.

property SMARTCrackGrowth.Children : List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None

Gets the list of children.

property SMARTCrackGrowth.Comments : Iterable[Ansys.ACT.Automation.Mechanical.Comment] | None

Gets the list of associated comments.

property SMARTCrackGrowth.CrackGrowthLaw : str | None

Gets the CrackGrowthLaw.

property SMARTCrackGrowth.CrackGrowthMethodology : Ansys.Mechanical.DataModel.Enums.CrackGrowthMethodology | None

Gets or sets the CrackGrowthMethodology.

property SMARTCrackGrowth.CrackGrowthOption : Ansys.Mechanical.DataModel.Enums.CrackGrowthOption | None

Gets or sets the CrackGrowthOption.

property SMARTCrackGrowth.CriticalRate : Ansys.Core.Units.Quantity | None

Gets or sets the CriticalRate.

property SMARTCrackGrowth.DataModelObjectCategory : Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None

Gets the current DataModelObject’s category.

property SMARTCrackGrowth.FailureCriteriaOption : Ansys.Mechanical.DataModel.Enums.DelaminationFailureCriteriaOption | None

Gets or sets the FailureCriteriaOption.

property SMARTCrackGrowth.Figures : Iterable[Ansys.ACT.Automation.Mechanical.Figure] | None

Gets the list of associated figures.

property SMARTCrackGrowth.Images : Iterable[Ansys.ACT.Automation.Mechanical.Image] | None

Gets the list of associated images.

property SMARTCrackGrowth.InitialCrack : Ansys.ACT.Automation.Mechanical.GenericCrack | None

Gets or sets the InitialCrack.

property SMARTCrackGrowth.InitialTimeStep : Ansys.Core.Units.Quantity | None

Gets or sets the InitialTimeStep.

property SMARTCrackGrowth.InternalObject : Ansys.Common.Interop.DSObjectsAuto.IDSDelaminationAuto | None

Gets the internal object. For advanced usage only.

property SMARTCrackGrowth.Material : str | None

Gets or sets the Material.

property SMARTCrackGrowth.MaxIncrementOfCrackExtension : Ansys.Mechanical.DataModel.Enums.CrackGrowthIncrementType | None

Gets or sets the MaxIncrementOfCrackExtension.

property SMARTCrackGrowth.MaxIncrementValue : Ansys.Core.Units.Quantity | None

Gets or sets the MaxIncrementValue.

property SMARTCrackGrowth.MaxIncrementValueTreatment : Ansys.Mechanical.DataModel.Enums.IncrementTreatment | None

Gets or sets the treatment type for the specified value of MaxIncrementValue. Default: Absolute

property SMARTCrackGrowth.MaximumTimeStep : Ansys.Core.Units.Quantity | None

Gets or sets the MaximumTimeStep.

property SMARTCrackGrowth.MeshCoarsening : Ansys.Mechanical.DataModel.Enums.CrackGrowthMeshCoarsening | None

Gets or sets the MeshCoarsening.

property SMARTCrackGrowth.Method : Ansys.Mechanical.DataModel.Enums.DelaminationMethod | None

Gets the Method.

property SMARTCrackGrowth.MinIncrementControl : Ansys.Mechanical.DataModel.Enums.IncrementControl | None

Gets or sets the control type for the smaller crack increment values.

property SMARTCrackGrowth.MinIncrementOfCrackExtension : Ansys.Mechanical.DataModel.Enums.CrackGrowthIncrementType | None

Gets or sets the MinIncrementOfCrackExtension.

property SMARTCrackGrowth.MinIncrementValue : Ansys.Core.Units.Quantity | None

Gets or sets the MinIncrementValue.

property SMARTCrackGrowth.MinIncrementValueTreatment : Ansys.Mechanical.DataModel.Enums.IncrementTreatment | None

Gets or sets the treatment type for the specified value of MinIncrementValue. Default: Absolute

property SMARTCrackGrowth.MinimumTimeStep : Ansys.Core.Units.Quantity | None

Gets or sets the MinimumTimeStep.

property SMARTCrackGrowth.NumberOfCycles : int | None

Gets or sets the NumberOfCycles.

property SMARTCrackGrowth.Properties : tuple[Ansys.ACT.Automation.Mechanical.Property] | None

Gets the list of properties for this object.

property SMARTCrackGrowth.ReadOnly : bool | None

Gets or sets the ReadOnly.

property SMARTCrackGrowth.StopCriterion : Ansys.Mechanical.DataModel.Enums.StopCriterion | None

Gets or sets the StopCriterion.

property SMARTCrackGrowth.StopValue : Ansys.Core.Units.Quantity | None

Gets or sets the StopValue.

property SMARTCrackGrowth.StressRatio : float | None

Gets or sets the StressRatio.

property SMARTCrackGrowth.Suppressed : bool | None

Gets or sets the Suppressed.

property SMARTCrackGrowth.VisibleProperties : tuple[Ansys.ACT.Automation.Mechanical.Property] | None

Gets the list of properties that are visible for this object.

Method detail

SMARTCrackGrowth.Activate()

Activate the current object.

SMARTCrackGrowth.AddCommandSnippet()

Creates a new CommandSnippet

SMARTCrackGrowth.AddComment()

Creates a new child Comment.

SMARTCrackGrowth.AddFigure()

Creates a new child Figure.

SMARTCrackGrowth.AddImage(filePath: str)

Creates a new child Image.
If a filePath is provided, the image will be loaded from that file,
if not, the image will be a screen capture of the Geometry window.

SMARTCrackGrowth.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject)

Copies all visible properties from this object to another.

SMARTCrackGrowth.CreateParameter(propName: str)

Creates a new parameter for a Property.

SMARTCrackGrowth.Delete()

Run the Delete action.

SMARTCrackGrowth.Duplicate()

Creates a copy of the current DataModelObject.

SMARTCrackGrowth.GetChildren(recurses: bool, children: List[ChildrenType])

Gets the list of children, filtered by type.

SMARTCrackGrowth.GetParameter(propName: str)

Gets the parameter corresponding to the given property.

SMARTCrackGrowth.GroupAllSimilarChildren()

Run the GroupAllSimilarChildren action.

SMARTCrackGrowth.GroupSimilarObjects()

Run the GroupSimilarObjects action.

SMARTCrackGrowth.PropertyByAPIName(name: str)

Get a property by its API name.
If multiple properties have the same API Name, only the first property with that name will be returned.

SMARTCrackGrowth.PropertyByName(name: str)

Get a property by its unique name.

SMARTCrackGrowth.RemoveParameter(propName: str)

Removes the parameter from the parameter set corresponding to the given property.