PartManagement#

class ansys.fluent.core.generated.datamodel_271.meshing.Root.PartManagement(service, rules, command, path=None)#

Bases: PyCommand

Manages CAD imports and organizes parts.

Parameters:
FileLoadedstr
FMDFileNamestr

The CAD file to import into the simulation, supporting a variety of formats such as .scdoc, .dsco, .agdb, .fmd, .fmdb, .pmdb, .tgf, and .msh. Basic wildcard patterns like * or ? can be used for

AppendFileNamestr

The name of the additional CAD file to append to the existing geometry.

Appendbool

Enable this field and browse and select additional CAD files. Use the Append button to add the additional CAD components to the bottom of the CAD Model tree upon loading.

LengthUnitstr

Select a suitable unit for display in the graphics window.

CreateObjectPerstr

Choose whether to create meshing objects by part, or by selectively customizing the portions of the imported CAD geometry to mesh. If you select by part, then meshing objects are automatically created for you once you import the geometry. Refaceting options are available as well for all meshing objects.

FileLengthUnitstr

Specify the units of length used by this .stl file before loading the CAD file.

FileLengthUnitAppendstr

Enable this field and browse and select additional CAD files. Use the Append button to add the additional CAD components to the bottom of the CAD Model tree upon loading.

Routestr

Provides the recommended route in order to import and load the specified CAD file into this task. The default settings are recommended in most cases. More…

RouteAppendstr

Enable this field and browse and select additional CAD files. Use the Append button to add the additional CAD components to the bottom of the CAD Model tree upon loading.

JtLODstr

Specify the level of detail that you want to include for this .jt file before loading the CAD file.

JtLODAppendstr

Enable this field and browse and select additional CAD files. Use the Append button to add the additional CAD components to the bottom of the CAD Model tree upon loading.

PartPerBodybool

Enable this option to make all bodies available as individual parts in the CAD Model tree once the CAD file is loaded into the task.

PrefixParentNamebool

This applies the name of the component (or assembly) as a prefix to the individual part names when the geometry is loaded into the task.

RemoveEmptyPartsbool

Enabled by default, this option lets you import your CAD geometry while removing any empty components.

FeatureAnglefloat

Specify a rotational angle (in degrees) of transformation.

OneZonePerstr

Specify whether to create your meshing zones based on an object, part, body or face. For instance, choosing the face option would create a separate zone for every topological face.

Refacetingdict[str, Any]

Controls the refaceting options for CAD geometry during loading.

IgnoreSolidNamesbool

Enable this option to import your CAD geometry while ignoring the names assigned to solids. Note that binary STL files contain a single solid and may have an associated solid name, whereas ASCII STL files contain one or more solids and each can have a solid name. This option allows to control whether or not to use the name contained in the STL file for naming mesh objects and components.

IgnoreSolidNamesAppendbool

Enable this field and browse and select additional CAD files. Use the Append button to add the additional CAD components to the bottom of the CAD Model tree upon loading.

Optionsdict[str, Any]

Defines configuration options for managing parts in a meshing process.

EdgeExtractionstr

Choose how edges will be extracted from the CAD geometry. Setting this option to auto will extract edges from the CAD geometry when the number of meshing objects is less than 10,000. If this limit is exceeded, then no edges are extracted. When this option is set to yes, then edges are extracted regardless of the number of meshing objects. No edges are extracted when this option is set to no.

Contextint
ObjectSettingstr
RefacetOptionsdict[str, Any]

Defines options for adjusting the parameters and settings used during the refacetting of mesh parts.

Returns:
bool

Methods:

create_instance()

Create an operation instance.

__init__(service, rules, command, path=None)#

__init__ method of PyCommand class.

create_instance()#

Create an operation instance.