Mesh#

class ansys.aedt.core.modules.mesh.Mesh(app)#

Manages AEDT mesh functions for 2D and 3D solvers (HFSS, Maxwell, and Q3D).

Parameters:
appansys.aedt.core.application.analysis_3d.FieldAnalysis3D

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.

Mesh.assign_initial_mesh_from_slider([...])

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

Mesh.initial_mesh_settings

Return the global mesh object.

Mesh.meshoperation_names

Return the available mesh operation names.

Mesh.meshoperations

Return the available mesh operations.

Mesh.omeshmodule

Aedt Mesh Module.