ImportGeometry#
- class ansys.fluent.core.generated.datamodel_252.meshing.Root.ImportGeometry(service, rules, command, path=None)#
Bases:
PyCommand
Specify the CAD geometry that you want to work with. Choose from either a CAD file or a surface or volume mesh. Choose the appropriate units in which the geometry or mesh was created. Choose any advanced options (such as faceting controls) that you want to take effect upon import. Browse, or specify the file name and location for the CAD geometry that you are going to import. It is recommended to select units so that the minimum size is between approximately 0.1 and 10. More… Parameters ———- FileFormat : str
Indicate whether the imported geometry is a CAD File or a Mesh (either a surface or volume mesh).
- ImportTypestr
When the File Format is set to CAD, use the Import Type field to import a Single File (the default), or Multiple Files. When importing multiple files, the Select File dialog allows you to make multiple selections, as long as the files are in the same directory and are of the same CAD format.
- LengthUnitstr
Select a suitable working unit for the meshing operation, with a min size of the order of 1. The model will be automatically scaled to meters when switching to the solver. It is recommended to select units so that the minimum size is between approximately 0.1 - 10. If the minimum size falls outside of this range, then you should change the units.
- MeshUnitstr
Specify the units in which the surface or volume mesh was created in.
- UseBodyLabelsstr
Specify that you want to use any composite body labels that are defined in your imported CAD geometry by choosing Yes. If the imported CAD file does not contain any body labels, then this will automatically be set to No.
ImportCadPreferences : dict[str, Any] FileName : str
- FileNamesstr
Select multiple CAD files to import into your simulation. When importing multiple files, use the browse button (…) to open the Select File dialog that allows you to make multiple selections, as long as the files are in the same directory and are of the same CAD format. Supported file types are SpaceClaim (.scdoc) and Workbench (.agdb) files and also .pmdb files. Other supported formats include: *.CATpart, *.prt, *.x_t, *.sat, *.step, and *.iges files).
- MeshFileNamestr
Select a CAD file to import into your simulation. Supported file types are SpaceClaim (.scdoc) and Workbench (.agdb) files and also .pmdb files. Other supported formats include: *.CATpart, *.prt, *.x_t, *.sat, *.step, and *.iges files).
NumParts : float AppendMesh : bool Directory : str Pattern : str CadImportOptions : dict[str, Any]
- Returns:
Methods:
Create a command instance.
- __init__(service, rules, command, path=None)#
__init__ method of PyCommand class.
- create_instance()#
Create a command instance.