ErrorCode#

class ansys.meshing.prime.ErrorCode(value)#

Error codes associated with the failure of PyPrimeMesh operation.

Attributes

ErrorCode.NOERROR

No error.

ErrorCode.UNKNOWN

Unknown error.

ErrorCode.SIGSEGV

Segmentation violation.

ErrorCode.SURFERFAILED

Surface meshing failed.

ErrorCode.TOPOFACESREMESHFAILED

Failed to remesh topofaces.

ErrorCode.TOPOEDGESREMESHFAILED

Failed to remesh topoedges.

ErrorCode.SURFERLAYEREDQUADFAILED

Failed to layer quad meshing.

ErrorCode.SURFERINVALIDINPUT

Invalid input for surface meshing.

ErrorCode.SURFERQUADFAILED

Quad surface meshing failed.

ErrorCode.FACEZONELETSFEATURESNOTUPTODATE

Face zonelets features are not up to date.

ErrorCode.SURFERAUTOSIZEQUADUNSUPPORTED

Auto sizing for quad meshing is not supported.

ErrorCode.SURFERAUTOSIZEMUSTBEVOLUMETRIC

Auto sizing must be of volumetric type.

ErrorCode.SURFERNONMANIFOLDEDGE

Non manifold edge for meshing.

ErrorCode.SURFERINVALIDCONSTANTSIZE

Invalid size for constant size surface meshing.

ErrorCode.SURFERINVALIDMINORMAXSIZES

Invalid min or max size for surface meshing.

ErrorCode.SURFERINVALIDANGLES

Invalid Corner angle or min angle more than max angle specified for surface meshing.

ErrorCode.SMOOTHSIZETRANSITIONNOTSUPPORTEDFORTOPO

Smooth size transition option is not supported for topology surface meshing yet.

ErrorCode.LOCALSURFERINVALIDNUMRINGS

Invalid number of rings input for the local surface mesh operation.

ErrorCode.SURFERCANNOTREMESHPERIODICZONELETS

Cannot remesh periodic face zonelets.

ErrorCode.SUBTRACTVOLUMEFAILED

Failed to subtract volumes.

ErrorCode.INTERSECTIONINTARGETVOLUMES

Found overlapping or intersecting target volumes.

ErrorCode.INTERSECTIONINCUTTERVOLUMES

Found overlapping or intersecting cutter volumes.

ErrorCode.SCAFFOLDERBADINPUTEMPTYTOPO

Incorrect input.

ErrorCode.SCAFFOLDERBADINPUTNOFREEFACES

Incorrect input.

ErrorCode.SCAFFOLDERBADINPUTPARAMS

Incorrect input parameters.

ErrorCode.SCAFFOLDERINVALIDABSOLUTEDISTOL

Invalid absolute distance tolerance for scaffold operation.

ErrorCode.SCAFFOLDERINVALIDCONSTANTMESHSIZE

Invalid constant mesh size input for scaffold operation.

ErrorCode.AUTOMESHFAILED

Auto mesh failed.

ErrorCode.AITOVERLAPALONGMULTIFOUND

Topology identification failed because of overlapping faces.

ErrorCode.TRIANGULATIONFAILED

Triangulation failed.

ErrorCode.DUPLICATENODESFOUND

Duplicate nodes found.

ErrorCode.EDGEINTERSECTINGFACEFOUND

Edge intersecting face found.

ErrorCode.DUPLICATEFACESFOUND

Duplicate faces found.

ErrorCode.TETIMPROVEFAILED

Tet improve failed.

ErrorCode.AUTONODEMOVEFAILED

Auto node move failed.

ErrorCode.ALREADYVOLUMEMESHED

Volume is already meshed.

ErrorCode.INVALIDPRISMCONTROLS

Invalid prism controls.

ErrorCode.VOLUMESNOTUPTODATE

Volumes are not updated.

ErrorCode.QUADRATICMESHSUPPORTEDONLYFORTETS

Quadratic elements can only be generated for tetrahedral elements.

ErrorCode.NOACTIVESFFOUND

No active size fields found.

ErrorCode.AUTOMESHINVALIDMAXSIZE

Invalid max size for auto volume meshing.

ErrorCode.AUTOMESHHEXCOREFAILED

Hex generation part of volume meshing failed.

ErrorCode.INVALIDVOLUMECONTROLS

Invalid volume controls specified for volume meshing.

ErrorCode.INVALIDPRISMCONTROLS_INCORRECTSCOPEENTITY

Invalid scope entity.

ErrorCode.INVALIDFIRSTASPECTRATIO

Invalid first aspect ratio.

ErrorCode.INVALIDLASTASPECTRATIO

Invalid last aspect ratio.

ErrorCode.INVALIDFIRSTHEIGHT

Invalid first height.

ErrorCode.INVALIDLAYERS

Invalid number of layers.

ErrorCode.INVALIDGROWTHRATE

Invalid growth rate.

ErrorCode.COMPUTEVOLUMESFAILED

Compute volumes failed.

ErrorCode.QUADRATICTETNOTSUPPORTEDINPARALLEL

Quadratic tetrahedal meshing is not supported in parallel mode.

ErrorCode.QUADRATICTETNOTSUPPORTEDWITHPRISMS

Quadratic tetrahedral meshing is not supported with prism.

ErrorCode.EXTRACTVOLUMESFAILED

Extract volumes failed.

ErrorCode.PERIODICSURFACESNOTSUPPORTEDFORPRISMS

Periodic surfaces selected for prism generation are not supported.

ErrorCode.OUTOFMEMORY

Out of memory.

ErrorCode.INTERRUPTED

Method call interrupted.

ErrorCode.GETSTATISTICSFAILED

Failed to get mesh statistics.

ErrorCode.GETELEMENTCOUNTFAILED

Failed to get element count.

ErrorCode.PARTNOTFOUND

Given part not found.

ErrorCode.TOPODATANOTFOUND

TopoData not found.

ErrorCode.SIZEFIELDNOTFOUND

Size field not found.

ErrorCode.ZONESARENOTOFSAMETYPE

Zones are not of same type.

ErrorCode.PARTNOTMESHED

Part is not meshed.

ErrorCode.INVALIDINPUTPART

Invalid input part.

ErrorCode.CADGEOMETRYNOTFOUND

No CAD Geometry found for projections.

ErrorCode.VOLUMENOTFOUND

Volumes not found.

ErrorCode.ZONENOTFOUND

Given zone not found.

ErrorCode.ENTITIESSHOULDBEADDEDTOZONEUSINGPARTITBELONGS

Entities should be added to zone using part it belongs.

ErrorCode.PARTDOESNOTHAVETOPOLOGY

Part does not have topology.

ErrorCode.ZONESARENOTSUPPORTEDFORCELLZONELETS

Zones are not supported for cell zonelets.

ErrorCode.SPHEREATINVALIDNORMALNODESFAILED

Sphere creation at invalid normals failed.

ErrorCode.PROJECTONCADGEOMETRYFAILED

Projection on CAD Geometry failed.

ErrorCode.SEPARATIONRESULTSFAILED

Separation failed.

ErrorCode.ZONELETSARENOTOFSAMEDIMENSION

Zonelets are not of same dimension.

ErrorCode.SIZEFIELDCOMPUTATIONFAILED

Size field computation failed.

ErrorCode.INVALIDSIZECONTROLS

Invalid size controls.

ErrorCode.REFRESHSIZEFIELDSFAILED

Refreshing size field failed.

ErrorCode.READMESHFAILED

Reading mesh file failed.

ErrorCode.WRITEMESHFAILED

Writing mesh file failed.

ErrorCode.CADIMPORTFAILED

CAD import failed.

ErrorCode.READSIZEFIELDFAILED

Reading size field file failed.

ErrorCode.READCDBFAILED

Reading CDB file failed.

ErrorCode.WRITECDBFAILED

Writing CDB file failed.

ErrorCode.PATHNOTFOUND

Invalid path.

ErrorCode.READKEYWORDFILEFAILED

Reading LS-Dyna Keyword file failed.

ErrorCode.WRITEKEYWORDFILEFAILED

Writing LS-Dyna Keyword file failed.

ErrorCode.QUADRATICMESH_WRITEMESHFAILED

Writing failed with quadratic mesh.

ErrorCode.INCLUDEKFILENOTFOUND

Include keyword file not found.

ErrorCode.READSIZECONTROLFAILED

Reading size control file failed.

ErrorCode.WRITESIZECONTROLFAILED

Writing size control file failed.

ErrorCode.FILENOTFOUND

File path or name not found.

ErrorCode.READPMDATFAILED

PMDAT file read failed.

ErrorCode.EXPORTFLUENTCASEFAILED

Export fluent case failed.

ErrorCode.VOLUMEZONESNOTFOUNDTOEXPORTFLUENTCASE

Volume zones are not found to export fluent case.

ErrorCode.IMPORTFLUENTMESHINGMSHFAILED

Failed to import fluent meshing mesh file.

ErrorCode.IMPORTFLUENTCASEFAILED

Failed to import fluent case file.

ErrorCode.WRITEPMDATFAILED

Failed to write PMDAT file.

ErrorCode.EXPORTFLUENTMESHINGMSHFAILED

Export fluent meshing mesh failed.

ErrorCode.WRITESIZEFIELDFAILED

Writing size field failed.

ErrorCode.MESHNOTFOUNDTOEXPORTFLUENTMESHINGMESH

Mesh not found to export fluent meshing mesh.

ErrorCode.MATCHEDMESHOPTIONINVALID

Invalid option chosen to connect two different parts.

ErrorCode.COLOCATEMATCHEDNODESFAILED

Colocation of matched nodes failed.

ErrorCode.IMPRINTBOUNDARYNODESFAILED

Imprint of boundary nodes failed.

ErrorCode.IMPRINTBOUNDARYEDGESFAILED

Imprint of boundary edges failed.

ErrorCode.SPLITINTERSECTINGBOUNDARYEDGESFAILED

Splitting of intersecting boundary edges failed.

ErrorCode.MATCHINTERIORFAILED

Matching of interior region of overlap failed.

ErrorCode.TOLERANCEVALUEINVALID

Invalid tolerance value specified.

ErrorCode.SOURCEORTARGETNOTSPECIFIED

No target or source faces specified.

ErrorCode.NOTSUPPORTEDFORTOPOLOGYPART

Not supported for part with topology data.

ErrorCode.NOTSUPPORTEDFORHIGHERORDERMESHPART

Operation does not support higher order elements.

ErrorCode.NOTSUPPORTEDFORNONTRIFACEZONE

Only triangular face zone is supported.

ErrorCode.NOTSUPPORTEDFORNONQUADFACEZONE

Operation supports only quads.

ErrorCode.MERGEPARTSFAILED

Merge parts failed.

ErrorCode.MERGEPARTSWANDWOTOPO

Merge parts with topology and parts without topology are not supported.

ErrorCode.SETNAMEFAILED

Set name failed.

ErrorCode.CONTROLNOTFOUND

Control not found.

ErrorCode.NOINPUT

No input provided.

ErrorCode.DELETEPARTSFAILED

Delete parts failed.

ErrorCode.DELETECONTROLSFAILED

Delete controls failed.

ErrorCode.INPUTNOTCOMPLETE

Input provided is incomplete.

ErrorCode.INVALIDINPUTZONELETS

Invalid input zonelets.

ErrorCode.MERGEZONELETSFAILED

Merge zonelets failed.

ErrorCode.MERGESMALLZONELETSSUPPORTEDFORFACEZONELETS

Merge small zonelets option is supported for only face zonelets.

ErrorCode.INVALIDINPUTVOLUMES

Invalid input volumes.

ErrorCode.INVALIDGLOBALMINMAX

Invalid global min and max value.

ErrorCode.INVALIDSIZECONTROLINPUTS

Invalid size control input.

ErrorCode.INVALIDSIZECONTROLSCOPE

Invalid size control scope.

ErrorCode.INVALIDCURVATURESIZINGINPUT

Invalid curvature sizing input.

ErrorCode.INVALIDPROXIMITYSIZINGINPUT

Invalid proximity sizing input.

ErrorCode.INVALIDSCOPEENTITYTYPEINPUT

Invalid input scope entity type.

ErrorCode.EXTRACTFEATURESBYANGLEFAILED

Feature extraction by angle failed.

ErrorCode.EXTRACTFEATURESBYEDGESFAILED

Extracting features by angle failed.

ErrorCode.CREATEEDGEZONELETFAILED

Creating edge zonelet failed.

ErrorCode.EXTRACTFEATURESBYINTERSECTIONFAILED

Feature extraction by intersection failed.

ErrorCode.VOLUMEMESH_MIDNODESNOTSUPPORTED

Mid side nodes are not supported.

ErrorCode.VOLUMEMESHNOTFOUND

Volume mesh not found.

ErrorCode.SPLITANDCOLLAPSEFACEELEMENTSFAILED

Faield to split and collapse face element(s).

ErrorCode.IGA_NURBSOPFAILED

Spline operation failed.

ErrorCode.IGA_INCORRECTCONTROLPOINTSIZEWRTDEGREE

Incorrect control point size with respect to degree.

ErrorCode.IGA_INCORRECTCONTROLPOINTSIZEWRTINPUT

Incorrect control point size with respect to mesh size.

ErrorCode.IGA_NURBSFITTINGFAILED

Spline fitting failed.

ErrorCode.IGA_NEGATIVEJACOBIAN

Spline has negative jacobian.

ErrorCode.IGA_PERIODICKNOTVECTORCONVERSIONFAILED

Periodic knot conversion of spline failed.

ErrorCode.IGA_HREFINEMENTFAILED

H-refinement of spline failed.

ErrorCode.IGA_PREFINEMENTFAILED

P-refinement of spline failed.

ErrorCode.IGA_NURBSSMOOTHFAILED

Smoothing of spline failed.

ErrorCode.IGA_NODEINDEXINGFAILED

Hex mesh is unstructured.

ErrorCode.IGA_NOCELLZONELETS

No cell zonelets found.

ErrorCode.IGA_INVALIDINPUTFILEFORSTRUCTUREDHEXMESHFITTING

Invalid model for structured hex-mesh spline fitting.

ErrorCode.IGA_INVALIDINPUTFILEFORGENUSZEROFITTING

Invalid model for genus-zero spline fitting.

ErrorCode.IGA_NOFACEZONELETS

No face zonelets found.

ErrorCode.IGA_EDGEPATHCOMPUTATIONFAILED

Edge path computation failed.

ErrorCode.IGA_INCORRECTDEGREE

Incorrect degree.

ErrorCode.IGA_QUADRATICMESHINPUT

Quadratic mesh is not supported for solid spline creation.

ErrorCode.IGA_UNIFORMTRIMMEDNURBSFAILED

Uniform trimmed spline creation failed.

ErrorCode.PARTHASTOPOLOGY

Part has a topology.

ErrorCode.SURFACESEARCHFAILED

Surface search failed.

ErrorCode.SURFACESEARCHPARTWITHMESHNOTFOUND

Part with mesh not found for surface quality check.

ErrorCode.INVALIDPLANEPOINTS

Invalid plane points, cannot define a plane.

ErrorCode.PLANECOLLINEARPOINTS

Collinear or duplicate points given to define plane.

ErrorCode.INVALIDREGISTERID

Invalid register id provided.

ErrorCode.SURFACEFEATURETYPENOTSUPPORTED

Surface search for provided feature type is not supported.

ErrorCode.VOLUMESEARCHPARTWITHMESHNOTFOUND

Part with mesh not found for volume quality check.

ErrorCode.VOLUMESEARCHFAILED

Volume search failed.

ErrorCode.INVALIDCELLQUALITYLIMIT

Invalid cell quality limit.

ErrorCode.FILLHOLEFAILED

Unable to create capping surface.

ErrorCode.SUBTRACTZONELETSFAILED

Unable to subtract cutters from input zonelets.

ErrorCode.CREATECAPONFACEZONELETSFAILED

Failed to create cap on face zonelets.

ErrorCode.UNITEZONELETSFAILED

Failed to union input zonelets.

ErrorCode.REFINEATCONTACTSFAILED

Failed to refine at contacts.

ErrorCode.RECOVERPERIODICSURFACESFAILED

Unable to recover periodic surfaces.

ErrorCode.RECOVERPERIODICSURFACESINVALIDSCOPE

Invalid scope input for periodic surface recovery.

ErrorCode.CHECKPERIODICPAIRSFAILED

Could not find a matching periodic face pair.

ErrorCode.PERIODICSURFACESEDGESMISMATCH

Edge entities do not match on periodic source and target surfaces.

ErrorCode.TRANSFORMATIONFAILED

Transformation failed.

ErrorCode.SCALINGFAILED

Scaling failed.

ErrorCode.ALIGNMENTFAILED

Alignment failed.

ErrorCode.INVALIDTRANSFORMATIONMATRIX

Invalid transformation matrix.

ErrorCode.DELETEMESHFACESFAILED

Delete Mesh faces failed

ErrorCode.DELETEMESHFACES_TOPOLOGYNOTSUPPORTED

Topoentities do not support deleting faces.

ErrorCode.DELETEMESHFACES_CELLFOUND

Deleting faces failed as they have cell neighbors.

ErrorCode.DELETEFRINGESANDOVERLAPSFAILED

Deleting fringes and overlaps failed.

ErrorCode.DELETEZONELETSCONNECTEDTOCELLS

Cannot delete zonelets connected to volume mesh.

ErrorCode.DELETEZONELETSFAILED

Delete zonelets failed.

ErrorCode.MATERIALPOINTWITHSAMENAMEEXISTS

Material point with the same name already exists.

ErrorCode.MATERIALPOINTWITHGIVENNAMEDOESNTEXIST

Material point with the given name does not exist.

ErrorCode.MATERIALPOINTWITHGIVENIDDOESNTEXIST

Material point with the given ID already exists.

ErrorCode.WRAPPERGLOBALSETTINGSNOTSET

Global settings for wrapper not set.

ErrorCode.WRAPPERRESOLVEINTERSECTIONFAILED

Resolving intersections failed for wrapper.

ErrorCode.WRAPPERCONNECTFAILED

Wrapper connect failed.

ErrorCode.WRAPPERCOULDNOTEXTRACTINTERFACE

Failed to extract wrapper interface.

ErrorCode.WRAPPERLEAKPREVENTIONFAILED

Wrapper leak prevention failed.

ErrorCode.WRAPPERUNSUPPORTEDWRAPREGION

Wrap region option provided does not support wrap operation.

ErrorCode.WRAPPERCONTROL_NOLIVEMATERIALPOINTSPROVIDED

Live material points list provided for wrapper control is empty.

ErrorCode.WRAPPERSURFACEHASHOLES

Wrapper surface has holes.

ErrorCode.WRAPPEROCTREEREGIONINGFAILED

Octree regioning failed.

ErrorCode.WRAPPERPROJECTIONFAILED

Projection failed for wrapper.

ErrorCode.WRAPPERCONTROL_MATERIALPOINTWITHGIVENNAMEDOESNTEXIST

Live material point added to wrapper control doesn't exist.

ErrorCode.WRAPPERCONTROL_LIVEMATERIALPOINTDOESNTEXIST

Live material point does not exist for wrapper.

ErrorCode.WRAPPERSIZINGMETHODNOTSUPPORTED

Sizing method is not supported for wrapper.

ErrorCode.WRAPPERIMPROVEFAILED

Wrapper improve quality failed.

ErrorCode.WRAPPERSIZEFIELDSNOTDEFINED

No size field ids provided for wrapping.

ErrorCode.WRAPPERCONTROL_INVALIDGEOMETRYSCOPE

Geometry scope specified under wrapper control is invalid.

ErrorCode.WRAPPERCONTROL_INVALIDCONTACTPREVENTIONCONTROLID

Contact prevention specified under wrapper control doesn't exist.

ErrorCode.WRAPPERCONTROL_INVALIDCONTACTPREVENTIONCONTROLINPUTS

Contact prevention control specified under wrapper is invalid.

ErrorCode.WRAPPERCONTROL_INVALIDLEAKPREVENTIONID

Leak prevention specified under wrapper control doesn't exist.

ErrorCode.WRAPPERCONTROL_INVALIDLEAKPREVENTIONCONTROLINPUTS

Leak prevention control specified under wrapper is invalid.

ErrorCode.WRAPPERCONTROL_INVALIDFEATURERECOVERYCONTROLID

Feature recovery control specified under wrapper control doesn't exist.

ErrorCode.WRAPPERCONTROL_LEAKPREVENTIONMPTCANNOTBELIVE

Dead material point cannot be same as live.

ErrorCode.INVALIDWRAPPERCONTROL

Invalid wrapper control.

ErrorCode.WRAPPERCLOSEGAPS_INVALIDGAPSIZE

Gap size specified for patching should be positive double.

ErrorCode.WRAPPERCLOSEGAPS_INVALIDSCOPE

Scope specified for close gaps is invalid.

ErrorCode.WRAPPERCLOSEGAPSFAILED

Wrapper gap closing failed.

ErrorCode.CELLSEPARATIONFAILED

Cell separation failed.

ErrorCode.NOCELLSSEPARATED

No cells separated based on given input.

ErrorCode.SIZEFIELDTYPENOTSUPPORTED

Provided Size Field Type is not supported by this operation.

ErrorCode.UNSUPPORTEDFILEEXTENSIONFORPMDAT

Provided file extension is not supported.

ErrorCode.UNSUPPORTEDFILEEXTENSIONFORFLUENTMESHINGMESH

Provided file extension is not supported.

ErrorCode.UNSUPPORTEDFILEEXTENSIONFORFLUENTCASE

Provided file extension is not supported.

ErrorCode.UNSUPPORTEDFILEEXTENSIONFORKEYWORDFILE

Provided file extension is not supported.

ErrorCode.UNSUPPORTEDFILEEXTENSIONFORFLUENTSIZEFIELD

Provided file extension is not supported.

ErrorCode.UNSUPPORTEDFILEEXTENSIONFORSIZEFIELD

Provided file extension is not supported.

ErrorCode.UNSUPPORTEDFILEEXTENSIONFORMAPDLCDB

Provided file extension is not supported.

ErrorCode.PLUGINLOADFAILURE

Failed to load Surface Editor plugin.

ErrorCode.TARGETZONELETS_SELFINTERSECTING

Target zonelets form a self intersecting volume.

ErrorCode.TARGETZONELETS_NOTWATERTIGHT

Target zonelets do not form a watertight volume.

ErrorCode.TOOLZONELETS_SELFINTERSECTING

Tool zonelets form a self intersecting volume.

ErrorCode.TOOLZONELETS_NOTWATERTIGHT

Tool zonelets do not form a watertight volume.