PartManagement#

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

Bases: PyCommand

Import a CAD geometry (.fmd or .stl), then determine how you want to create your meshing objects: by Part (simple, a mesh object will be created for each of the CAD part), or by Custom where you customize the import process (for complicated, multiple part assemblies, etc.). For a customized approach, you can pick and choose the portions of the CAD model that you want to add to your simulation, and adjust any meshing-related settings for individual objects, before converting them into meshing objects. You can further simplify your CAD model and combine parts and assemblies into a single object. To capture features more effectively, you can increase or decrease the faceting resolution, thereby controlling the surface mesh granularity and therefore influencing the simulation time. More… Parameters ———- FileLoaded : str FMDFileName : str

Select a CAD file to import into your simulation. Standard Ansys file types, among others, are supported, including .scdoc, .dsco, .agdb, .fmd, .fmdb, .fmd, .pmdb, .tgf, and .msh. To quickly import multiple CAD files, you can use basic wildcard expression patterns such as the * or ? wildcards. More…

AppendFileNamestr

Enable this option and browse/select another CAD file to append to your original geometry. Specify additional CAD files in the Append File field, and use the Append button to load additional CAD files into the tree, after the original CAD objects. To quickly append multiple CAD files, you can use basic wildcard expression patterns such as the * or ? wildcards.

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.

Refaceting : dict[str, Any] IgnoreSolidNames : bool

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] 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]

Returns:
bool

Methods:

create_instance()

Create a command instance.

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

__init__ method of PyCommand class.

create_instance()#

Create a command instance.