PartManagement#
- class ansys.fluent.core.generated.datamodel_271.meshing.Root.PartManagement(service, rules, command, path=None)#
Bases:
PyCommandManages CAD imports and organizes parts.
- Parameters:
- FileLoaded
str - FMDFileName
str 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
- AppendFileName
str 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.
- LengthUnit
str Select a suitable unit for display in the graphics window.
- CreateObjectPer
str 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.
- FileLengthUnit
str Specify the units of length used by this .stl file before loading the CAD file.
- FileLengthUnitAppend
str 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.
- Route
str 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…
- RouteAppend
str 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.
- JtLOD
str Specify the level of detail that you want to include for this .jt file before loading the CAD file.
- JtLODAppend
str 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.
- FeatureAngle
float Specify a rotational angle (in degrees) of transformation.
- OneZonePer
str 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.
- Refaceting
dict[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.
- Options
dict[str,Any] Defines configuration options for managing parts in a meshing process.
- EdgeExtraction
str 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.
- Context
int - ObjectSetting
str - RefacetOptions
dict[str,Any] Defines options for adjusting the parameters and settings used during the refacetting of mesh parts.
- FileLoaded
- Returns:
Methods:
Create an operation instance.
- __init__(service, rules, command, path=None)#
__init__ method of PyCommand class.
- create_instance()#
Create an operation instance.