Mesh#
- class ansys.aedt.core.modules.mesh.Mesh(app)#
Manages AEDT mesh functions for 2D and 3D solvers (HFSS, Maxwell, and Q3D).
- Parameters:
- app
ansys.aedt.core.application.analysis_3d.FieldAnalysis3D
- app
Examples
Basic usage demonstrated with an HFSS design:
>>> from ansys.aedt.core import Hfss >>> hfss = Hfss() >>> cylinder = hfss.modeler.create_cylinder(0, [0, 0, 0], 3, 20, 0) >>> model_resolution = hfss.mesh.assign_model_resolution(cylinder, 1e-4, "ModelRes1")
Methods
Mesh.assign_curvature_extraction(assignment)Assign curvature extraction.
Mesh.assign_curvilinear_elements(assignment)Assign curvilinear elements.
Mesh.assign_cylindrical_gap(entity[, name, ...])Assign a cylindrical gap for a 2D or 3D design to enable a clone mesh and associated band mapping angle.
Mesh.assign_density_control(assignment[, ...])Assign density control.
Mesh.assign_edge_cut(assignment[, ...])Assign an edge cut layer mesh.
Mesh.assign_initial_mesh([method, ...])Assign a surface mesh level to an object.
Assign a surface mesh level to an object.
Mesh.assign_length_mesh(assignment[, ...])Assign a length for the model resolution.
Mesh.assign_model_resolution(assignment[, ...])Assign the model resolution.
Mesh.assign_rotational_layer(assignment[, ...])Assign a rotational layer mesh.
Mesh.assign_skin_depth(assignment[, ...])Assign a skin depth for the mesh refinement.
Mesh.assign_surf_priority_for_tau(assignment)Assign a surface representation priority for the TAU mesh.
Mesh.assign_surface_mesh(assignment, level)Assign a surface mesh level to one or more objects.
Mesh.assign_surface_mesh_manual(assignment)Assign a surface mesh to a list of faces.
Mesh.delete_mesh_operations([mesh_type])Remove mesh operations from a design.
Mesh.generate_mesh(name)Generate the mesh for a design.
Attributes
Return the global mesh object.
Return the available mesh operation names.
Return the available mesh operations.
Aedt Mesh Module.
Shortcut for dir(self).